diff options
-rw-r--r-- | pcr/consolekit/75-org.freedesktop.consolekit.rules | 11 | ||||
-rw-r--r-- | pcr/consolekit/PKGBUILD | 64 | ||||
-rw-r--r-- | pcr/consolekit/consolekit.tmpfiles.conf | 1 | ||||
-rw-r--r-- | pcr/consolekit/pam-foreground-compat.ck | 17 | ||||
-rw-r--r-- | pcr/lxdm-consolekit/PKGBUILD | 67 | ||||
-rw-r--r-- | pcr/lxdm-consolekit/Xsession | 71 | ||||
-rw-r--r-- | pcr/lxdm-consolekit/default-config.patch | 19 | ||||
-rw-r--r-- | pcr/lxdm-consolekit/git-fixes.patch | 93 | ||||
-rw-r--r-- | pcr/lxdm-consolekit/lxdm.install | 12 | ||||
-rw-r--r-- | pcr/lxdm-consolekit/lxdm.pam | 8 | ||||
-rw-r--r-- | pcr/openrc-ck/PKGBUILD | 55 | ||||
-rw-r--r-- | pcr/polkit-consolekit/PKGBUILD | 65 | ||||
-rw-r--r-- | pcr/polkit-consolekit/polkit.install | 15 | ||||
-rw-r--r-- | pcr/sddm-consolekit/PKGBUILD | 54 | ||||
-rw-r--r-- | pcr/sddm-consolekit/sddm-consolekit.patch | 9 | ||||
-rw-r--r-- | pcr/sddm-consolekit/sddm-pam_kwallet.patch | 10 | ||||
-rw-r--r-- | pcr/sddm-consolekit/sddm.conf | 105 | ||||
-rw-r--r-- | pcr/sddm-consolekit/sddm.install | 15 |
18 files changed, 0 insertions, 691 deletions
diff --git a/pcr/consolekit/75-org.freedesktop.consolekit.rules b/pcr/consolekit/75-org.freedesktop.consolekit.rules deleted file mode 100644 index e73e10755..000000000 --- a/pcr/consolekit/75-org.freedesktop.consolekit.rules +++ /dev/null @@ -1,11 +0,0 @@ -polkit.addRule(function(action, subject) { - if (action.id == "org.freedesktop.consolekit.system.stop" || - action.id == "org.freedesktop.consolekit.system.restart" || - action.id == "org.freedesktop.consolekit.system.hibernate" || - action.id == "org.freedesktop.consolekit.system.suspend" || - action.id == "org.freedesktop.consolekit.system.restart-multiple-users" || - action.id == "org.freedesktop.consolekit.system.suspend-multiple-users" || - action.id == "org.freedesktop.consolekit.system.stop-multiple-users") { - return polkit.Result.YES; - } -}); diff --git a/pcr/consolekit/PKGBUILD b/pcr/consolekit/PKGBUILD deleted file mode 100644 index 66ec02f92..000000000 --- a/pcr/consolekit/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer (Manjaro): artoo <artoo@manjaro.org> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -_pkgname=ConsoleKit2 - -pkgname=consolekit -pkgver=1.1.2 -pkgrel=1 -pkgdesc="A framework for defining and tracking users, login sessions, and seats" -arch=('i686' 'x86_64' 'armv7h') -url="https://github.com/ConsoleKit2/ConsoleKit2" -license=('GPL') -depends=('cgmanager' 'dbus' 'glib2' 'libx11' 'polkit-consolekit' 'libudev' 'zlib') -optdepends=('pm-utils: Suspend and hibernate power management' - 'consolekit-openrc: consolekit openrc initscript' - 'cgmanager-openrc: cgmanager openrc initscript') -makedepends=('xmlto' 'docbook-xsl' 'python') -options=('!libtool') -source=("$url/releases/download/$pkgver/$_pkgname-$pkgver.tar.bz2" - 'consolekit.tmpfiles.conf' - '75-org.freedesktop.consolekit.rules' - 'pam-foreground-compat.ck') - -sha256sums=('f4b26b45edf7416ed76052b8f85ea05b7b560c744edee8042575667528bc1f24' - '778552dc12b3c235bde200e476d4262da0c135f3f6f8b3e975a87881d1f154d1' - '9f356df83bcebe10c3c8e9d232c3e59aff49b83b980b61f9b97a5b4e0fa3ba3d' - 'ad9b8d7c92e73c5cff7a883724992008b6a0382b2466fd5f69720f112c1eb0f9') - -build(){ - cd $srcdir/$_pkgname-$pkgver - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --with-rundir=/run \ - --libexecdir=/usr/lib/ConsoleKit \ - --localstatedir=/var \ - --enable-polkit \ - --enable-pam-module \ - --enable-udev-acl \ - --enable-docbook-docs \ - --enable-cgroups \ - --with-dbus-services=/usr/share/dbus-1/services \ - --with-xinitrc-dir=/etc/X11/xinit/xinitrc.d \ - --with-pam-module-dir=/usr/lib/security \ - --without-systemdsystemunitdir - - make -} - -package() { - cd $srcdir/$_pkgname-$pkgver - make DESTDIR="$pkgdir" install - - install -Dm644 "$srcdir"/consolekit.tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/consolekit.conf - - rm -rf "${pkgdir}"/run - - install -dm 750 -o polkitd "${pkgdir}"/usr/share/polkit-1/rules.d - install -m 644 ${srcdir}/75-org.freedesktop.consolekit.rules $pkgdir/usr/share/polkit-1/rules.d/ - - install $srcdir/pam-foreground-compat.ck $pkgdir/usr/lib/ConsoleKit/run-session.d -} diff --git a/pcr/consolekit/consolekit.tmpfiles.conf b/pcr/consolekit/consolekit.tmpfiles.conf deleted file mode 100644 index 4ec125110..000000000 --- a/pcr/consolekit/consolekit.tmpfiles.conf +++ /dev/null @@ -1 +0,0 @@ -d /run/ConsoleKit 0755 - - - diff --git a/pcr/consolekit/pam-foreground-compat.ck b/pcr/consolekit/pam-foreground-compat.ck deleted file mode 100644 index 90b8081e4..000000000 --- a/pcr/consolekit/pam-foreground-compat.ck +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -TAGDIR=/run/console - -[ -n "$CK_SESSION_USER_UID" ] || exit 1 - -TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`" - -if [ "$1" = "session_added" ]; then - mkdir -p "$TAGDIR" - echo "$CK_SESSION_ID" >> "$TAGFILE" -fi - -if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then - sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE" - [ -s "$TAGFILE" ] || rm -f "$TAGFILE" -fi - diff --git a/pcr/lxdm-consolekit/PKGBUILD b/pcr/lxdm-consolekit/PKGBUILD deleted file mode 100644 index 5c400a691..000000000 --- a/pcr/lxdm-consolekit/PKGBUILD +++ /dev/null @@ -1,67 +0,0 @@ -# Contributor (Arch): Balló György <ballogyor+arch at gmail dot com> -# Contributor (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org> -# Contributor (Arch): AndyRTR <andyrtr@archlinux.org> -# Contributor (Arch): kiefer <jorgelmadrid@gmail.com> -# Maintainer (Arch): Aaditya Bagga <aaditya_gnulinux@zoho.com> -# Maintainer: David P. <megver83@openmailbox.org> -# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe> - -pkgname=lxdm-consolekit -_pkgname=lxdm -pkgver=0.5.3 -pkgrel=4 -pkgdesc='LXDM with consolekit support enabled' -arch=('armv7h' 'i686' 'x86_64') -url="https://sourceforge.net/projects/lxdm/" -license=('GPL') -depends=('gtk2' 'xorg-server' 'consolekit') -makedepends=('intltool' 'iso-codes') -optdepends=('gtk-engines: default GTK+ theme' - 'iso-codes: show language names in language chooser' - 'librsvg: display the default background') -conflicts=('lxdm') -provides=('lxdm') -install=$_pkgname.install -backup=('etc/lxdm/lxdm.conf' 'etc/pam.d/lxdm' 'etc/lxdm/Xsession' - 'etc/lxdm/PreLogin' 'etc/lxdm/LoginReady' 'etc/lxdm/PostLogin' - 'etc/lxdm/PostLogout' 'etc/lxdm/PreReboot' 'etc/lxdm/PreShutdown') -source=(https://downloads.sourceforge.net/lxdm/$_pkgname-$pkgver.tar.xz - git-fixes.patch - default-config.patch - lxdm.pam - Xsession) -sha256sums=('4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f' - 'ca3b225fb85a4e87ebb48e2b1a20f4bab86bf619a9ad927f08fdc819bc435bb4' - '9d0a942d857b641927ce908dc05802339ada09577e591f7bec2cd7630c46f4be' - '6f7b8078730c13a33ae8c82334d91f1c394e04cec6e667b2814cf7d3a0722957' - 'c55316e0083c6a8c6fe195e009f271d7cce1da04f04e1640848d76630decfebe') - -prepare(){ - cd $_pkgname-$pkgver - - # Apply fixes from git - patch -Np1 -i ../git-fixes.patch - - # Adjust Arch-specific settings - patch -Np1 -i ../default-config.patch - - # Use our custom pam and Xsession files - cp ../lxdm.pam pam/lxdm - cp ../Xsession data/Xsession - - # Support for pulseaudio - echo 'test -x /usr/bin/pax11publish && /usr/bin/pax11publish -r' >> data/PostLogout.in -} - -build() { - cd $_pkgname-$pkgver - ./configure --prefix=/usr --sbindir=/usr/bin --libexecdir=/usr/lib/lxdm \ - --sysconfdir=/etc --localstatedir=/var --with-systemdsystemunitdir=no - make -} - -package() { - cd $_pkgname-$pkgver - make DESTDIR="$pkgdir" install - chmod 644 "$pkgdir/etc/lxdm/lxdm.conf" -} diff --git a/pcr/lxdm-consolekit/Xsession b/pcr/lxdm-consolekit/Xsession deleted file mode 100644 index deba98d72..000000000 --- a/pcr/lxdm-consolekit/Xsession +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh -# -# LXDM wrapper to run around X sessions. - -echo "Running X session wrapper" - -if [ $# -eq 1 -a -n "$1" ]; then - LXSESSION=$1 -else -# default session - LXSESSION=/usr/bin/startlxde -fi - -# 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 - -echo "X session wrapper complete, running session $LXSESSION" - -if ! [ -z "$XDG_SESSION_COOKIE" ]; then - CK_XINIT_SESSION= -elif [ -x /usr/bin/ck-launch-session ]; then - CK_XINIT_SESSION="/usr/bin/ck-launch-session" -fi - -exec -l $SHELL -c "$CK_XINIT_SESSION \"$LXSESSION\"" - diff --git a/pcr/lxdm-consolekit/default-config.patch b/pcr/lxdm-consolekit/default-config.patch deleted file mode 100644 index 9aad1d786..000000000 --- a/pcr/lxdm-consolekit/default-config.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -Naur lxdm.orig/data/lxdm.conf.in lxdm/data/lxdm.conf.in ---- lxdm.orig/data/lxdm.conf.in 2013-08-30 17:56:16.097006000 +0200 -+++ lxdm/data/lxdm.conf.in 2013-09-04 01:54:12.942117085 +0200 -@@ -34,13 +34,13 @@ - gtk_theme=Clearlooks - - ## background of the greeter --bg=/usr/share/backgrounds/default.png -+# bg=/usr/share/backgrounds/default.png - - ## if show bottom pane - bottom_pane=1 - - ## if show language select control --lang=1 -+lang=0 - - ## if show keyboard layout select control - keyboard=0 diff --git a/pcr/lxdm-consolekit/git-fixes.patch b/pcr/lxdm-consolekit/git-fixes.patch deleted file mode 100644 index ee4f2147d..000000000 --- a/pcr/lxdm-consolekit/git-fixes.patch +++ /dev/null @@ -1,93 +0,0 @@ -diff --git a/data/themes/Industrial/gtk.css b/data/themes/Industrial/gtk.css -index 179f0d6..f8e6432 100644 ---- a/data/themes/Industrial/gtk.css -+++ b/data/themes/Industrial/gtk.css -@@ -17,6 +17,7 @@ - color: #000000; - } - -+#bottom_pane label, - #bottom_pane GtkLabel { - font: Sans 12; - color: #9E9D9B; -diff --git a/src/greeter-gdk.c b/src/greeter-gdk.c -index 1abbefa..ad3267a 100644 ---- a/src/greeter-gdk.c -+++ b/src/greeter-gdk.c -@@ -22,6 +22,7 @@ - - #define XLIB_ILLEGAL_ACCESS - -+#include <gtk/gtk.h> - #include <gdk/gdk.h> - #include <gdk/gdkx.h> - #include <gdk/gdkkeysyms.h> -@@ -88,12 +89,14 @@ static void on_ui_expose(void) - } - - cr=gdk_cairo_create(win); -+#if GTK_CHECK_VERSION(3,0,0) - cairo_pattern_t *pattern=gdk_window_get_background_pattern(win); - if(pattern) - { - cairo_set_source(cr,pattern); - cairo_paint(cr); - } -+#endif - - gdk_cairo_set_source_color(cr, &bg); - cairo_rectangle(cr, rc.x, rc.y, rc.width, rc.height); -diff --git a/src/greeter.c b/src/greeter.c -index 10b7f3f..03503b6 100644 ---- a/src/greeter.c -+++ b/src/greeter.c -@@ -146,7 +146,7 @@ static void switch_to_input_user(void) - if(user_list_scrolled) - gtk_widget_show(user_list_scrolled); - else -- gtk_widget_hide(user_list); -+ gtk_widget_show(user_list); - gtk_widget_grab_focus(user_list); - } - else -diff --git a/src/lxdm.c b/src/lxdm.c -index a37f051..722936f 100644 ---- a/src/lxdm.c -+++ b/src/lxdm.c -@@ -488,6 +490,9 @@ static char *lxsession_xserver_command(LXSession *s) - { - arg[arc++] = g_strdup("-nolisten"); - arg[arc++] = g_strdup("tcp"); -+ } else { -+ arg[arc++] = g_strdup("-listen"); -+ arg[arc++] = g_strdup("tcp"); - } - if(!novtswitch) - { -@@ -750,7 +755,13 @@ static char ** create_client_auth(struct passwd *pw,char **env) - if(xauth_write_file(authfile,s->display,s->mcookie)==-1) - { - g_free(authfile); -- authfile = g_strdup_printf("/var/run/lxdm/.Xauth%d",pw->pw_uid); -+ -+ gchar *authdir = g_strdup_printf("/var/run/lxdm/%d", pw->pw_uid); -+ g_mkdir_with_parents(authdir, S_IRWXU); -+ chown(authdir, pw->pw_uid, pw->pw_gid); -+ -+ authfile = g_strdup_printf("%s/.Xauthority", authdir); -+ g_free(authdir); - remove(authfile); - xauth_write_file(authfile,s->display,s->mcookie); - } -@@ -956,6 +967,11 @@ static void on_xserver_stop(void *data,int pid, int status) - s->dpy=NULL; - ui_drop(); - lxdm_startx(s); -+ #ifndef DISABLE_XAUTH -+ char temp[256]; -+ sprintf(temp,"/var/run/lxdm/lxdm-:%d.auth",s->display); -+ setenv("XAUTHORITY",temp,1); -+ #endif - ui_prepare(); - lxsession_set_active(s); - } diff --git a/pcr/lxdm-consolekit/lxdm.install b/pcr/lxdm-consolekit/lxdm.install deleted file mode 100644 index c07e7c6ca..000000000 --- a/pcr/lxdm-consolekit/lxdm.install +++ /dev/null @@ -1,12 +0,0 @@ -post_install() { - getent passwd lxdm > /dev/null 2>&1 && \ - usermod -L -c 'Lightweight X11 Display Manager' -d /var/lib/lxdm -s /sbin/nologin lxdm > /dev/null 2>&1 || \ - useradd -rM -c 'Lightweight X11 Display Manager' -d /var/lib/lxdm -s /sbin/nologin lxdm - mkdir -p /var/lib/lxdm - chown lxdm:lxdm /var/lib/lxdm - chmod 700 /var/lib/lxdm -} - -post_upgrade() { - post_install -} diff --git a/pcr/lxdm-consolekit/lxdm.pam b/pcr/lxdm-consolekit/lxdm.pam deleted file mode 100644 index 39c77d131..000000000 --- a/pcr/lxdm-consolekit/lxdm.pam +++ /dev/null @@ -1,8 +0,0 @@ -#%PAM-1.0 -auth include system-login --auth optional pam_gnome_keyring.so -account include system-login -password include system-login -session include system-login --session optional pam_gnome_keyring.so auto_start --session optional pam_ck_connector.so nox11 diff --git a/pcr/openrc-ck/PKGBUILD b/pcr/openrc-ck/PKGBUILD deleted file mode 100644 index b05698a19..000000000 --- a/pcr/openrc-ck/PKGBUILD +++ /dev/null @@ -1,55 +0,0 @@ -# Maintainer: David P. <megver83@parabola.nu> - -_url="https://raw.githubusercontent.com/gentoo/gentoo/master" - -pkgbase=openrc-ck -pkgname=('cgmanager-openrc' - 'consolekit-openrc') - -pkgver=20170311 -pkgrel=3 -pkgdesc="OpenRC init scripts" -arch=('any') -url="https://github.com/manjaro/packages-openrc" -license=('GPL2') -# groups=('openrc-desktop') -conflicts=('systemd-sysvcompat') -source=("consolekit.initd::${_url}/sys-auth/consolekit/files/consolekit-1.0.0.initd" - "cgproxy.initd::${_url}/app-admin/cgmanager/files/cgproxy.initd-r1" - "cgmanager.initd::${_url}/app-admin/cgmanager/files/cgmanager.initd-r1") -sha256sums=('c5e8db4e9d390bcaebcf203127a99b16d888a576d873920bd42dc56d20fa90c8' - '97220fa0af6dcaa9d2cb726620ee3de8e216e55bab37cea40e5ed010ed637e35' - 'f162685428a6593630daf5d636c198caf4992843ced977dc6d7288b7559a062c') - -#pkgver() { -# date +%Y%m%d -#} - -_inst_initd(){ - install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 - - sed -e 's|#!/sbin/runscript|#!/usr/bin/openrc-run|' \ - -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|' \ - -e 's|/var/run|/run|g' \ - -e 's|/usr/sbin|/usr/bin|g' \ - -i ${pkgdir}/etc/init.d/$1 -} - -_inst_confd(){ - install -Dm755 ${srcdir}/$1.confd ${pkgdir}/etc/conf.d/$1 -} - -package_cgmanager-openrc() { - pkgdesc="OpenRC cgmanager init script" - depends=('openrc' 'cgmanager') - - _inst_initd 'cgproxy' - _inst_initd 'cgmanager' -} - -package_consolekit-openrc() { - pkgdesc="OpenRC consolekit init script" - depends=('consolekit' 'dbus-openrc' 'cgmanager-openrc' 'udev-openrc') - - _inst_initd 'consolekit' -} diff --git a/pcr/polkit-consolekit/PKGBUILD b/pcr/polkit-consolekit/PKGBUILD deleted file mode 100644 index ff4fcfc1e..000000000 --- a/pcr/polkit-consolekit/PKGBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer (Manjaro): artoo <artoo@manjaro.org> -# Contributor (Manjaro): kozec <kozec at kozec.com> -# Contributor (Manjaro): Lukas Jirkovsky <l.jirkovsky@gmail.com> -# Contributor (Manjaro): Jan de Groot <jgc@archlinux.org> -# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> - -_pkgname=polkit - -pkgname=polkit-consolekit -pkgver=0.113+29+g3272a98 -pkgrel=4 -pkgdesc="PolyciKit with ConsoleKit support for non-systemd systems" -arch=('i686' 'x86_64' 'armv7h') -license=('LGPL') -url="http://www.freedesktop.org/wiki/Software/polkit" -depends=('glib2' 'pam' 'expat' 'js' 'udev') -makedepends=('intltool' 'gtk-doc' 'gobject-introspection' 'git' 'autoconf-archive') -provides=("polkit=$pkgver") -conflicts=('polkit') -options=('!libtool') -install=polkit.install -_commit=3272a988655c3236b55bad70e9a3af20857f384b -#source=("http://www.freedesktop.org/software/polkit/releases/$_pkgname-$pkgver.tar.gz") -source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit") -sha256sums=('SKIP') - -pkgver() { - cd $_pkgname - git describe --tags | sed 's/-/+/g' -} - -prepare() { - cd $_pkgname - NOCONFIGURE=1 ./autogen.sh -} - -build() { - cd $_pkgname #-$pkgver - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --sbindir=/usr/bin \ - --localstatedir=/var \ - --libexecdir=/usr/lib/polkit-1 \ - --enable-libsystemd-login=no \ - --disable-static \ - --enable-gtk-doc \ - --with-os-type=redhat - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make -} - -check() { - cd $_pkgname #-$pkgver - make -k check || : -} - -package() { - cd $_pkgname #-$pkgver - make DESTDIR="$pkgdir" install - - chown root:102 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d - chmod 750 "$pkgdir"/{etc,usr/share}/polkit-1/rules.d -} diff --git a/pcr/polkit-consolekit/polkit.install b/pcr/polkit-consolekit/polkit.install deleted file mode 100644 index 422db623c..000000000 --- a/pcr/polkit-consolekit/polkit.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - getent group polkitd || groupadd -g 102 polkitd - getent passwd polkitd || useradd -c 'Policy Kit Daemon' -u 102 -g polkitd -G proc -d '/' -s /usr/bin/nologin polkitd - passwd -l polkitd &>/dev/null -} - -post_upgrade() { - post_install - - if (( $(vercmp $2 0.113-6) < 0 )); then - usermod -aG proc -s /usr/bin/nologin polkitd - chown root:102 /{etc,usr/share}/polkit-1/rules.d - chmod 750 /{etc,usr/share}/polkit-1/rules.d - fi -} diff --git a/pcr/sddm-consolekit/PKGBUILD b/pcr/sddm-consolekit/PKGBUILD deleted file mode 100644 index e1ac8595b..000000000 --- a/pcr/sddm-consolekit/PKGBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Maintainer: David P. <megver83@parabola.nu> -# Contributor: artoo <artoo@manjaro.org> -# Contributor: Andrea Scarpino <andrea@archlinux.org> - -pkgname=sddm-consolekit -pkgver=0.16.0 -pkgrel=1 -pkgdesc='QML based X11 display manager' -arch=('armv7h' 'i686' 'x86_64') -url='http://github.com/sddm/sddm' -license=('GPL') -depends=('qt5-declarative' 'xorg-xauth' 'xorg-server' 'consolekit' 'eudev-systemd') -makedepends=('extra-cmake-modules' 'python-docutils' 'qt5-tools') -backup=('usr/share/sddm/scripts/Xsetup' - 'etc/pam.d/sddm' - 'etc/sddm.conf') -conflicts=('display-manager' 'sddm') -provides=('display-manager' 'sddm') -source=("${pkgname/-*/}-${pkgver}.tar.gz::https://github.com/${pkgname/-*/}/${pkgname/-*/}/archive/v${pkgver}.tar.gz" - "${pkgname/-*/}-consolekit.patch" - 'sddm.conf' - 'sddm.sysusers' - 'sddm.tmpfiles') -sha512sums=('c4a8fc4cb23e61defb8ca5a48bb9354cfa694057cb6fc3697f9dcd52a24b21e9a24568ae1f54810137468f3e0b198483cbb500c11f19f654267c40053f301abc' - 'aa53338c3e154982388b2e98101cd49e607f1744acee28f46892e3a6848f06de4ba8a8bf204128da1a7b22df9efe5d95bb6ac1cd5dedb8a301f8587af381253a' - 'dcd89ed3b8849438921529b99cb14644f56ddf9200b1de9f7242d65bc171f6ba573a636e4eeb6b2077cea63b961ce3e7e4c7013731057218657f13baab3e52e4' - '1fbc3476034774576801d91ed8edf3c1a7f3ae59023134e10c3950e1cf9a84319bf184a1df65762d8485ee4bdecb690fbf53cbf3de98feb38c538a5439b036e0' - 'bb5ecdcc6cfcc6b1056a7b10b8a6f323a3e12ea5496a26d80f199a275402fd99ed0fa810fad6687407605964f980784c24082686e177063113a358e1d4220136') - -prepare() { - mkdir -p build - cd ${pkgname/-*/}-${pkgver} - patch -p1 -i ${srcdir}/${pkgname/-*/}-consolekit.patch -} - -build() { - cd build - cmake ../${pkgname/-*/}-${pkgver} \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib/sddm \ - -DDBUS_CONFIG_FILENAME=sddm_org.freedesktop.DisplayManager.conf \ - -DBUILD_MAN_PAGES=ON - make -} - -package() { - cd build - make DESTDIR="${pkgdir}" install -# sed -e 's|pam_systemd.so|pam_ck_connector.so nox11|' -i ${pkgdir}/etc/pam.d/sddm-greeter - install -m 755 ${srcdir}/sddm.conf ${pkgdir}/etc - install -Dm644 "$srcdir"/sddm.sysusers "$pkgdir"/usr/lib/sysusers.d/sddm.conf - install -Dm644 "$srcdir"/sddm.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/sddm.conf -} diff --git a/pcr/sddm-consolekit/sddm-consolekit.patch b/pcr/sddm-consolekit/sddm-consolekit.patch deleted file mode 100644 index 64ea06482..000000000 --- a/pcr/sddm-consolekit/sddm-consolekit.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- a/data/scripts/Xsession 2016-08-28 14:52:04.910181422 +0200 -+++ b/data/scripts/Xsession 2016-08-28 14:53:07.157184480 +0200 -@@ -91,5 +91,5 @@ - 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 diff --git a/pcr/sddm-consolekit/sddm-pam_kwallet.patch b/pcr/sddm-consolekit/sddm-pam_kwallet.patch deleted file mode 100644 index ff1c4d2dd..000000000 --- a/pcr/sddm-consolekit/sddm-pam_kwallet.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/services/sddm.pam 2015-08-17 18:06:19.000000000 +0200 -+++ b/services/sddm.pam 2016-02-21 19:54:08.654091951 +0100 -@@ -4,3 +4,7 @@ - account include system-login - password include system-login - session include system-login -+-auth optional pam_kwallet.so kdehome=.kde4 -+-auth optional pam_kwallet5.so -+-session optional pam_kwallet.so -+-session optional pam_kwallet5.so auto_start diff --git a/pcr/sddm-consolekit/sddm.conf b/pcr/sddm-consolekit/sddm.conf deleted file mode 100644 index 78118cf56..000000000 --- a/pcr/sddm-consolekit/sddm.conf +++ /dev/null @@ -1,105 +0,0 @@ -[Autologin] -# Autologin again on session exit -Relogin=false - -# Autologin session -Session= - -# Autologin user -User= - - -[General] -# Halt command -HaltCommand=/usr/bin/shutdown -h -P - -# Initial NumLock state -# Valid values: on|off|none -# If property is set to none, numlock won't be changed -Numlock=none - -# Reboot command -RebootCommand=/usr/bin/shutdown -r now - - -[Theme] -# Current theme name -Current=breeze - -# Cursor theme -CursorTheme=breeze_cursors - -# Face icon directory -# The files should be in username.face.icon format -FacesDir=/usr/share/sddm/faces - -# Theme directory path -ThemeDir=/usr/share/sddm/themes - - -[Users] -# Default $PATH -DefaultPath=/bin:/usr/bin:/usr/local/bin - -# Hidden shells -# Users with these shells as their default won't be listed -HideShells= - -# Hidden users -HideUsers= - -# Maximum user id for displayed users -MaximumUid=60000 - -# Minimum user id for displayed users -MinimumUid=1000 - -# Remember the session of the last successfully logged in user -RememberLastSession=true - -# Remember the last successfully logged in user -RememberLastUser=true - - -[WaylandDisplay] -# Wayland session script path -# A script to execute when starting the desktop session -SessionCommand=/usr/share/sddm/scripts/wayland-session - -# Session description directory -SessionDir=/usr/share/wayland-sessions - - -[XDisplay] -# Xsetup script path -# A script to execute when starting the display server -DisplayCommand=/usr/share/sddm/scripts/Xsetup - -# Xstop script path -# A script to execute when stopping the display server -DisplayStopCommand=/usr/share/sddm/scripts/Xstop - -# Minimum VT -# The lowest virtual terminal number that will be used. -MinimumVT=7 - -# X server arguments -ServerArguments=-nolisten tcp - -# X server path -ServerPath=/usr/bin/X - -# Xsession script path -# A script to execute when starting the desktop session -SessionCommand=/usr/share/sddm/scripts/Xsession - -# Session description directory -SessionDir=/usr/share/xsessions - -# Xauth path -XauthPath=/usr/bin/xauth - -# Xephyr path -XephyrPath=/usr/bin/Xephyr - - diff --git a/pcr/sddm-consolekit/sddm.install b/pcr/sddm-consolekit/sddm.install deleted file mode 100644 index f078c1466..000000000 --- a/pcr/sddm-consolekit/sddm.install +++ /dev/null @@ -1,15 +0,0 @@ -post_install() { - if ! getent group sddm > /dev/null; then - groupadd --system sddm - fi - if ! getent passwd sddm > /dev/null; then - useradd -c "Simple Desktop Display Manager" --system -d /var/lib/sddm -s /usr/bin/nologin -g sddm sddm - passwd -l sddm > /dev/null - fi - mkdir -p /var/lib/sddm - chown -R sddm:sddm /var/lib/sddm > /dev/null -} - -post_upgrade() { - post_install $1 -} |