summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-05-09 00:26:43 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-05-09 00:26:43 +0000
commitd2f2d3b5c845807249680c275031f94047f9e762 (patch)
tree1237bb3dc8d677e2e405d11f905e143714638be8 /extra
parent886d3d0994eb8e9f3e797155619619e0ef1353f8 (diff)
Mon May 9 00:26:43 UTC 2011
Diffstat (limited to 'extra')
-rw-r--r--extra/dconf/load-enum.patch22
-rw-r--r--extra/fyre/ChangeLog7
-rw-r--r--extra/glsof/ChangeLog6
-rw-r--r--extra/glsof/glsof.desktop12
-rw-r--r--extra/gnet/ChangeLog5
-rw-r--r--extra/kdebase-workspace/sensors-fix.patch22
-rw-r--r--extra/kdebase-workspace/shutdown-fix.patch11
-rw-r--r--extra/kdemultimedia/kmix-locale-pulseaudio.patch1117
-rw-r--r--extra/keytouch-editor/ChangeLog8
-rw-r--r--extra/kobodeluxe/ChangeLog8
-rw-r--r--extra/orca/PKGBUILD27
-rw-r--r--extra/orca/orca.install11
-rw-r--r--extra/python-qt/PKGBUILD41
-rw-r--r--extra/python-sip/PKGBUILD30
-rw-r--r--extra/python2-qt/PKGBUILD41
-rw-r--r--extra/python2-sip/PKGBUILD30
-rw-r--r--extra/quota-tools/ChangeLog9
-rw-r--r--extra/rxvt-unicode/rxvt-unicode.pngbin1513 -> 0 bytes
-rw-r--r--extra/squid/fix-for-new-cap-headers.patch14
-rw-r--r--extra/squid/squid-makefiles.patch53
-rw-r--r--extra/swfdec-mozilla/PKGBUILD21
-rw-r--r--extra/swfdec/PKGBUILD25
-rw-r--r--extra/xfce4-xfapplet-plugin/PKGBUILD32
23 files changed, 0 insertions, 1552 deletions
diff --git a/extra/dconf/load-enum.patch b/extra/dconf/load-enum.patch
deleted file mode 100644
index 949de1e00..000000000
--- a/extra/dconf/load-enum.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 0d00a6ad3385e08eff0c50efe970af8d5d63c536 Mon Sep 17 00:00:00 2001
-From: Robert Ancell <robert.ancell@canonical.com>
-Date: Tue, 29 Mar 2011 05:50:12 +0000
-Subject: editor: Load *.enums.xml as well as *.gschema.xml. This was stopping some enums from being loaded.
-
-Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636880
----
-diff --git a/editor/dconf-schema.vala b/editor/dconf-schema.vala
-index 2b34e28..c2654b5 100644
---- a/editor/dconf-schema.vala
-+++ b/editor/dconf-schema.vala
-@@ -371,7 +371,7 @@ public class SchemaList
- while ((info = i.next_file (null)) != null) {
- string name = info.get_name();
-
-- if (!name.has_suffix(".gschema.xml"))
-+ if (!name.has_suffix(".gschema.xml") && !name.has_suffix(".enums.xml"))
- continue;
-
- string path = Path.build_filename(dir, name, null);
---
-cgit v0.9
diff --git a/extra/fyre/ChangeLog b/extra/fyre/ChangeLog
deleted file mode 100644
index edb09672c..000000000
--- a/extra/fyre/ChangeLog
+++ /dev/null
@@ -1,7 +0,0 @@
-2008-11-03 Eric Belanger <eric@archlinux.org>
-
- * fyre 1.0.1-3
- * Fixed mime file conflict
- * Fixed install scriptlet
- * Added shared-mime-info depends
- * Added ChangeLog
diff --git a/extra/glsof/ChangeLog b/extra/glsof/ChangeLog
deleted file mode 100644
index e941c8b45..000000000
--- a/extra/glsof/ChangeLog
+++ /dev/null
@@ -1,6 +0,0 @@
-2009-03-14 Eric Belanger <eric@archlinux.org>
-
- * glsof 0.9.16-5
- * Added license
- * Added .desktop file
- * Added ChangeLog
diff --git a/extra/glsof/glsof.desktop b/extra/glsof/glsof.desktop
deleted file mode 100644
index fb13ffd6d..000000000
--- a/extra/glsof/glsof.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Name=glsof
-Comment=A GUI for lsof
-Comment[pl]=GUI do lsof
-Exec=glsof
-Icon=glsof.png
-StartupNotify=false
-Terminal=false
-Type=Application
-Categories=GTK;System;Monitor;
-Encoding=UTF-8
-# vi: encoding=utf-8
diff --git a/extra/gnet/ChangeLog b/extra/gnet/ChangeLog
deleted file mode 100644
index b8975af31..000000000
--- a/extra/gnet/ChangeLog
+++ /dev/null
@@ -1,5 +0,0 @@
-2008-05-04 Eric Belanger <eric@archlinux.org>
-
- * gnet 2.0.8-1
- * Upstream update
- * Added ChangeLog
diff --git a/extra/kdebase-workspace/sensors-fix.patch b/extra/kdebase-workspace/sensors-fix.patch
deleted file mode 100644
index 2d9b70c52..000000000
--- a/extra/kdebase-workspace/sensors-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-commit 23863a99399cbb274f6756146b3c08de2efa0c7f
-Author: John Tapsell <johnflux@gmail.com>
-Date: Thu Apr 7 10:59:20 2011 +0100
-
- Fix accidental removal of a #include, when adding freebsd support. This broke the lmsensors at minimum
-
- BUG: 270246
- BUG: 270246
- CCMAIL: naylor.b.david@gmail.com
-
-diff --git a/ksysguard/ksysguardd/modules.h b/ksysguard/ksysguardd/modules.h
-index e780be6..9aae890 100644
---- a/ksysguard/ksysguardd/modules.h
-+++ b/ksysguard/ksysguardd/modules.h
-@@ -23,6 +23,7 @@
- #ifndef KSG_MODULES_H
- #define KSG_MODULES_H
-
-+#include "config-ksysguardd.h"
- #include "Command.h"
- #include "conf.h"
- #include "ksysguardd.h"
diff --git a/extra/kdebase-workspace/shutdown-fix.patch b/extra/kdebase-workspace/shutdown-fix.patch
deleted file mode 100644
index b01ab7fba..000000000
--- a/extra/kdebase-workspace/shutdown-fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- kdebase-workspace-4.6.2/kdm/config.def~ 2011-04-08 00:29:48.291941154 -0700
-+++ kdebase-workspace-4.6.2/kdm/config.def 2011-04-08 00:32:04.738607619 -0700
-@@ -38,7 +38,7 @@
- # define HALT_CMD "/usr/sbin/shutdown -h now"
- # define REBOOT_CMD "/usr/sbin/shutdown -r now"
- #elif defined(BSD) || defined(__linux__)
--# define HALT_CMD "/sbin/shutdown -p now"
-+# define HALT_CMD "/sbin/shutdown -h now"
- # define REBOOT_CMD "/sbin/shutdown -r now"
- #elif defined(__SVR4)
- # define HALT_CMD "/usr/sbin/halt"
diff --git a/extra/kdemultimedia/kmix-locale-pulseaudio.patch b/extra/kdemultimedia/kmix-locale-pulseaudio.patch
deleted file mode 100644
index 88be8dbde..000000000
--- a/extra/kdemultimedia/kmix-locale-pulseaudio.patch
+++ /dev/null
@@ -1,1117 +0,0 @@
-Index: kmix/apps/kmix.cpp
-===================================================================
---- kmix/apps/kmix.cpp (revision 1226955)
-+++ kmix/apps/kmix.cpp (revision 1226956)
-@@ -78,8 +78,6 @@
- m_dockWidget(),
- m_dontSetDefaultCardOnStart (false)
- {
-- _cornerLabelNew = 0;
--
- setObjectName( QLatin1String("KMixWindow" ));
- // disable delete-on-close because KMix might just sit in the background waiting for cards to be plugged in
- setAttribute(Qt::WA_DeleteOnClose, false);
-@@ -184,16 +182,29 @@
-
- void KMixWindow::initActionsAfterInitMixer()
- {
-+ bool isPulseAudio = false;
- // Add "launch_pavucontrol" to menu, if Pulseaudio backend is in use
- foreach( Mixer* mixer, Mixer::mixers() )
- {
-- if ( mixer->getDriverName() == "PulseAudio") {
-+ if ( mixer->getDriverName() == "PulseAudio")
-+ {
-+ isPulseAudio = true;
- KAction* action = actionCollection()->addAction( "launch_pavucontrol" );
- action->setText( i18n( "Audio setup (&Pulseaudio)" ) );
- connect(action, SIGNAL(triggered(bool) ), SLOT( slotPavucontrolExec() ));
- break;
- }
- }
-+
-+ if (! isPulseAudio )
-+ {
-+ QPixmap cornerNewPM = KIconLoader::global()->loadIcon( "tab-new", KIconLoader::Toolbar, KIconLoader::SizeSmall );
-+ QPushButton* _cornerLabelNew = new QPushButton();
-+ _cornerLabelNew->setIcon(cornerNewPM);
-+ //cornerLabelNew->setSizePolicy(QSizePolicy());
-+ m_wsMixers->setCornerWidget(_cornerLabelNew, Qt::TopLeftCorner);
-+ connect ( _cornerLabelNew, SIGNAL( clicked() ), SLOT (newView() ) );
-+ }
- }
-
- void KMixWindow::initPrefDlg()
-@@ -210,15 +221,10 @@
- m_wsMixers = new KTabWidget();
- m_wsMixers->setDocumentMode(true);
- setCentralWidget(m_wsMixers);
-- m_wsMixers->setTabsClosable(true);
-+ m_wsMixers->setTabsClosable(false);
- connect (m_wsMixers, SIGNAL(tabCloseRequested(int)), SLOT(saveAndCloseView(int)) );
-
- QPixmap cornerNewPM = KIconLoader::global()->loadIcon( "tab-new", KIconLoader::Toolbar, KIconLoader::SizeSmall );
-- _cornerLabelNew = new QPushButton();
-- _cornerLabelNew->setIcon(cornerNewPM);
-- //cornerLabelNew->setSizePolicy(QSizePolicy());
-- m_wsMixers->setCornerWidget(_cornerLabelNew, Qt::TopLeftCorner);
-- connect ( _cornerLabelNew, SIGNAL( clicked() ), SLOT (newView() ) );
-
- connect( m_wsMixers, SIGNAL( currentChanged ( int ) ), SLOT( newMixerShown(int)) );
-
-@@ -516,6 +522,7 @@
- addMixerWidget(mixer->id(), guiprof, -1);
- }
- else {
-+ // did exist => remove and insert new guiprof at old position
- int indexOfTab = m_wsMixers->indexOf(kmw);
- if ( indexOfTab != -1 ) m_wsMixers->removeTab(indexOfTab);
- delete kmw;
-@@ -676,9 +683,9 @@
- m_wsMixers->removeTab(idx);
- delete kmw;
-
-- if ( m_wsMixers->count() < 2 ) {
-- m_wsMixers->setTabsClosable(false);
-- }
-+ bool isPulseAudio = kmw->mixer()->getDriverName() == "PulseAudio";
-+ m_wsMixers->setTabsClosable(!isPulseAudio && m_wsMixers->count() > 1);
-+
- saveViewConfig();
- }
- kDebug() << "Exit";
-@@ -874,9 +881,9 @@
- if ( kmw->getGuiprof()->getId() == m_defaultCardOnStart ) {
- m_wsMixers->setCurrentWidget(kmw);
- }
-- if ( m_wsMixers->count() > 1 ) {
-- m_wsMixers->setTabsClosable(true);
-- }
-+
-+ bool isPulseAudio = mixer->getDriverName() == "PulseAudio";
-+ m_wsMixers->setTabsClosable(!isPulseAudio && m_wsMixers->count() > 1);
- m_dontSetDefaultCardOnStart = false;
-
-
-Index: kmix/apps/kmix.h
-===================================================================
---- kmix/apps/kmix.h (revision 1226955)
-+++ kmix/apps/kmix.h (revision 1226956)
-@@ -116,7 +116,6 @@
- Qt::Orientation m_toplevelOrientation;
-
- KTabWidget *m_wsMixers;
-- QPushButton* _cornerLabelNew;
-
- KMixPrefDlg *m_prefDlg;
- KMixDockWidget *m_dockWidget;
-Index: kmix/gui/viewbase.cpp
-===================================================================
---- kmix/gui/viewbase.cpp (revision 1226956)
-+++ kmix/gui/viewbase.cpp (revision 1226957)
-@@ -226,34 +226,35 @@
-
- // Check the guiprofile... if it is not the fallback GUIProfile, then
- // make sure that we add a specific entry for any devices not present.
-- if ( 0 != _guiprof && GUIProfile::fallbackProfile(_mixer) != _guiprof ) {
-+ if ( 0 != _guiprof && GUIProfile::fallbackProfile(_mixer) != _guiprof ) // TODO colin/cesken IMO calling GUIProfile::fallbackProfile(_mixer) is wrong, as it ALWAYS creates a new Object. fallbackProfile() would need to cache the created fallback profiles so this should make any sense.
-+ {
- kDebug(67100) << "Dynamic mixer " << _mixer->id() << " is NOT using Fallback GUIProfile. Checking to see if new controls are present";
-
- QList<QString> new_mix_devices;
- MixSet ms = _mixer->getMixSet();
- for (int i=0; i < ms.count(); ++i)
-+ {
- new_mix_devices.append("^" + ms[i]->id() + "$");
-+ kDebug(67100) << "new_mix_devices.append => " << ms[i]->id();
-+ }
-
-+ GUIProfile::ControlSet& ctlSet = _guiprof->getControls();
-+
- // std::vector<ProfControl*>::const_iterator itEnd = _guiprof->_controls.end();
- // for ( std::vector<ProfControl*>::const_iterator it = _guiprof->_controls.begin(); it != itEnd; ++it)
- // new_mix_devices.removeAll((*it)->id);
- // TODO Please check this change, Colin
-- foreach ( ProfControl* pctl, _guiprof->getControls() ) {
-+ foreach ( ProfControl* pctl, ctlSet ) {
- new_mix_devices.removeAll(pctl->id);
- }
-
-
- if ( new_mix_devices.count() > 0 ) {
- kDebug(67100) << "Found " << new_mix_devices.count() << " new controls. Adding to GUIProfile";
-+ QString sctlMatchAll("*");
- while ( new_mix_devices.count() > 0 ) {
-- QString sctlMatchAll("*");
- QString new_mix_devices0 = new_mix_devices.takeAt(0);
-- ProfControl* ctl = new ProfControl(new_mix_devices0, sctlMatchAll);
--// ctl->id = new_mix_devices.takeAt(0);
--// ctl->setSubcontrols(QString("*"));
--// ctl->tab = (_guiprof->tabs())[0]->name(); // Use the first tab... not ideal but should work most of the time;
--// ctl->show = "simple";
-- _guiprof->getControls().push_back(ctl);
-+ ctlSet.push_back(new ProfControl(new_mix_devices0, sctlMatchAll));
- }
- _guiprof->setDirty();
- }
-Index: kmix/gui/viewbase.cpp
-===================================================================
---- kmix/gui/viewbase.cpp (revision 1226957)
-+++ kmix/gui/viewbase.cpp (revision 1226958)
-@@ -33,6 +33,7 @@
- #include <kactioncollection.h>
- #include <ktoggleaction.h>
- #include <kstandardaction.h>
-+#include <kmessagebox.h>
- // KMix
- #include "dialogviewconfiguration.h"
- #include "gui/guiprofile.h"
-@@ -43,7 +44,7 @@
-
-
- ViewBase::ViewBase(QWidget* parent, const char* id, Mixer* mixer, Qt::WFlags f, ViewBase::ViewFlags vflags, GUIProfile *guiprof, KActionCollection *actionColletion)
-- : QWidget(parent, f), _actions(actionColletion), _vflags(vflags), _guiprof(guiprof)
-+ : QWidget(parent, f), _popMenu(NULL), _actions(actionColletion), _vflags(vflags), _guiprof(guiprof)
- {
- setObjectName(id);
- m_viewId = id;
-@@ -73,9 +74,11 @@
- }
- }
- }
-- QAction *action = _localActionColletion->addAction("toggle_channels");
-- action->setText(i18n("&Channels"));
-- connect(action, SIGNAL(triggered(bool) ), SLOT(configureView()));
-+ if ( !_mixer->isDynamic() ) {
-+ QAction *action = _localActionColletion->addAction("toggle_channels");
-+ action->setText(i18n("&Channels"));
-+ connect(action, SIGNAL(triggered(bool) ), SLOT(configureView()));
-+ }
- connect ( _mixer, SIGNAL(controlChanged()), this, SLOT(refreshVolumeLevels()) );
- connect ( _mixer, SIGNAL(controlsReconfigured(const QString&)), this, SLOT(controlsReconfigured(const QString&)) );
- }
-@@ -95,7 +98,7 @@
-
- bool ViewBase::isValid() const
- {
-- return ( _mixSet->count() > 0 || _mixer->dynamic() );
-+ return ( _mixSet->count() > 0 || _mixer->isDynamic() );
- }
-
- void ViewBase::setIcons (bool on) { KMixToolBox::setIcons (_mdws, on ); }
-@@ -170,6 +173,8 @@
- {
- QAction *a;
-
-+ if ( _popMenu )
-+ delete _popMenu;
- _popMenu = new KMenu( this );
- _popMenu->addTitle( KIcon( QLatin1String( "kmix" ) ), i18n("Device Settings" ));
-
-@@ -222,44 +227,8 @@
-
- void ViewBase::setMixSet()
- {
-- if ( _mixer->dynamic()) {
-+ if ( _mixer->isDynamic() ) {
-
-- // Check the guiprofile... if it is not the fallback GUIProfile, then
-- // make sure that we add a specific entry for any devices not present.
-- if ( 0 != _guiprof && GUIProfile::fallbackProfile(_mixer) != _guiprof ) // TODO colin/cesken IMO calling GUIProfile::fallbackProfile(_mixer) is wrong, as it ALWAYS creates a new Object. fallbackProfile() would need to cache the created fallback profiles so this should make any sense.
-- {
-- kDebug(67100) << "Dynamic mixer " << _mixer->id() << " is NOT using Fallback GUIProfile. Checking to see if new controls are present";
--
-- QList<QString> new_mix_devices;
-- MixSet ms = _mixer->getMixSet();
-- for (int i=0; i < ms.count(); ++i)
-- {
-- new_mix_devices.append("^" + ms[i]->id() + "$");
-- kDebug(67100) << "new_mix_devices.append => " << ms[i]->id();
-- }
--
-- GUIProfile::ControlSet& ctlSet = _guiprof->getControls();
--
--// std::vector<ProfControl*>::const_iterator itEnd = _guiprof->_controls.end();
--// for ( std::vector<ProfControl*>::const_iterator it = _guiprof->_controls.begin(); it != itEnd; ++it)
--// new_mix_devices.removeAll((*it)->id);
-- // TODO Please check this change, Colin
-- foreach ( ProfControl* pctl, ctlSet ) {
-- new_mix_devices.removeAll(pctl->id);
-- }
--
--
-- if ( new_mix_devices.count() > 0 ) {
-- kDebug(67100) << "Found " << new_mix_devices.count() << " new controls. Adding to GUIProfile";
-- QString sctlMatchAll("*");
-- while ( new_mix_devices.count() > 0 ) {
-- QString new_mix_devices0 = new_mix_devices.takeAt(0);
-- ctlSet.push_back(new ProfControl(new_mix_devices0, sctlMatchAll));
-- }
-- _guiprof->setDirty();
-- }
-- }
--
- // We need to delete the current MixDeviceWidgets so we can redraw them
- while (!_mdws.isEmpty()) {
- QWidget* mdw = _mdws.last();
-@@ -280,6 +249,8 @@
- */
- void ViewBase::configureView() {
-
-+ Q_ASSERT( !_mixer->isDynamic() );
-+
- DialogViewConfiguration* dvc = new DialogViewConfiguration(0, *this);
- dvc->show();
- // !! The dialog is modal. Does it delete itself?
-@@ -302,6 +273,10 @@
- kDebug(67100) << "KMixToolBox::loadView() grp=" << grp.toAscii();
-
- static char guiComplexity[3][20] = { "simple", "extended", "all" };
-+
-+ // Certain bits are not saved for dynamic mixers (e.g. PulseAudio)
-+ bool dynamic = _mixer->isDynamic();
-+
- for ( int tries = 0; tries < 3; tries++ )
- {
- bool atLeastOneControlIsShown = false;
-@@ -315,12 +290,12 @@
- Workaround: If found, write back correct group name.
- */
- MixDeviceWidget* mdw = (MixDeviceWidget*)qmdw;
-- QString devgrp;
-- devgrp.sprintf( "%s.%s.%s", grp.toAscii().data(), mdw->mixDevice()->mixer()->id().toAscii().data(), mdw->mixDevice()->id().toAscii().data() );
-+ MixDevice* md = mdw->mixDevice();
-+
-+ QString devgrp = QString("%1.%2.%3").arg(grp).arg(md->mixer()->id()).arg(md->id());
- KConfigGroup devcg = config->group( devgrp );
-
-- QString buggyDevgrp;
-- buggyDevgrp.sprintf( "%s.%s.%s", grp.toAscii().data(), view->id().toAscii().data(), mdw->mixDevice()->id().toAscii().data() );
-+ QString buggyDevgrp = QString("%1.%2.%3").arg(grp).arg(view->id()).arg(md->id());
- KConfigGroup buggyDevgrpCG = config->group( buggyDevgrp );
- if ( buggyDevgrpCG.exists() ) {
- buggyDevgrpCG.copyTo(&devcg);
-@@ -335,7 +310,7 @@
- }
-
- bool mdwEnabled = false;
-- if ( devcg.hasKey("Show") )
-+ if ( !dynamic && devcg.hasKey("Show") )
- {
- mdwEnabled = ( true == devcg.readEntry("Show", true) );
- //kDebug() << "Load devgrp" << devgrp << "show=" << mdwEnabled;
-@@ -382,20 +357,23 @@
- QString grp = "View.";
- grp += view->id();
- // KConfigGroup cg = config->group( grp );
-- kDebug(67100) << "KMixToolBox::saveView() grp=" << grp.toAscii();
-+ kDebug(67100) << "KMixToolBox::saveView() grp=" << grp;
-
-+ // Certain bits are not saved for dynamic mixers (e.g. PulseAudio)
-+ bool dynamic = _mixer->isDynamic();
-+
- for (int i=0; i < view->_mdws.count(); ++i ){
- QWidget *qmdw = view->_mdws[i];
- if ( qmdw->inherits("MixDeviceWidget") )
- {
- MixDeviceWidget* mdw = (MixDeviceWidget*)qmdw;
-+ MixDevice* md = mdw->mixDevice();
-
- //kDebug(67100) << " grp=" << grp.toAscii();
- //kDebug(67100) << " mixer=" << view->id().toAscii();
- //kDebug(67100) << " mdwPK=" << mdw->mixDevice()->id().toAscii();
-
-- QString devgrp;
-- devgrp.sprintf( "%s.%s.%s", grp.toAscii().data(), mdw->mixDevice()->mixer()->id().toAscii().data(), mdw->mixDevice()->id().toAscii().data() );
-+ QString devgrp = QString("%1.%2.%3").arg(grp).arg(md->mixer()->id()).arg(md->id());
- KConfigGroup devcg = config->group( devgrp );
-
- if ( mdw->inherits("MDWSlider") )
-@@ -403,15 +381,19 @@
- // only sliders have the ability to split apart in mutliple channels
- devcg.writeEntry( "Split", ! mdw->isStereoLinked() );
- }
-- devcg.writeEntry( "Show" , mdw->isVisibleTo(view) );
--kDebug() << "Save devgrp" << devgrp << "show=" << mdw->isVisibleTo(view);
-+ if ( !dynamic ) {
-+ devcg.writeEntry( "Show" , mdw->isVisibleTo(view) );
-+ kDebug() << "Save devgrp" << devgrp << "show=" << mdw->isVisibleTo(view);
-+ }
-
- } // inherits MixDeviceWidget
- } // for all MDW's
-
-- kDebug(67100) << "GUIProfile is dirty: " << guiProfile()->isDirty();
-- if ( guiProfile()->isDirty() ) {
-- guiProfile()->writeProfile();
-+ if ( !dynamic ) {
-+ // We do not save GUIProfiles (as they cannot be customised) for dynamic mixers (e.g. PulseAudio)
-+ kDebug(67100) << "GUIProfile is dirty: " << guiProfile()->isDirty();
-+ if ( guiProfile()->isDirty() )
-+ guiProfile()->writeProfile();
- }
- }
-
-Index: kmix/gui/mdwslider.cpp
-===================================================================
---- kmix/gui/mdwslider.cpp (revision 1226957)
-+++ kmix/gui/mdwslider.cpp (revision 1226958)
-@@ -86,10 +86,14 @@
- KToggleAction *taction = _mdwActions->add<KToggleAction>( "stereo" );
- taction->setText( i18n("&Split Channels") );
- connect( taction, SIGNAL( triggered(bool) ), SLOT( toggleStereoLinked() ) );
-- KAction *action = _mdwActions->add<KToggleAction>( "hide" );
-- action->setText( i18n("&Hide") );
-- connect( action, SIGNAL( triggered(bool) ), SLOT( setDisabled() ) );
-
-+ KAction *action;
-+ if ( ! m_mixdevice->mixer()->isDynamic() ) {
-+ action = _mdwActions->add<KToggleAction>( "hide" );
-+ action->setText( i18n("&Hide") );
-+ connect( action, SIGNAL( triggered(bool) ), SLOT( setDisabled() ) );
-+ }
-+
- if( m_mixdevice->playbackVolume().hasSwitch() ) {
- taction = _mdwActions->add<KToggleAction>( "mute" );
- taction->setText( i18n("&Muted") );
-@@ -129,8 +133,8 @@
- #ifdef __GNUC__
- #warning GLOBAL SHORTCUTS ARE NOW ASSIGNED TO ALL CONTROLS, as enableGlobalShortcut(), has not been committed
- #endif
-- if ( ! mixDevice()->isEthereal() ) {
-- // virtual / ethereal controls won't get shortcuts
-+ if ( ! mixDevice()->mixer()->isDynamic() ) {
-+ // virtual / dynamic controls won't get shortcuts
- b->setGlobalShortcut(dummyShortcut); // -<- enableGlobalShortcut() is not there => use workaround
- // b->enableGlobalShortcut();
- connect( b, SIGNAL( triggered(bool) ), SLOT( increaseVolume() ) );
-@@ -143,8 +147,8 @@
- #ifdef __GNUC__
- #warning GLOBAL SHORTCUTS ARE NOW ASSIGNED TO ALL CONTROLS, as enableGlobalShortcut(), has not been committed
- #endif
-- if ( ! mixDevice()->isEthereal() ) {
-- // virtual / ethereal controls won't get shortcuts
-+ if ( ! mixDevice()->mixer()->isDynamic() ) {
-+ // virtual / dynamic controls won't get shortcuts
- b->setGlobalShortcut(dummyShortcut); // -<- enableGlobalShortcut() is not there => use workaround
- // b->enableGlobalShortcut();
- connect( b, SIGNAL( triggered(bool) ), SLOT( decreaseVolume() ) );
-@@ -157,8 +161,8 @@
- #ifdef __GNUC__
- #warning GLOBAL SHORTCUTS ARE NOW ASSIGNED TO ALL CONTROLS, as enableGlobalShortcut(), has not been committed
- #endif
-- if ( ! mixDevice()->isEthereal() ) {
-- // virtual / ethereal controls won't get shortcuts
-+ if ( ! mixDevice()->mixer()->isDynamic() ) {
-+ // virtual / dynamic controls won't get shortcuts
- b->setGlobalShortcut(dummyShortcut); // -<- enableGlobalShortcut() is not there => use workaround
- // b->enableGlobalShortcut();
- connect( b, SIGNAL( triggered(bool) ), SLOT( toggleMuted() ) );
-Index: kmix/gui/viewdockareapopup.h
-===================================================================
---- kmix/gui/viewdockareapopup.h (revision 1226957)
-+++ kmix/gui/viewdockareapopup.h (revision 1226958)
-@@ -24,7 +24,6 @@
- #include "viewbase.h"
-
- class QGridLayout;
--class QPushButton;
- class QWidget;
-
- class Mixer;
-@@ -48,8 +47,6 @@
-
- protected:
- KMixWindow *_dock;
-- //MixDevice *_dockDevice;
-- QPushButton *_showPanelBox;
-
- void wheelEvent ( QWheelEvent * e );
- virtual void _setMixSet();
-Index: kmix/gui/viewsliders.cpp
-===================================================================
---- kmix/gui/viewsliders.cpp (revision 1226957)
-+++ kmix/gui/viewsliders.cpp (revision 1226958)
-@@ -148,7 +148,7 @@
- {
- const MixSet& mixset = _mixer->getMixSet();
-
-- if ( _mixer->dynamic() ) {
-+ if ( _mixer->isDynamic() ) {
- // We will be recreating our sliders, so make sure we trash all the separators too.
- qDeleteAll(_separators);
- _separators.clear();
-Index: kmix/gui/guiprofile.cpp
-===================================================================
---- kmix/gui/guiprofile.cpp (revision 1226957)
-+++ kmix/gui/guiprofile.cpp (revision 1226958)
-@@ -158,8 +158,12 @@
- {
- GUIProfile* guiprof = 0;
-
-- if ( mixer == 0 || profileName.isEmpty() ) {
-+ if ( mixer == 0 || profileName.isEmpty() )
- return 0;
-+
-+ if ( mixer->isDynamic() ) {
-+ kDebug(67100) << "GUIProfile::find() Not loading GUIProfile for Dynamic Mixer (e.g. PulseAudio)";
-+ return 0;
- }
-
- QString requestedProfileName;
-Index: kmix/gui/viewbase.h
-===================================================================
---- kmix/gui/viewbase.h (revision 1226957)
-+++ kmix/gui/viewbase.h (revision 1226958)
-@@ -133,7 +133,7 @@
-
- ViewFlags _vflags;
- GUIProfile* _guiprof;
-- KActionCollection *_localActionColletion;
-+ KActionCollection *_localActionColletion;
-
- virtual void _setMixSet() = 0;
-
-Index: kmix/gui/viewdockareapopup.cpp
-===================================================================
---- kmix/gui/viewdockareapopup.cpp (revision 1226957)
-+++ kmix/gui/viewdockareapopup.cpp (revision 1226958)
-@@ -88,8 +88,8 @@
- {
- // kDebug(67100) << "ViewDockAreaPopup::setMixSet()\n";
-
-- if ( _mixer->dynamic() ) {
-- // Our _layoutMDW now should only contain spacer widgets from the QSpacerItems's in add() below.
-+ if ( _mixer->isDynamic() ) {
-+ // Our _layoutMDW now should only contain spacer widgets from the QSpacerItem's in add() below.
- // We need to trash those too otherwise all sliders gradually migrate away from the edge :p
- QLayoutItem *li;
- while ( ( li = _layoutMDW->takeAt(0) ) )
-@@ -114,9 +114,9 @@
- QString matchAllPlaybackAndTheCswitch("pvolume,pswitch,cswitch");
- ProfControl *pctl = new ProfControl( dummyMatchAll, matchAllPlaybackAndTheCswitch);
- MixDeviceWidget *mdw = new MDWSlider(
-- md, // only 1 device. This is actually _dockDevice
-+ md, // only 1 device.
- true, // Show Mute LED
-- false, // Show Record LED
-+ false, // Show Record LED
- false, // Small
- Qt::Vertical, // Direction: only 1 device, so doesn't matter
- this, // parent
-@@ -128,10 +128,10 @@
- _layoutMDW->addWidget( mdw, 0, 1 );
-
- // Add button to show main panel
-- _showPanelBox = new QPushButton( i18n("Mixer"), this );
-- _showPanelBox->setObjectName( QLatin1String("MixerPanel" ));
-- connect ( _showPanelBox, SIGNAL( clicked() ), SLOT( showPanelSlot() ) );
-- _layoutMDW->addWidget( _showPanelBox, 1, 0, 1, 3 );
-+ QPushButton *pb = new QPushButton( i18n("Mixer"), this );
-+ pb->setObjectName( QLatin1String("MixerPanel" ));
-+ connect ( pb, SIGNAL( clicked() ), SLOT( showPanelSlot() ) );
-+ _layoutMDW->addWidget( pb, 1, 0, 1, 3 );
-
- return mdw;
- }
-Index: kmix/core/mixdevice.h
-===================================================================
---- kmix/core/mixdevice.h (revision 1226957)
-+++ kmix/core/mixdevice.h (revision 1226958)
-@@ -157,15 +157,6 @@
- _artificial = artificial;
- }
-
-- bool isEthereal() const
-- {
-- return _ethereal;
-- }
-- void setEthereal(bool _ethereal)
-- {
-- this->_ethereal = _ethereal;
-- }
--
- void setControlProfile(ProfControl* control);
- ProfControl* controlProfile();
-
-@@ -191,14 +182,12 @@
- int _enumCurrentId;
- QList<QString> _enumValues; // A MixDevice, that is an ENUM, has these _enumValues
-
-- //bool _doNotRestore;
- // A virtual control. It will not be saved/restored and/or doesn't get shortcuts
-- // Actually we discriminate those "virtual" controls in artificial controls and ethereal controls:
-+ // Actually we discriminate those "virtual" controls in artificial controls and dynamic controls:
- // Type Shortcut Restore
- // Artificial: yes no Virtual::GlobalMaster or Virtual::CaptureGroup_3 (controls that are constructed artificially from other controls)
-- // Ethereal : no no Controls that come and go, like Pulse Stream controls
-+ // Dynamic : no no Controls that come and go, like Pulse Stream controls
- bool _artificial;
-- bool _ethereal;
- MixSet *_moveDestinationMixSet;
- QString _iconName;
-
-Index: kmix/core/mixer.cpp
-===================================================================
---- kmix/core/mixer.cpp (revision 1226957)
-+++ kmix/core/mixer.cpp (revision 1226958)
-@@ -748,7 +748,7 @@
- m_dynamic = dynamic;
- }
-
--bool Mixer::dynamic()
-+bool Mixer::isDynamic()
- {
- return m_dynamic;
- }
-Index: kmix/core/mixer.h
-===================================================================
---- kmix/core/mixer.h (revision 1226957)
-+++ kmix/core/mixer.h (revision 1226958)
-@@ -164,7 +164,7 @@
-
- /// Says if we are dynamic (e.g. widgets can come and go)
- virtual void setDynamic( bool dynamic = true );
-- virtual bool dynamic();
-+ virtual bool isDynamic();
-
- virtual bool moveStream( const QString id, const QString& destId );
-
-Index: kmix/core/mixdevice.cpp
-===================================================================
---- kmix/core/mixdevice.cpp (revision 1226957)
-+++ kmix/core/mixdevice.cpp (revision 1226958)
-@@ -23,6 +23,7 @@
- #include <klocale.h>
-
- #include "core/mixdevice.h"
-+#include "core/mixer.h"
- #include "gui/guiprofile.h"
- #include "core/volume.h"
-
-@@ -96,14 +97,12 @@
-
- MixDevice::MixDevice( Mixer* mixer, const QString& id, const QString& name, const QString& iconName, MixSet* moveDestinationMixSet )
- {
-- // doNotRestore is superseded by the more generic concepts isEthereal(), isArtificial()
- init(mixer, id, name, iconName, moveDestinationMixSet);
- }
-
- void MixDevice::init( Mixer* mixer, const QString& id, const QString& name, const QString& iconName, MixSet* moveDestinationMixSet )
- {
- _artificial = false;
-- _ethereal = false;
- _mixer = mixer;
- _id = id;
- if( name.isEmpty() )
-@@ -117,9 +116,10 @@
- _moveDestinationMixSet = moveDestinationMixSet;
- if ( _id.contains(' ') ) {
- // The key is used in the config file. It MUST NOT contain spaces
-- kError(67100) << "MixDevice::setId(\"" << id << "\") . Invalid key - it might not contain spaces" << endl;
-+ kError(67100) << "MixDevice::setId(\"" << id << "\") . Invalid key - it must not contain spaces" << endl;
- _id.replace(' ', '_');
- }
-+ kDebug(67100) << "MixDevice::init() _id=" << _id;
- }
-
- void MixDevice::addPlaybackVolume(Volume &playbackVol)
-@@ -216,11 +216,10 @@
- */
- void MixDevice::read( KConfig *config, const QString& grp )
- {
-- if ( isEthereal() || isArtificial() ) {
-+ if ( _mixer->isDynamic() || isArtificial() ) {
- kDebug(67100) << "MixDevice::read(): This MixDevice does not permit volume restoration (i.e. because it is handled lower down in the audio stack). Ignoring.";
- } else {
-- QString devgrp;
-- devgrp.sprintf( "%s.Dev%s", grp.toAscii().data(), _id.toAscii().data() );
-+ QString devgrp = QString("%1.Dev%2").arg(grp).arg(_id);
- KConfigGroup cg = config->group( devgrp );
- //kDebug(67100) << "MixDevice::read() of group devgrp=" << devgrp;
-
-@@ -264,11 +263,10 @@
- */
- void MixDevice::write( KConfig *config, const QString& grp )
- {
-- if (isEthereal() || isArtificial()) {
-+ if (_mixer->isDynamic() || isArtificial()) {
- kDebug(67100) << "MixDevice::write(): This MixDevice does not permit volume saving (i.e. because it is handled lower down in the audio stack). Ignoring.";
- } else {
-- QString devgrp;
-- devgrp.sprintf( "%s.Dev%s", grp.toAscii().data(), _id.toAscii().data() );
-+ QString devgrp = QString("%1.Dev%2").arg(grp).arg(_id);
- KConfigGroup cg = config->group(devgrp);
- // kDebug(67100) << "MixDevice::write() of group devgrp=" << devgrp;
-
-Index: kmix/apps/kmix.cpp
-===================================================================
---- kmix/apps/kmix.cpp (revision 1226957)
-+++ kmix/apps/kmix.cpp (revision 1226958)
-@@ -182,21 +182,20 @@
-
- void KMixWindow::initActionsAfterInitMixer()
- {
-- bool isPulseAudio = false;
-- // Add "launch_pavucontrol" to menu, if Pulseaudio backend is in use
-+ // Only show the new tab widget if some of the mixers are not Dynamic.
-+ // The GUI that then pops up could then make a new mixer from a dynamic one,
-+ // if mixed dynamic and non-dynamic mixers were allowed, but this is generally not the case.
-+ bool allDynamic = true;
- foreach( Mixer* mixer, Mixer::mixers() )
- {
-- if ( mixer->getDriverName() == "PulseAudio")
-+ if ( !mixer->isDynamic() )
- {
-- isPulseAudio = true;
-- KAction* action = actionCollection()->addAction( "launch_pavucontrol" );
-- action->setText( i18n( "Audio setup (&Pulseaudio)" ) );
-- connect(action, SIGNAL(triggered(bool) ), SLOT( slotPavucontrolExec() ));
-+ allDynamic = false;
- break;
- }
- }
-
-- if (! isPulseAudio )
-+ if (! allDynamic )
- {
- QPixmap cornerNewPM = KIconLoader::global()->loadIcon( "tab-new", KIconLoader::Toolbar, KIconLoader::SizeSmall );
- QPushButton* _cornerLabelNew = new QPushButton();
-@@ -339,8 +338,11 @@
-
- // The following loop is necessary for the case that the user has hidden all views for a Mixer instance.
- // Otherwise we would not save the Meta information (step -2- below for that mixer.
-- foreach ( Mixer* mixer, Mixer::mixers() )
-- mixerViews[mixer->id()]; // just insert a map entry
-+ // We also do not save dynamic mixers (e.g. PulseAudio)
-+ foreach ( Mixer* mixer, Mixer::mixers() ) {
-+ if ( !mixer->isDynamic() )
-+ mixerViews[mixer->id()]; // just insert a map entry
-+ }
-
- // -1- Save the views themselves
- for ( int i=0; i<m_wsMixers->count() ; ++i ) {
-@@ -351,8 +353,10 @@
- // Otherwise the user will be confused afer re-plugging the card (as the config was not saved).
- mw->saveConfig( KGlobal::config().data() );
- // add the view to the corresponding mixer list, so we can save a views-per-mixer list below
-- QStringList& qsl = mixerViews[mw->mixer()->id()];
-- qsl.append(mw->getGuiprof()->getId());
-+ if ( !mw->mixer()->isDynamic() ) {
-+ QStringList& qsl = mixerViews[mw->mixer()->id()];
-+ qsl.append(mw->getGuiprof()->getId());
-+ }
- }
- }
-
-@@ -539,22 +543,29 @@
- continue; // OK, this mixer already has a profile => skip it
- }
- // No TAB YET => This should mean KMix is just started, or the user has just plugged in a card
-- bool profileListHasKey = pconfig.hasKey( mixer->id() ); // <<< SHOULD be before the following line
-- QStringList profileList = pconfig.readEntry( mixer->id(), QStringList() );
-+ bool profileListHasKey = false;
-+ QStringList profileList;
-+ bool aProfileWasAddedSucesufully = false;
-
-- bool aProfileWasAddedSucesufully = false;
-- foreach ( QString profileId, profileList)
-- {
-- // This handles the profileList form the kmixrc
-- kDebug() << "Now searching for profile: " << profileId ;
-- GUIProfile* guiprof = GUIProfile::find(mixer, profileId, true, false); // ### Card specific profile ###
-- if ( guiprof != 0 ) {
-- addMixerWidget(mixer->id(), guiprof, -1);
-- aProfileWasAddedSucesufully = true;
-+ if ( !mixer->isDynamic() ) {
-+ // We do not support save profiles for dynamic mixers (i.e. PulseAudio)
-+
-+ profileListHasKey = pconfig.hasKey( mixer->id() ); // <<< SHOULD be before the following line
-+ profileList = pconfig.readEntry( mixer->id(), QStringList() );
-+
-+ foreach ( QString profileId, profileList)
-+ {
-+ // This handles the profileList form the kmixrc
-+ kDebug() << "Now searching for profile: " << profileId ;
-+ GUIProfile* guiprof = GUIProfile::find(mixer, profileId, true, false); // ### Card specific profile ###
-+ if ( guiprof != 0 ) {
-+ addMixerWidget(mixer->id(), guiprof, -1);
-+ aProfileWasAddedSucesufully = true;
-+ }
-+ else {
-+ kError() << "Cannot load profile " << profileId << " . It was removed by the user, or the KMix config file is defective.";
-+ }
- }
-- else {
-- kError() << "Cannot load profile " << profileId << " . It was removed by the user, or the KMix config file is defective.";
-- }
- }
-
- // The we_need_a_fallback case is a bit tricky. Please ask the author (cesken) before even considering to change the code.
-@@ -568,11 +579,17 @@
-
- // Lets try a bunch of fallback strategies:
- GUIProfile* guiprof = 0;
-+ if ( !mixer->isDynamic() ) {
-+ // We know that GUIProfile::find() will return 0 if the mixer is dynamic, so don't bother checking.
-+ kDebug() << "Attempting to find a card-specific GUI Profile for the mixer " << mixer->id();
- guiprof = GUIProfile::find(mixer, QString("default"), false, false); // ### Card specific profile ###
-- if ( guiprof == 0 ) {
-- guiprof = GUIProfile::find(mixer, QString("default"), false, true); // ### Card unspecific profile ###
-+ if ( guiprof == 0 ) {
-+ kDebug() << "Not found. Attempting to find a generic GUI Profile for the mixer " << mixer->id();
-+ guiprof = GUIProfile::find(mixer, QString("default"), false, true); // ### Card unspecific profile ###
-+ }
- }
- if ( guiprof == 0) {
-+ kDebug() << "Using fallback GUI Profile for the mixer " << mixer->id();
- // This means there is neither card specific nor card unspecific profile
- // This is the case for some backends (as they don't ship profiles).
- guiprof = GUIProfile::fallbackProfile(mixer);
-@@ -683,8 +700,7 @@
- m_wsMixers->removeTab(idx);
- delete kmw;
-
-- bool isPulseAudio = kmw->mixer()->getDriverName() == "PulseAudio";
-- m_wsMixers->setTabsClosable(!isPulseAudio && m_wsMixers->count() > 1);
-+ m_wsMixers->setTabsClosable(!kmw->mixer()->isDynamic() && m_wsMixers->count() > 1);
-
- saveViewConfig();
- }
-@@ -882,8 +898,7 @@
- m_wsMixers->setCurrentWidget(kmw);
- }
-
-- bool isPulseAudio = mixer->getDriverName() == "PulseAudio";
-- m_wsMixers->setTabsClosable(!isPulseAudio && m_wsMixers->count() > 1);
-+ m_wsMixers->setTabsClosable(!mixer->isDynamic() && m_wsMixers->count() > 1);
- m_dontSetDefaultCardOnStart = false;
-
-
-@@ -1071,12 +1086,6 @@
- KMessageBox::information( 0, m_hwInfoString, i18n("Mixer Hardware Information") );
- }
-
--void KMixWindow::slotPavucontrolExec()
--{
-- QStringList args("pavucontrol");
-- forkExec(args);
--}
--
- void KMixWindow::slotKdeAudioSetupExec()
- {
- QStringList args;
-@@ -1133,6 +1142,12 @@
- m_defaultCardOnStart = kmw->getGuiprof()->getId();
- // As switching the tab does NOT mean switching the master card, we do not need to update dock icon here.
- // It would lead to unnecesary flickering of the (complete) dock area.
-+
-+ // We only show the "Configure Channels..." menu item if the mixer is not dynamic
-+ ViewBase* view = kmw->currentView();
-+ QAction* action = actionCollection()->action( "toggle_channels_currentview" );
-+ if (view && action)
-+ action->setVisible( !view->getMixer()->isDynamic() );
- }
- }
-
-Index: kmix/apps/kmix.h
-===================================================================
---- kmix/apps/kmix.h (revision 1226957)
-+++ kmix/apps/kmix.h (revision 1226958)
-@@ -136,7 +136,6 @@
- private slots:
- void saveConfig();
- void slotHWInfo();
-- void slotPavucontrolExec();
- void slotKdeAudioSetupExec();
- void slotConfigureCurrentView();
- void slotSelectMaster();
-Index: kmix/kmixui.rc
-===================================================================
---- kmix/kmixui.rc (revision 1226957)
-+++ kmix/kmixui.rc (revision 1226958)
-@@ -17,7 +17,6 @@
- <Action name="toggle_channels_currentview" append="save_merge"/>
- <Action name="select_master" append="save_merge"/>
- <Action name="launch_kdesoundsetup" append="save_merge"/>
-- <Action name="launch_pavucontrol" append="save_merge"/>
- </Menu>
- <Menu name="help" append="about_merge"><text>&amp;Help</text>
- <Action name="hwinfo"/>
-Index: kmix/backends/mixer_backend.cpp
-===================================================================
---- kmix/backends/mixer_backend.cpp (revision 1226957)
-+++ kmix/backends/mixer_backend.cpp (revision 1226958)
-@@ -48,7 +48,7 @@
- bool Mixer_Backend::openIfValid() {
- bool valid = false;
- int ret = open();
-- if ( ret == 0 && (m_mixDevices.count() > 0 || _mixer->dynamic())) {
-+ if ( ret == 0 && (m_mixDevices.count() > 0 || _mixer->isDynamic())) {
- valid = true;
- // A better ID is now calculated in mixertoolbox.cpp, and set via setID(),
- // but we want a somehow usable fallback just in case.
-@@ -139,7 +139,7 @@
- return m_mixDevices.at(0); // Backend has NOT set a recommended master. Evil backend => lets help out.
- } //first device (if exists)
- else {
-- if ( !_mixer->dynamic()) {
-+ if ( !_mixer->isDynamic()) {
- // This should never ever happen, as KMix doe NOT accept soundcards without controls
- kError(67100) << "Mixer_Backend::recommendedMaster(): returning invalid master. This is a bug in KMix. Please file a bug report stating how you produced this." << endl;
- }
-Index: kmix/backends/mixer_pulse.cpp
-===================================================================
---- kmix/backends/mixer_pulse.cpp (revision 1226957)
-+++ kmix/backends/mixer_pulse.cpp (revision 1226958)
-@@ -36,6 +36,8 @@
- #define KMIXPA_APP_CAPTURE 3
- #define KMIXPA_WIDGET_MAX KMIXPA_APP_CAPTURE
-
-+#define KMIXPA_EVENT_KEY "sink-input-by-media-role:event"
-+
- static unsigned int refcount = 0;
- static pa_glib_mainloop *s_mainloop = NULL;
- static pa_context *s_context = NULL;
-@@ -189,7 +191,7 @@
-
- devinfo s;
- s.index = s.device_index = i->index;
-- s.name = QString(i->name).replace(' ', '_');
-+ s.name = QString::fromUtf8(i->name).replace(' ', '_');
- s.description = QString::fromUtf8(i->description);
- s.icon_name = QString::fromUtf8(pa_proplist_gets(i->proplist, PA_PROP_DEVICE_ICON_NAME));
- s.volume = i->volume;
-@@ -242,7 +244,7 @@
-
- devinfo s;
- s.index = s.device_index = i->index;
-- s.name = QString(i->name).replace(' ', '_');
-+ s.name = QString::fromUtf8(i->name).replace(' ', '_');
- s.description = QString::fromUtf8(i->description);
- s.icon_name = QString::fromUtf8(pa_proplist_gets(i->proplist, PA_PROP_DEVICE_ICON_NAME));
- s.volume = i->volume;
-@@ -307,26 +309,28 @@
-
- const char *t;
- if ((t = pa_proplist_gets(i->proplist, "module-stream-restore.id"))) {
-- if (strcmp(t, "sink-input-by-media-role:event") == 0) {
-+ if (strcmp(t, KMIXPA_EVENT_KEY) == 0) {
- kWarning(67100) << "Ignoring sink-input due to it being designated as an event and thus handled by the Event slider";
- return;
- }
- }
-
-- QString prefix = QString("%1: ").arg(i18n("Unknown Application"));
-+ QString appname = i18n("Unknown Application");
- if (clients.contains(i->client))
-- prefix = QString("%1: ").arg(clients[i->client]);
-+ appname = clients[i->client];
-
-+ QString prefix = QString("%1: ").arg(appname);
-+
- devinfo s;
- s.index = i->index;
- s.device_index = i->sink;
- s.description = prefix + QString::fromUtf8(i->name);
-- s.name = QString("stream:") + i->index;
-+ s.name = QString("stream:") + QString::number(i->index); //appname.replace(' ', '_').toLower();
- s.icon_name = getIconNameFromProplist(i->proplist);
- s.volume = i->volume;
- s.channel_map = i->channel_map;
- s.mute = !!i->mute;
-- s.stream_restore_rule = t;
-+ s.stream_restore_rule = QString::fromUtf8(t);
-
- translateMasksAndMaps(s);
-
-@@ -370,22 +374,24 @@
- return;
- }
-
-- QString prefix = QString("%1: ").arg(i18n("Unknown Application"));
-+ QString appname = i18n("Unknown Application");
- if (clients.contains(i->client))
-- prefix = QString("%1: ").arg(clients[i->client]);
-+ appname = clients[i->client];
-
-+ QString prefix = QString("%1: ").arg(appname);
-+
- devinfo s;
- s.index = i->index;
- s.device_index = i->source;
- s.description = prefix + QString::fromUtf8(i->name);
-- s.name = QString("stream:") + i->index;
-+ s.name = QString("stream:") + QString::number(i->index); //appname.replace(' ', '_').toLower();
- s.icon_name = getIconNameFromProplist(i->proplist);
- //s.volume = i->volume;
- s.volume = captureDevices[i->source].volume;
- s.channel_map = i->channel_map;
- //s.mute = !!i->mute;
- s.mute = captureDevices[i->source].mute;
-- s.stream_restore_rule = pa_proplist_gets(i->proplist, "module-stream-restore.id");
-+ s.stream_restore_rule = QString::fromUtf8(pa_proplist_gets(i->proplist, "module-stream-restore.id"));
-
- translateMasksAndMaps(s);
-
-@@ -407,7 +413,7 @@
- }
-
-
--static devinfo create_role_devinfo(const char* name) {
-+static devinfo create_role_devinfo(QString name) {
-
- Q_ASSERT(s_RestoreRules.contains(name));
-
-@@ -436,9 +442,10 @@
-
- if (eol > 0) {
- dec_outstanding(c);
-+
- // Special case: ensure that our media events exists.
- // On first login by a new users, this wont be in our database so we should create it.
-- if (!outputRoles.contains(PA_INVALID_INDEX)) {
-+ if (!s_RestoreRules.contains(KMIXPA_EVENT_KEY)) {
- // Create a fake rule
- restoreRule rule;
- rule.channel_map.channels = 1;
-@@ -447,37 +454,56 @@
- rule.volume.values[0] = PA_VOLUME_NORM;
- rule.mute = false;
- rule.device = "";
-- s_RestoreRules["sink-input-by-media-role:event"] = rule;
-+ s_RestoreRules[KMIXPA_EVENT_KEY] = rule;
-+ kDebug(67100) << "Initialising restore rule for new user: " << i18n("Event Sounds");
-+ }
-
-- devinfo s = create_role_devinfo("sink-input-by-media-role:event");
-- outputRoles[s.index] = s;
-- kDebug(67100) << "Initialising restore rule for new user: " << s.description;
-+ if (s_mixers.contains(KMIXPA_APP_PLAYBACK)) {
-+ // If we have rules, it will be created below... but if no rules
-+ // then we add it here.
-+ if (!outputRoles.contains(PA_INVALID_INDEX)) {
-+ devinfo s = create_role_devinfo(KMIXPA_EVENT_KEY);
-+ outputRoles[s.index] = s;
-
-- if (s_mixers.contains(KMIXPA_APP_PLAYBACK))
- s_mixers[KMIXPA_APP_PLAYBACK]->addWidget(s.index);
-+ }
-+
-+ s_mixers[KMIXPA_APP_PLAYBACK]->triggerUpdate();
- }
-
-- if (s_mixers.contains(KMIXPA_APP_PLAYBACK))
-- s_mixers[KMIXPA_APP_PLAYBACK]->triggerUpdate();
- return;
- }
-
-- kDebug(67100) << "Got some info about restore rule: " << i->name << i->device;
-+
-+ QString name = QString::fromUtf8(i->name);
-+ kDebug(67100) << QString("Got some info about restore rule: '%1' (Device: %2)").arg(name).arg(i->device ? i->device : "None");
- restoreRule rule;
- rule.channel_map = i->channel_map;
- rule.volume = i->volume;
- rule.mute = !!i->mute;
- rule.device = i->device;
-- s_RestoreRules[i->name] = rule;
-
-- // We only want to know about Sound Events for now...
-- if (strcmp(i->name, "sink-input-by-media-role:event") == 0) {
-- devinfo s = create_role_devinfo(i->name);
-- bool is_new = !outputRoles.contains(s.index);
-- outputRoles[s.index] = s;
-+ if (rule.channel_map.channels < 1 && name == KMIXPA_EVENT_KEY) {
-+ // Stream restore rules may not have valid volumes/channel maps (as these are optional)
-+ // but we need a valid volume+channelmap for our events sounds so fix it up.
-+ rule.channel_map.channels = 1;
-+ rule.channel_map.map[0] = PA_CHANNEL_POSITION_MONO;
-+ rule.volume.channels = 1;
-+ rule.volume.values[0] = PA_VOLUME_NORM;
-+ }
-
-- if (is_new && s_mixers.contains(KMIXPA_APP_PLAYBACK))
-- s_mixers[KMIXPA_APP_PLAYBACK]->addWidget(s.index);
-+ s_RestoreRules[name] = rule;
-+
-+ if (s_mixers.contains(KMIXPA_APP_PLAYBACK)) {
-+ // We only want to know about Sound Events for now...
-+ if (name == KMIXPA_EVENT_KEY) {
-+ devinfo s = create_role_devinfo(name);
-+ bool is_new = !outputRoles.contains(s.index);
-+ outputRoles[s.index] = s;
-+
-+ if (is_new)
-+ s_mixers[KMIXPA_APP_PLAYBACK]->addWidget(s.index);
-+ }
- }
- }
-
-@@ -788,7 +814,6 @@
- Volume v(dev.chanMask, PA_VOLUME_NORM, PA_VOLUME_MUTED, true, false);
- setVolumeFromPulse(v, dev);
- MixDevice* md = new MixDevice( _mixer, dev.name, dev.description, dev.icon_name, ms);
-- md->setEthereal(true);
- md->addPlaybackVolume(v);
- md->setMuted(dev.mute);
- m_mixDevices.append(md);
-@@ -1095,10 +1120,10 @@
- {
- restoreRule &rule = s_RestoreRules[iter->stream_restore_rule];
- pa_ext_stream_restore_info info;
-- info.name = iter->stream_restore_rule.toAscii().constData();
-+ info.name = iter->stream_restore_rule.toUtf8().constData();
- info.channel_map = rule.channel_map;
- info.volume = genVolumeForPulse(*iter, md->playbackVolume());
-- info.device = rule.device.isEmpty() ? NULL : rule.device.toAscii().constData();
-+ info.device = rule.device.isEmpty() ? NULL : rule.device.toUtf8().constData();
- info.mute = (md->isMuted() ? 1 : 0);
-
- pa_operation* o;
-@@ -1153,13 +1178,13 @@
-
- // Lookup the stream index.
- uint32_t stream_index = PA_INVALID_INDEX;
-- const char* stream_restore_rule = NULL;
-+ QString stream_restore_rule = "";
- devmap::iterator iter;
- devmap *map = get_widget_map(m_devnum);
- for (iter = map->begin(); iter != map->end(); ++iter) {
- if (iter->name == id) {
- stream_index = iter->index;
-- stream_restore_rule = iter->stream_restore_rule.isEmpty() ? NULL : iter->stream_restore_rule.toAscii().constData();
-+ stream_restore_rule = iter->stream_restore_rule;
- break;
- }
- }
-@@ -1171,12 +1196,12 @@
-
- if (destId.isEmpty()) {
- // We want to remove any specific device in the stream restore rule.
-- if (!stream_restore_rule || !s_RestoreRules.contains(stream_restore_rule)) {
-+ if (stream_restore_rule.isEmpty() || !s_RestoreRules.contains(stream_restore_rule)) {
- kWarning(67100) << "Mixer_PULSE::moveStream(): Trying to set Automatic on a stream with no rule";
- } else {
- restoreRule &rule = s_RestoreRules[stream_restore_rule];
- pa_ext_stream_restore_info info;
-- info.name = stream_restore_rule;
-+ info.name = stream_restore_rule.toUtf8().constData();
- info.channel_map = rule.channel_map;
- info.volume = rule.volume;
- info.device = NULL;
-@@ -1192,12 +1217,12 @@
- } else {
- pa_operation* o;
- if (KMIXPA_APP_PLAYBACK == m_devnum) {
-- if (!(o = pa_context_move_sink_input_by_name(s_context, stream_index, destId.toAscii().constData(), NULL, NULL))) {
-+ if (!(o = pa_context_move_sink_input_by_name(s_context, stream_index, destId.toUtf8().constData(), NULL, NULL))) {
- kWarning(67100) << "pa_context_move_sink_input_by_name() failed";
- return false;
- }
- } else {
-- if (!(o = pa_context_move_source_output_by_name(s_context, stream_index, destId.toAscii().constData(), NULL, NULL))) {
-+ if (!(o = pa_context_move_source_output_by_name(s_context, stream_index, destId.toUtf8().constData(), NULL, NULL))) {
- kWarning(67100) << "pa_context_move_source_output_by_name() failed";
- return false;
- }
diff --git a/extra/keytouch-editor/ChangeLog b/extra/keytouch-editor/ChangeLog
deleted file mode 100644
index 0503eb1f7..000000000
--- a/extra/keytouch-editor/ChangeLog
+++ /dev/null
@@ -1,8 +0,0 @@
-2008-06-22 Eric Belanger <eric@archlinux.org>
-
- * keytouch-editor 3.1.3-1
- * Patched for glibc 2.8
- * Added to [extra] repo
- * Added ChangeLog
-
-
diff --git a/extra/kobodeluxe/ChangeLog b/extra/kobodeluxe/ChangeLog
deleted file mode 100644
index 08b4c2dec..000000000
--- a/extra/kobodeluxe/ChangeLog
+++ /dev/null
@@ -1,8 +0,0 @@
-2009-01-06 Eric Belanger <eric@archlinux.org>
-
- * kobodeluxe 0.5.1-2
- * Fixed build issue
- * Added game group support
- * Added .desktop file and icons
- * Improved package description
- * Added ChangeLog
diff --git a/extra/orca/PKGBUILD b/extra/orca/PKGBUILD
deleted file mode 100644
index 6c83391d6..000000000
--- a/extra/orca/PKGBUILD
+++ /dev/null
@@ -1,27 +0,0 @@
-# $Id: PKGBUILD 99644 2010-11-15 23:32:08Z ibiru $
-# Maintainer: Jan de Groot <jgc@archlinux.org>
-# Contributor: William Rea <sillywilly@gmail.com>
-
-pkgname=orca
-pkgver=2.32.1
-pkgrel=1
-pkgdesc="A scriptable screen reader and magnifier"
-arch=(i686 x86_64)
-license=('LGPL')
-url="http://www.gnome.org/projects/orca"
-install=orca.install
-options=('!libtool')
-depends=('pygtk>=2.22.0' 'python2-gconf' 'python2-bonobo' 'python2-libgnome' 'python-wnck' 'dbus-python>=0.83.0' 'at-spi>=1.32.0' 'gnome-speech>=0.4.25' 'gnome-mag>=0.16.0' 'brltty' 'hicolor-icon-theme' 'pyxdg')
-makedepends=('intltool')
-replaces=('gnopernicus')
-groups=('gnome-extra')
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('44da9da70c1b47bc87fda8f3b9da4cc1df9993d92388434f5707d39b5a832629')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var
- make
- make DESTDIR="${pkgdir}" install
-}
diff --git a/extra/orca/orca.install b/extra/orca/orca.install
deleted file mode 100644
index 17ca8f78a..000000000
--- a/extra/orca/orca.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
diff --git a/extra/python-qt/PKGBUILD b/extra/python-qt/PKGBUILD
deleted file mode 100644
index 43a00111e..000000000
--- a/extra/python-qt/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 110673 2011-02-21 12:42:56Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgname=python-qt
-pkgver=4.8.3
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://riverbankcomputing.co.uk/software/pyqt/intro"
-license=('GPL')
-pkgdesc="A set of Python 3 bindings for the Qt toolkit"
-depends=('python2-qt' 'python-sip')
-optdepends=('phonon: enable audio and video in PyQt applications'
- 'qscintilla: QScintilla API'
- 'qt-assistant-compat: add PyQt online help in Qt Assistant')
-makedepends=('phonon' 'qt-assistant-compat')
-source=("http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-${pkgver}.tar.gz")
-md5sums=('d54fd1c37a74864faf42709c8102f254')
-
-build() {
- cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
-
- python configure.py \
- --confirm-license \
- --qsci-api
-
- # Thanks Gerardo for the rpath fix
- find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
-
- make
-}
-
-package(){
- cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
- # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-
- # Provided by python2-qt package
- rm ${pkgdir}/usr/bin/{pylupdate4,pyrcc4,pyuic4}
- rm ${pkgdir}/usr/lib/qt/plugins/designer/libpythonplugin.so
- rm ${pkgdir}/usr/share/qt/qsci/api/python/PyQt4.api
-}
diff --git a/extra/python-sip/PKGBUILD b/extra/python-sip/PKGBUILD
deleted file mode 100644
index 48b2cd96f..000000000
--- a/extra/python-sip/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 110667 2011-02-21 12:01:59Z stephane $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-
-pkgname=python-sip
-pkgver=4.12.1
-pkgrel=2
-arch=('i686' 'x86_64')
-url="http://www.riverbankcomputing.com/software/sip/"
-license=('custom:"sip"')
-pkgdesc="A tool that makes it easy to create Python 3 bindings for C and C++ libraries"
-depends=('python2-sip' 'python')
-source=("http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${pkgver}.tar.gz")
-md5sums=('0f8e8305b14c1812191de2e0ee22fea9')
-
-build() {
- cd "${srcdir}/sip-${pkgver}"
-
- python configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
- make
-}
-
-package() {
- cd "${srcdir}/sip-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # Provided by python2-sip package
- rm "${pkgdir}/usr/bin/sip"
-}
diff --git a/extra/python2-qt/PKGBUILD b/extra/python2-qt/PKGBUILD
deleted file mode 100644
index 41b2354f1..000000000
--- a/extra/python2-qt/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 107404 2011-01-24 17:30:13Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-# Contributor: riai <riai@bigfoot.com> Ben <ben@benmazer.net>
-
-pkgname=python2-qt
-pkgver=4.8.3
-pkgrel=1
-pkgdesc="A set of Python 2 bindings for the Qt toolkit"
-arch=('i686' 'x86_64')
-url="http://riverbankcomputing.co.uk/software/pyqt/intro"
-license=('GPL')
-depends=('qt' 'python2-sip' 'dbus-python')
-makedepends=('phonon' 'python-opengl' 'qt-assistant-compat')
-optdepends=('phonon: enable audio and video in PyQt applications'
- 'python-opengl: enable OpenGL 3D graphics in PyQt applications'
- 'qscintilla: QScintilla API'
- 'qt-assistant-compat: add PyQt online help in Qt Assistant')
-replaces=('pyqt')
-source=("http://riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-x11-gpl-${pkgver}.tar.gz")
-md5sums=('d54fd1c37a74864faf42709c8102f254')
-
-build() {
- cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
-
- python2 configure.py \
- --confirm-license \
- -v /usr/share/sip \
- --qsci-api
-
- # Thanks Gerardo for the rpath fix
- find -name 'Makefile' | xargs sed -i 's|-Wl,-rpath,/usr/lib||g;s|-Wl,-rpath,.* ||g'
-
- make
-}
-
-package(){
- cd "${srcdir}/PyQt-x11-gpl-${pkgver}"
- # INSTALL_ROOT is needed for the QtDesigner module, the other Makefiles use DESTDIR
- make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install
-}
diff --git a/extra/python2-sip/PKGBUILD b/extra/python2-sip/PKGBUILD
deleted file mode 100644
index d08638428..000000000
--- a/extra/python2-sip/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 107403 2011-01-24 17:30:04Z andrea $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-# Contributor: riai <riai@bigfoot.com>, Ben <ben@benmazer.net>
-
-pkgname=python2-sip
-pkgver=4.12.1
-pkgrel=1
-pkgdesc="A tool that makes it easy to create Python 2 bindings for C and C++ libraries"
-arch=('i686' 'x86_64')
-url="http://www.riverbankcomputing.com/software/sip/"
-license=('custom:"sip"')
-depends=('python2')
-replaces=('sip')
-source=("http://www.riverbankcomputing.com/static/Downloads/sip4/sip-${pkgver}.tar.gz")
-md5sums=('0f8e8305b14c1812191de2e0ee22fea9')
-
-build() {
- cd "${srcdir}/sip-${pkgver}"
-
- python2 configure.py CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
- make
-}
-
-package() {
- cd "${srcdir}/sip-${pkgver}"
- make DESTDIR="${pkgdir}" install
-
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
diff --git a/extra/quota-tools/ChangeLog b/extra/quota-tools/ChangeLog
deleted file mode 100644
index 56c760b78..000000000
--- a/extra/quota-tools/ChangeLog
+++ /dev/null
@@ -1,9 +0,0 @@
-2009-01-07 Eric Belanger <eric@archlinux.org>
-
- * quota-tools 3.17-1
- * Upstream update
-
-2008-05-01 Eric Belanger <eric@archlinux.org>
-
- * quota-tools 3.16-1
- * Upstream update
diff --git a/extra/rxvt-unicode/rxvt-unicode.png b/extra/rxvt-unicode/rxvt-unicode.png
deleted file mode 100644
index 0738a7840..000000000
--- a/extra/rxvt-unicode/rxvt-unicode.png
+++ /dev/null
Binary files differ
diff --git a/extra/squid/fix-for-new-cap-headers.patch b/extra/squid/fix-for-new-cap-headers.patch
deleted file mode 100644
index ce24681e8..000000000
--- a/extra/squid/fix-for-new-cap-headers.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/tools.c.orig 2009-11-02 10:54:49.000000000 -0500
-+++ src/tools.c 2009-11-02 10:55:05.000000000 -0500
-@@ -44,9 +44,9 @@
- #if HAVE_SYS_CAPABILITY_H
- #undef _POSIX_SOURCE
- /* Ugly glue to get around linux header madness colliding with glibc */
--#define _LINUX_TYPES_H
-+/*#define _LINUX_TYPES_H*/
- #define _LINUX_FS_H
--typedef uint32_t __u32;
-+/*typedef uint32_t __u32;*/
- #include <sys/capability.h>
- #endif
- #endif
diff --git a/extra/squid/squid-makefiles.patch b/extra/squid/squid-makefiles.patch
deleted file mode 100644
index 4cefb89a0..000000000
--- a/extra/squid/squid-makefiles.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-diff -Naur squid-2.7.STABLE2-orig/helpers/basic_auth/SMB/Makefile.in squid-2.7.STABLE2/helpers/basic_auth/SMB/Makefile.in
---- squid-2.7.STABLE2-orig/helpers/basic_auth/SMB/Makefile.in 2007-11-11 20:14:01.000000000 -0500
-+++ squid-2.7.STABLE2/helpers/basic_auth/SMB/Makefile.in 2008-06-09 21:32:52.000000000 -0400
-@@ -268,7 +268,7 @@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
- SMB_AUTH_HELPER = smb_auth.sh
--SAMBAPREFIX = /usr/local/samba
-+SAMBAPREFIX = /usr
- SMB_AUTH_HELPER_PATH = $(libexecdir)/$(SMB_AUTH_HELPER)
- libexec_SCRIPTS = $(SMB_AUTH_HELPER)
- smb_auth_CFLAGS = -DSAMBAPREFIX=\"$(SAMBAPREFIX)\" -DHELPERSCRIPT=\"$(SMB_AUTH_HELPER_PATH)\"
-diff -Naur squid-2.7.STABLE2-orig/src/Makefile.in squid-2.7.STABLE2/src/Makefile.in
---- squid-2.7.STABLE2-orig/src/Makefile.in 2008-01-02 20:16:40.000000000 -0500
-+++ squid-2.7.STABLE2/src/Makefile.in 2008-06-09 21:34:39.000000000 -0400
-@@ -653,13 +653,13 @@
- DEFAULT_CONFIG_FILE = $(sysconfdir)/squid.conf
- DEFAULT_MIME_TABLE = $(sysconfdir)/mime.conf
- DEFAULT_DNSSERVER = $(libexecdir)/`echo dnsserver | sed '$(transform);s/$$/$(EXEEXT)/'`
--DEFAULT_LOG_PREFIX = $(localstatedir)/logs
-+DEFAULT_LOG_PREFIX = $(localstatedir)/log/squid
- DEFAULT_CACHE_LOG = $(DEFAULT_LOG_PREFIX)/cache.log
- DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFIX)/access.log
- DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
--DEFAULT_PID_FILE = $(DEFAULT_LOG_PREFIX)/squid.pid
-+DEFAULT_PID_FILE = $(localstatedir)/run/squid.pid
- DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
--DEFAULT_SWAP_DIR = $(localstatedir)/cache
-+DEFAULT_SWAP_DIR = $(localstatedir)/cache/squid
- DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
- DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
- DEFAULT_DISKD = $(libexecdir)/`echo diskd-daemon | sed '$(transform);s/$$/$(EXEEXT)/'`
-diff -Naur squid-2.7.STABLE2-orig/src/cf.data.pre squid-2.7.STABLE2/src/cf.data.pre
---- squid-2.7.STABLE2-orig/src/cf.data.pre 2008-05-31 16:49:45.000000000 -0400
-+++ squid-2.7.STABLE2/src/cf.data.pre 2008-06-09 21:35:43.000000000 -0400
-@@ -3749,7 +3749,7 @@
-
- NAME: cache_effective_user
- TYPE: string
--DEFAULT: nobody
-+DEFAULT: proxy
- LOC: Config.effectiveUser
- DOC_START
- If you start Squid as root, it will change its effective/real
-@@ -3763,7 +3763,7 @@
-
- NAME: cache_effective_group
- TYPE: string
--DEFAULT: none
-+DEFAULT: proxy
- LOC: Config.effectiveGroup
- DOC_START
- If you want Squid to run with a specific GID regardless of
diff --git a/extra/swfdec-mozilla/PKGBUILD b/extra/swfdec-mozilla/PKGBUILD
deleted file mode 100644
index d9503119b..000000000
--- a/extra/swfdec-mozilla/PKGBUILD
+++ /dev/null
@@ -1,21 +0,0 @@
-#$Id: PKGBUILD 17042 2008-10-24 15:55:09Z andyrtr $
-#Maintainer: Jan de Groot <jgc@archlinux.org>
-
-pkgname=swfdec-mozilla
-pkgver=0.8.2
-pkgrel=1
-pkgdesc="free plugin for Mozilla browsers that uses the Swfdec library for playing SWF files"
-arch=('i686' 'x86_64')
-url="http://swfdec.freedesktop.org"
-license=('LGPL')
-depends=("swfdec>=$pkgver")
-source=(http://swfdec.freedesktop.org/download/swfdec-mozilla/0.8/${pkgname}-${pkgver}.tar.gz)
-options=('!libtool')
-md5sums=('716632e0d35b3c1582c180569ba30346')
-
-build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --disable-static --with-plugin-dir=/usr/lib/mozilla/plugins/
- make || return 1
- make DESTDIR=${startdir}/pkg install
-}
diff --git a/extra/swfdec/PKGBUILD b/extra/swfdec/PKGBUILD
deleted file mode 100644
index 974c85aa9..000000000
--- a/extra/swfdec/PKGBUILD
+++ /dev/null
@@ -1,25 +0,0 @@
-#$Id: PKGBUILD 64546 2010-01-21 03:43:49Z eric $
-#Maintainer: Andreas Radke <andyrtr@archlinux.org>
-
-pkgname=swfdec
-pkgver=0.8.4
-pkgrel=2
-pkgdesc="free library for decoding and rendering Flash animations"
-arch=('i686' 'x86_64')
-url="http://swfdec.freedesktop.org"
-license=('LGPL')
-depends=('alsa-lib>=1.0.18' 'liboil>=0.3.15' 'gtk2>=2.14.6' 'libsoup>=2.24.2.1-1')
-makedepends=('pkgconfig' 'gstreamer0.10-ffmpeg>=0.10.6-1')
-optdepends=('gstreamer0.10-base: required for various audio and video formats'
- 'gstreamer0.10-ffmpeg: most common audio/video format for internet flash')
-source=(http://swfdec.freedesktop.org/download/swfdec/0.8/${pkgname}-${pkgver}.tar.gz)
-md5sums=('aece501d0e73f3e564200a44ec03c385')
-options=('!libtool' '!emptydirs')
-
-build() {
- cd ${startdir}/src/${pkgname}-${pkgver}
- ./configure --prefix=/usr --disable-static --enable-gtk \
- --enable-gstreamer --enable-soup --with-audio=alsa
- make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
-}
diff --git a/extra/xfce4-xfapplet-plugin/PKGBUILD b/extra/xfce4-xfapplet-plugin/PKGBUILD
deleted file mode 100644
index 8ff2ccebd..000000000
--- a/extra/xfce4-xfapplet-plugin/PKGBUILD
+++ /dev/null
@@ -1,32 +0,0 @@
-# $Id: PKGBUILD 105796 2011-01-11 20:47:13Z andyrtr $
-# Maintainer:
-# Contributor: Tobias Kieslich <tobias (at) archlinux.org>
-
-pkgname=xfce4-xfapplet-plugin
-pkgver=0.1.0
-pkgrel=7
-pkgdesc="plugin that allows to use gnome applets in the Xfce4 panel"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://xfce-goodies.berlios.de/"
-groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libxfcegui4' 'gnome-panel' 'gnome-panel-bonobo')
-makedepends=('')
-source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/0.1/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('6a06c44b18a97626f44a240ad3bc3244')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/ \
- --localstatedir=/var \
- --disable-static \
- --disable-debug
- make
-}
-
-package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
-}