diff options
author | Francois Andriot <francois.andriot@free.fr> | 2012-01-03 18:44:26 +0100 |
---|---|---|
committer | Francois Andriot <francois.andriot@free.fr> | 2012-01-03 18:44:26 +0100 |
commit | e565534290c19c9f69d0672be1a79bc51e661a19 (patch) | |
tree | f4817598a3f61ac992971b2ee324b81cc475ccdf /redhat | |
parent | efc11b9c483323fff5945461b739d71e8c03ad75 (diff) | |
download | tde-packaging-e565534290c19c9f69d0672be1a79bc51e661a19.tar.gz tde-packaging-e565534290c19c9f69d0672be1a79bc51e661a19.zip |
RHEL/Fedora: removes useless files
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/kdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch~ | 51 | ||||
-rw-r--r-- | redhat/kdebase/kdebase-3.5.13-startkde_directories.patch~ | 118 |
2 files changed, 0 insertions, 169 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch~ b/redhat/kdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch~ deleted file mode 100644 index e17ae11b5..000000000 --- a/redhat/kdebase/kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch~ +++ /dev/null @@ -1,51 +0,0 @@ -Index: krandrapp.cpp -=================================================================== ---- kcontrol/randr/krandrapp.cpp (revision 1261452) -+++ kcontrol/randr/krandrapp.cpp (working copy) -@@ -28,13 +28,20 @@ - KRandRApp::KRandRApp() - : m_tray(new KRandRSystemTray(0L, "RANDRTray")) - { -+ connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent())); - m_tray->show(); - } - -+void KRandRApp::handleX11ConfigChangeEvent() -+{ -+ m_eventMergingTimer.stop(); -+ m_tray->configChanged(); -+} -+ - bool KRandRApp::x11EventFilter(XEvent* e) - { - if (e->type == m_tray->screenChangeNotifyEvent()) { -- m_tray->configChanged(); -+ m_eventMergingTimer.start(1000, TRUE); - } - return KApplication::x11EventFilter( e ); - } -Index: krandrapp.h -=================================================================== ---- kcontrol/randr/krandrapp.h (revision 1261452) -+++ kcontrol/randr/krandrapp.h (working copy) -@@ -19,6 +19,7 @@ - #ifndef KRANDRAPP_H - #define KRANDRAPP_H - -+#include <tqtimer.h> - #include <kuniqueapplication.h> - - class KRandRSystemTray; -@@ -32,8 +33,12 @@ - - virtual bool x11EventFilter(XEvent * e); - -+private slots: -+ void handleX11ConfigChangeEvent(); -+ - private: - KRandRSystemTray* m_tray; -+ TQTimer m_eventMergingTimer; - }; - - #endif diff --git a/redhat/kdebase/kdebase-3.5.13-startkde_directories.patch~ b/redhat/kdebase/kdebase-3.5.13-startkde_directories.patch~ deleted file mode 100644 index 0ac005184..000000000 --- a/redhat/kdebase/kdebase-3.5.13-startkde_directories.patch~ +++ /dev/null @@ -1,118 +0,0 @@ ---- kdebase/startkde.ORI 2011-12-12 20:09:21.984162840 +0100 -+++ kdebase/startkde 2011-12-12 20:08:27.922834925 +0100 -@@ -4,6 +4,7 @@ - # - - echo "[startkde] Starting startkde." 1>&2 -+export KDEDIR="/opt/trinity" - - # When the X server dies we get a HUP signal from xinit. We must ignore it - # because we still need to do some cleanup. -@@ -74,39 +75,10 @@ - echo "[startkde] KDEHOME is preset to $KDEHOME." 1>&2 - export KDEHOME=$KDEHOME - else -- # $KDEHOME is NOT already preset in the environment. Try to help. -- # This might be overkill but does provide flexibility. -+ # $KDEHOME is NOT already preset in the environment. -+ # We always use ~/.trinity as default. - echo "[startkde] KDEHOME is not set." 1>&2 -- if [ -d $HOME/.trinity ]; then -- # OK, this one is obvious. -- export KDEHOME=$HOME/.trinity -- elif [ -d $HOME/.trinity ]; then -- # Looks like the user had an old version of Trinity installed at last login -- echo "[startkde] Migrating old ~/.trinity directory to new ~/.trinity name." 1>&2 -- mv $HOME/.trinity $HOME/.trinity -- export KDEHOME=$HOME/.trinity -- elif [ -f /usr/bin/kde4-config ]; then -- # Looks like KDE4 is installed. -- if [ -d $HOME/.kde ] && [ ! -d $HOME/.trinity ]; then -- # Presume $HOME/.kde is being used for KDE4 as it already exists. -- export KDEHOME=$HOME/.trinity -- else -- # Presume $HOME/.kde is being used for KDE4 to be on the safe side. -- export KDEHOME=$HOME/.trinity -- fi -- elif [ -f /opt/trinity/bin/kde-config ]; then -- # Looks like KDE3 or Trinity is installed and playing second fiddle to KDE4. -- export KDEHOME=$HOME/.trinity -- elif [ -f /opt/trinity/bin/kde-config ]; then -- # Looks like KDE3 or Trinity is installed and playing second fiddle to KDE4. -- export KDEHOME=$HOME/.trinity -- elif [ -f /usr/bin/kde-config ] && [ -d $HOME/.kde ]; then -- # Looks like KDE3 or Trinity is installed and not playing second fiddle to KDE4. -- export KDEHOME=$HOME/.kde -- else -- # Resort to this and hope for the best! -- export KDEHOME=$HOME/.trinity -- fi -+ export KDEHOME=$HOME/.trinity - echo "[startkde] Set KDEHOME to $KDEHOME." 1>&2 - fi - -@@ -117,51 +89,25 @@ - fi - - # Modify the following environment variables only as necessary. --if [ -d /opt/trinity/games ]; then -- export PATH=/opt/trinity/games:$PATH --fi --if [ -d /opt/trinity/bin ]; then -- export PATH=/opt/trinity/bin:$PATH --fi --if [ -d /opt/trinity/games ]; then -- export PATH=/opt/trinity/games:$PATH --fi --if [ -d /opt/trinity/bin ]; then -- export PATH=/opt/trinity/bin:$PATH --fi --if [ -d /opt/trinity/share ]; then -- export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/trinity/share/:/usr/share/ --fi --if [ -d /opt/trinity/share ]; then -- export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/trinity/share/:/usr/share/ -+if [ -d ${KDEDIR}/games ]; then -+ export PATH=${KDEDIR}/games:$PATH - fi --if [ -d /opt/trinity/etc/xdg ]; then -- export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/trinity/etc/xdg/:/etc/xdg/ -+if [ -d ${KDEDIR}/bin ]; then -+ export PATH=${KDEDIR}/bin:$PATH - fi --if [ -d /opt/trinity/etc/xdg ]; then -- export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/trinity/etc/xdg/:/etc/xdg/ -+if [ -d ${KDEDIR}/share ]; then -+ export XDG_DATA_DIRS=$XDG_DATA_DIRS:${KDEDIR}/share/:/usr/share/ - fi --if [ -d /opt/trinity/share/man ]; then -- export MANPATH=/opt/trinity/share/man:$MANPATH -+if [ -d ${KDEDIR}/etc/xdg ]; then -+ export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:${KDEDIR}/etc/xdg/:/etc/xdg/ - fi --if [ -d /opt/trinity/share/man ]; then -- export MANPATH=/opt/trinity/share/man:$MANPATH --fi --if [ -d /opt/trinity ]; then -- if [ -n "$KDEDIRS" ]; then -- export KDEDIRS=$KDEDIRS:/opt/trinity/:/usr/ -- else -- export KDEDIRS=/opt/trinity/:/usr/ -- fi --fi --if [ -d /opt/trinity ]; then -- if [ -n "$KDEDIRS" ]; then -- export KDEDIRS=$KDEDIRS:/opt/trinity/:/usr/ -- else -- export KDEDIRS=/opt/trinity/:/usr/ -- fi -+if [ -d ${KDEDIR}/share/man ]; then -+ export MANPATH=${KDEDIR}/share/man:$MANPATH - fi - -+# The TDE directory must be first in $KDEDIRS -+export KDEDIRS=${KDEDIR}/:$KDEDIRS:/usr/ -+ - test -n "$KDEHOME" && kdehome=`echo "$KDEHOME" | sed "s,^~/,$HOME/,"` - echo "[startkde] kdehome: $kdehome" 1>&2 - |