public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/
@ 2014-05-24 19:25 Davide Pesavento
  0 siblings, 0 replies; 4+ messages in thread
From: Davide Pesavento @ 2014-05-24 19:25 UTC (permalink / raw
  To: gentoo-commits

commit:     3689679276e46b350788a78f17bf1c60bbd08d20
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 19:25:41 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Sat May 24 19:25:41 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=36896792

[x11-misc/sddm] Delete unused files.

Package-Manager: portage-2.2.10

---
 x11-misc/sddm/files/Xsession                    | 69 -------------------
 x11-misc/sddm/files/pid-support.patch           | 52 --------------
 x11-misc/sddm/files/sddm-pm-utils-support.patch | 92 -------------------------
 3 files changed, 213 deletions(-)

diff --git a/x11-misc/sddm/files/Xsession b/x11-misc/sddm/files/Xsession
deleted file mode 100755
index 70cdc66..0000000
--- a/x11-misc/sddm/files/Xsession
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-#
-# Modified LightDM wrapper to run around X sessions.
-
-echo "Running X session wrapper"
-
-# Load profile
-for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do
-    if [ -f "$file" ]; then
-        echo "Loading profile from $file";
-        . "$file"
-    fi
-done
-
-# Load resources
-for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do
-    if [ -f "$file" ]; then
-        echo "Loading resource: $file"
-        xrdb -nocpp -merge "$file"
-    fi
-done
-
-# Load keymaps
-for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do
-    if [ -f "$file" ]; then
-        echo "Loading keymap: $file"
-        setxkbmap `cat "$file"`
-        XKB_IN_USE=yes
-    fi
-done    
-
-# Load xmodmap if not using XKB
-if [ -z "$XKB_IN_USE" ]; then
-    for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do
-        if [ -f "$file" ]; then
-           echo "Loading modmap: $file"
-           xmodmap "$file"
-        fi
-    done
-fi
-
-unset XKB_IN_USE
-
-## Run all system xinitrc shell scripts.
-#xinitdir="/etc/X11/xinit/xinitrc.d"
-#if [ -d "$xinitdir" ]; then
-#    for script in $xinitdir/*; do
-#        echo "Loading xinit script $script"
-#        if [ -x "$script" -a ! -d "$script" ]; then
-#            . "$script"
-#        fi
-#    done
-#fi
-
-# Load Xsession scripts
-#xsessionddir="/etc/X11/Sessions"
-#if [ -d "$xsessionddir" ]; then
-#    for i in `ls $xsessionddir`; do
-#        script="$xsessionddir/$i"
-#        echo "Loading X session script $script"
-#        if [ -r "$script"  -a -f "$script" ] && expr "$i" : '^[[:alnum:]_-]\+$' > /dev/null; then
-#            . "$script"
-#        fi
-#    done
-#fi
-
-echo "X session wrapper complete, running session $@"
-
-eval exec "$@"

diff --git a/x11-misc/sddm/files/pid-support.patch b/x11-misc/sddm/files/pid-support.patch
deleted file mode 100644
index f0299b1..0000000
--- a/x11-misc/sddm/files/pid-support.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 770b53b..2d4b2ef 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -92,6 +92,7 @@ set(DATA_INSTALL_DIR            "${CMAKE_INSTALL_PREFIX}/share/apps/sddm"   CACH
- set(SYS_CONFIG_DIR              "/etc"                                      CACHE PATH      "System config directory")
- set(DBUS_CONFIG_DIR             "${SYS_CONFIG_DIR}/dbus-1/system.d"         CACHE PATH      "DBus config files directory")
- 
-+set(PID_FILE			"/run/sddm.pid"                             CACHE PATH      "Path to pid file")
- set(CONFIG_FILE                 "${SYS_CONFIG_DIR}/sddm.conf"               CACHE PATH      "Path of the sddm config file")
- set(LOG_FILE                    "/var/log/sddm.log"                         CACHE PATH      "Path of the sddm log file")
- set(COMPONENTS_TRANSLATION_DIR  "${DATA_INSTALL_DIR}/translations"          CACHE PATH      "Components translations directory")
-diff --git a/src/common/Constants.h.in b/src/common/Constants.h.in
-index 75adfc6..1c9b9a5 100644
---- a/src/common/Constants.h.in
-+++ b/src/common/Constants.h.in
-@@ -28,5 +28,6 @@
- 
- #define CONFIG_FILE                 "@CONFIG_FILE@"
- #define LOG_FILE                    "@LOG_FILE@"
-+#define PID_FILE                    "@PID_FILE@"
- 
- #endif // SDDM_CONSTANTS_H
-diff --git a/src/daemon/DaemonApp.cpp b/src/daemon/DaemonApp.cpp
-index 9ad226b..b7d6cb5 100644
---- a/src/daemon/DaemonApp.cpp
-+++ b/src/daemon/DaemonApp.cpp
-@@ -33,6 +33,7 @@
- #include <QDebug>
- #include <QHostInfo>
- #include <QTimer>
-+#include <QFile>
- 
- #include <iostream>
- 
-@@ -50,6 +51,16 @@ namespace SDDM {
-         // log message
-         qDebug() << " DAEMON: Initializing...";
- 
-+        // Write PID File
-+        if ( ! QString(PID_FILE).isEmpty() ) {
-+            QFile pidFile(PID_FILE);
-+            QString pid = QString::number(QCoreApplication::applicationPid());
-+            if ( pidFile.open(QIODevice::WriteOnly | QIODevice::Text) ) {
-+                pidFile.write(pid.toLatin1().data(), qstrlen(pid.toLatin1().data()));
-+                pidFile.close();
-+            }
-+        }
-+
-         // create configuration
-         m_configuration = new Configuration(CONFIG_FILE, this);
- 

diff --git a/x11-misc/sddm/files/sddm-pm-utils-support.patch b/x11-misc/sddm/files/sddm-pm-utils-support.patch
deleted file mode 100644
index ca943cb..0000000
--- a/x11-misc/sddm/files/sddm-pm-utils-support.patch
+++ /dev/null
@@ -1,92 +0,0 @@
---- src/daemon/PowerManager.cpp	2014-02-14 14:52:22.248986025 -0500
-+++ PowerManager.cpp	2014-02-14 14:55:25.163990924 -0500
-@@ -23,6 +23,7 @@
- #include "DaemonApp.h"
- #include "Messages.h"
- 
-+#include <QFile>
- #include <QDBusConnectionInterface>
- #include <QDBusInterface>
- #include <QDBusReply>
-@@ -49,6 +50,59 @@
-         virtual void hybridSleep() const = 0;
-     };
- 
-+/**
-+ * PM-UTILS Backend (as failsafe only)
-+ */
-+
-+   class PMUtilsBackend : public PowerManagerBackend {
-+   public:
-+   	PMUtilsBackend() {
-+		
-+	}
-+
-+	~PMUtilsBackend() {
-+
-+	}
-+
-+	Capabilities capabilities() const {
-+		Capabilities caps = Capability::PowerOff | Capability::Reboot;
-+
-+		if(QProcess::execute("pm-is-supported --suspend"))
-+			caps |= Capability::Suspend;
-+
-+		if(QProcess::execute("pm-is-supported --hibernate"))
-+			caps |= Capability::Hibernate;
-+
-+		if(QProcess::execute("pm-is-supported --suspend-hybrid"))
-+			caps |= Capability::HybridSleep;
-+
-+
-+		return caps;
-+	}
-+
-+	        void powerOff() const {
-+			QProcess::execute(daemonApp->configuration()->haltCommand());
-+		}
-+
-+		void reboot() const {
-+			QProcess::execute(daemonApp->configuration()->rebootCommand());
-+		}
-+		
-+		void suspend() const {
-+			QProcess::execute("pm-suspend");
-+		}
-+		
-+		void hibernate() const {
-+			QProcess::execute("pm-hibernate");
-+		}
-+		
-+		void hybridSleep() const {
-+			QProcess::execute("pm-suspend-hybrid");
-+		}
-+
-+   };
-+
-+
-     /**********************************************/
-     /* UPOWER BACKEND                             */
-     /**********************************************/
-@@ -199,11 +253,20 @@
-         // check if upower interface exists
-         if (interface->isServiceRegistered(UPOWER_SERVICE))
-             m_backends << new UPowerBackend();
-+
-+	// check if pm-utils is installed
-+	QFile PMInstalled("/usr/bin/pm-is-supported");
-+
-+	//Only add pm-utils if no other option exists
-+	if(PMInstalled.exists() && m_backends.empty())
-+	{
-+		m_backends << new PMUtilsBackend();
-+	}
-     }
- 
-     PowerManager::~PowerManager() {
-         while (!m_backends.empty())
--            delete m_backends.takeFirst();
-+	     delete m_backends.takeFirst();
-     }
- 
-     Capabilities PowerManager::capabilities() const {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/
@ 2014-08-04 10:44 Jauhien Piatlicki
  0 siblings, 0 replies; 4+ messages in thread
From: Jauhien Piatlicki @ 2014-08-04 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     1eb67b9be0d5a0de870ef0c60f4ef51736c89cc2
Author:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  4 10:43:25 2014 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Mon Aug  4 10:43:25 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=1eb67b9b

[x11-misc/sddm] fix bug #518192

---
 x11-misc/sddm/files/sddm-9999-consolekit.patch | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/x11-misc/sddm/files/sddm-9999-consolekit.patch b/x11-misc/sddm/files/sddm-9999-consolekit.patch
index a5ac62a..acdfdc1 100644
--- a/x11-misc/sddm/files/sddm-9999-consolekit.patch
+++ b/x11-misc/sddm/files/sddm-9999-consolekit.patch
@@ -1,19 +1,13 @@
---- data/scripts/Xsession
-+++ data/scripts/Xsession
-@@ -74,13 +74,13 @@
+diff --git a/data/scripts/Xsession b/data/scripts/Xsession
+index a5d270d..4b48524 100755
+--- a/data/scripts/Xsession
++++ b/data/scripts/Xsession
+@@ -74,7 +74,7 @@ case $session in
      exec xterm -geometry 80x24-0-0
      ;;
-   custom)
--    exec $HOME/.xsession
-+    exec ck-launch-session $HOME/.xsession
-     ;;
-   default)
--    exec /usr/bin/startkde
-+    exec ck-launch-session /usr/bin/startkde
-     ;;
    *)
 -    eval exec "$session"
-+    eval ck-launch-session "$session"
++    eval exec ck-launch-session "$session"
      ;;
  esac
  exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/
@ 2016-10-28 13:06 Michael Palimaka
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Palimaka @ 2016-10-28 13:06 UTC (permalink / raw
  To: gentoo-commits

commit:     f35a07ec72e72b4220a941d1442b6d81606a7a0d
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 13:05:46 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 13:05:54 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=f35a07ec

x11-misc/sddm: rebase consolekit patch

Gentoo-bug: 595658

Package-Manager: portage-2.3.2

 x11-misc/sddm/files/sddm-9999-consolekit.patch | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/x11-misc/sddm/files/sddm-9999-consolekit.patch b/x11-misc/sddm/files/sddm-9999-consolekit.patch
index acdfdc1..692ee17 100644
--- a/x11-misc/sddm/files/sddm-9999-consolekit.patch
+++ b/x11-misc/sddm/files/sddm-9999-consolekit.patch
@@ -1,13 +1,11 @@
 diff --git a/data/scripts/Xsession b/data/scripts/Xsession
-index a5d270d..4b48524 100755
+index 0c923a8..eae4f28 100755
 --- a/data/scripts/Xsession
 +++ b/data/scripts/Xsession
-@@ -74,7 +74,7 @@ case $session in
-     exec xterm -geometry 80x24-0-0
-     ;;
-   *)
--    eval exec "$session"
-+    eval exec ck-launch-session "$session"
-     ;;
- esac
- exec xmessage -center -buttons OK:0 -default OK "Sorry, cannot execute $session. Check $DESKTOP_SESSION.desktop."
+@@ -91,5 +91,5 @@ fi
+ if [ -z "$@" ]; then
+     exec xmessage -center -buttons OK:0 -default OK "Sorry, $DESKTOP_SESSION is no valid session."
+ else
+-    exec $@
++    exec ck-launch-session $@
+ fi


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/
@ 2022-07-16 15:08 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-07-16 15:08 UTC (permalink / raw
  To: gentoo-commits

commit:     bf0725ff5d83277677e3216c6d7b84b8832f3b7e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 15:08:44 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 15:08:44 2022 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=bf0725ff

x11-misc/sddm: add missing sddm.tmpfiles

Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/sddm/files/sddm.tmpfiles | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-misc/sddm/files/sddm.tmpfiles b/x11-misc/sddm/files/sddm.tmpfiles
new file mode 100644
index 00000000..300d6461
--- /dev/null
+++ b/x11-misc/sddm/files/sddm.tmpfiles
@@ -0,0 +1 @@
+d /var/lib/sddm 0755 sddm sddm


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-16 15:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-16 15:08 [gentoo-commits] proj/qt:master commit in: x11-misc/sddm/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2016-10-28 13:06 Michael Palimaka
2014-08-04 10:44 Jauhien Piatlicki
2014-05-24 19:25 Davide Pesavento

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox