[arch-commits] Commit in slim/repos (14 files)

Jan de Groot jgc at nymeria.archlinux.org
Mon Apr 21 11:30:11 UTC 2014


    Date: Monday, April 21, 2014 @ 13:30:11
  Author: jgc
Revision: 211584

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  slim/repos/testing-i686/
  slim/repos/testing-i686/PKGBUILD
    (from rev 211583, slim/trunk/PKGBUILD)
  slim/repos/testing-i686/slim-1.3.6-add-sessiondir.patch
    (from rev 211583, slim/trunk/slim-1.3.6-add-sessiondir.patch)
  slim/repos/testing-i686/slim-1.3.6-fix-libslim-libraries.patch
    (from rev 211583, slim/trunk/slim-1.3.6-fix-libslim-libraries.patch)
  slim/repos/testing-i686/slim-1.3.6-systemd-session.patch
    (from rev 211583, slim/trunk/slim-1.3.6-systemd-session.patch)
  slim/repos/testing-i686/slim.logrotate
    (from rev 211583, slim/trunk/slim.logrotate)
  slim/repos/testing-i686/slim.pam
    (from rev 211583, slim/trunk/slim.pam)
  slim/repos/testing-x86_64/
  slim/repos/testing-x86_64/PKGBUILD
    (from rev 211583, slim/trunk/PKGBUILD)
  slim/repos/testing-x86_64/slim-1.3.6-add-sessiondir.patch
    (from rev 211583, slim/trunk/slim-1.3.6-add-sessiondir.patch)
  slim/repos/testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch
    (from rev 211583, slim/trunk/slim-1.3.6-fix-libslim-libraries.patch)
  slim/repos/testing-x86_64/slim-1.3.6-systemd-session.patch
    (from rev 211583, slim/trunk/slim-1.3.6-systemd-session.patch)
  slim/repos/testing-x86_64/slim.logrotate
    (from rev 211583, slim/trunk/slim.logrotate)
  slim/repos/testing-x86_64/slim.pam
    (from rev 211583, slim/trunk/slim.pam)

-------------------------------------------------------+
 testing-i686/PKGBUILD                                 |   70 ++++++++++++++++
 testing-i686/slim-1.3.6-add-sessiondir.patch          |   28 ++++++
 testing-i686/slim-1.3.6-fix-libslim-libraries.patch   |   20 ++++
 testing-i686/slim-1.3.6-systemd-session.patch         |   29 ++++++
 testing-i686/slim.logrotate                           |    9 ++
 testing-i686/slim.pam                                 |    7 +
 testing-x86_64/PKGBUILD                               |   70 ++++++++++++++++
 testing-x86_64/slim-1.3.6-add-sessiondir.patch        |   28 ++++++
 testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch |   20 ++++
 testing-x86_64/slim-1.3.6-systemd-session.patch       |   29 ++++++
 testing-x86_64/slim.logrotate                         |    9 ++
 testing-x86_64/slim.pam                               |    7 +
 12 files changed, 326 insertions(+)

Copied: slim/repos/testing-i686/PKGBUILD (from rev 211583, slim/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Hugo Ideler <hugoideler at dse.nl>
+
+pkgname=slim
+pkgver=1.3.6
+pkgrel=4
+pkgdesc="Desktop-independent graphical login manager for X11"
+arch=('i686' 'x86_64')
+url="http://slim.berlios.de/"
+license=('GPL2')
+depends=('pam' 'libxmu' 'libpng' 'libjpeg' 'libxft' 'libxrandr' 'xorg-xauth')
+makedepends=('cmake' 'freeglut')
+backup=('etc/slim.conf' 'etc/logrotate.d/slim' 'etc/pam.d/slim'
+        'etc/slimlock.conf')
+source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz
+        slim-1.3.6-fix-libslim-libraries.patch
+        slim-1.3.6-add-sessiondir.patch
+        slim-1.3.6-systemd-session.patch
+        slim.pam
+        slim.logrotate)
+sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df'
+            '3dfa697f8c058390c7e02e7aba769475057ef8ddde945dc43b8cb7f9724dbda0'
+            '0dffd53a69eb9033a67fad964df6fc150ee7a483e29d8eb8b559010fbd14e5fd'
+            '900b7ffe723b741c05bcc0ca857f300a2131a0029c6532eb17be935451bf2c70'
+            'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4'
+            '5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Fix installation path of slim.service
+  sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
+
+  patch -Np1 -i ../slim-1.3.6-fix-libslim-libraries.patch
+  patch -Np1 -i ../slim-1.3.6-add-sessiondir.patch
+  patch -Np1 -i ../slim-1.3.6-systemd-session.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DUSE_PAM=yes \
+    -DUSE_CONSOLEKIT=no
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/slim.pam" "$pkgdir/etc/pam.d/slim"
+  install -Dm644 "$srcdir/slim.logrotate" "$pkgdir/etc/logrotate.d/slim"
+  install -Dm644 slimlock.conf "$pkgdir/etc/slimlock.conf"
+
+  # Provide sane defaults
+  sed -i -e 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt07|' \
+         -e 's|/var/run/slim.lock|/var/lock/slim.lock|' \
+    "$pkgdir/etc/slim.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: slim/repos/testing-i686/slim-1.3.6-add-sessiondir.patch (from rev 211583, slim/trunk/slim-1.3.6-add-sessiondir.patch)
===================================================================
--- testing-i686/slim-1.3.6-add-sessiondir.patch	                        (rev 0)
+++ testing-i686/slim-1.3.6-add-sessiondir.patch	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,28 @@
+From 741e43960a4ea3a8bc230b1f599311d800c2cc83 Mon Sep 17 00:00:00 2001
+From: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
+Date: Wed, 02 Oct 2013 23:23:24 +0000
+Subject: Update slim.conf. Add sessiondir.
+
+Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
+---
+diff --git a/slim.conf b/slim.conf
+index a8e2e1c..c5f1d38 100644
+--- a/slim.conf
++++ b/slim.conf
+@@ -47,11 +47,9 @@ login_cmd           exec /bin/bash -login ~/.xinitrc %session
+ # options "-d" and "-nodaemon"
+ # daemon	yes
+ 
+-# Available sessions (first one is the default).
+-# The current chosen session name is replaced in the login_cmd
+-# above, so your login command can handle different sessions.
+-# see the xinitrc.sample file shipped with slim sources
+-sessions            xfce4,icewm-session,wmaker,blackbox
++# Set directory that contains the xsessions.
++# slim reads xsesion from this directory, and be able to select.
++sessiondir            /usr/share/xsessions/
+ 
+ # Executed when pressing F11 (requires imagemagick)
+ screenshot_cmd      import -window root /slim.png
+--
+cgit v0.9.2

Copied: slim/repos/testing-i686/slim-1.3.6-fix-libslim-libraries.patch (from rev 211583, slim/trunk/slim-1.3.6-fix-libslim-libraries.patch)
===================================================================
--- testing-i686/slim-1.3.6-fix-libslim-libraries.patch	                        (rev 0)
+++ testing-i686/slim-1.3.6-fix-libslim-libraries.patch	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,20 @@
+diff -upr slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
+--- slim-1.3.6.orig/CMakeLists.txt	2013-10-02 16:16:22.000000000 +0300
++++ slim-1.3.6/CMakeLists.txt	2013-10-02 16:19:57.000000000 +0300
+@@ -119,6 +119,7 @@ if(USE_PAM)
+ 	if(PAM_FOUND)
+ 		message("\tPAM Found")
+ 		set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
++		target_link_libraries(libslim ${PAM_LIBRARY})
+ 		target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
+ 		target_link_libraries(slimlock ${PAM_LIBRARY})
+ 		include_directories(${PAM_INCLUDE_DIR})
+@@ -178,6 +179,8 @@ include_directories(
+ )
+ 
+ target_link_libraries(libslim
++	${X11_Xft_LIB}
++	${X11_Xrandr_LIB}
+     ${JPEG_LIBRARIES}
+ 	${PNG_LIBRARIES}
+ )

Copied: slim/repos/testing-i686/slim-1.3.6-systemd-session.patch (from rev 211583, slim/trunk/slim-1.3.6-systemd-session.patch)
===================================================================
--- testing-i686/slim-1.3.6-systemd-session.patch	                        (rev 0)
+++ testing-i686/slim-1.3.6-systemd-session.patch	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,29 @@
+--- a/app.cpp	2013-10-23 16:19:57.074100282 -0400
++++ b/app.cpp	2013-10-23 16:33:13.302122574 -0400
+@@ -829,8 +829,13 @@
+ 
+ 	StopServer();
+ 	RemoveLock();
+-	while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
+-	Run();
++	if (force_nodaemon) {
++		delete LoginPanel;
++		exit(ERR_EXIT); /* use ERR_EXIT so that systemd's RESTART=on-failure works */
++	} else {
++		while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
++		Run();
++	}
+ }
+ 
+ void App::KillAllClients(Bool top) {
+--- a/slim.service	2013-10-23 16:19:57.074100282 -0400
++++ b/slim.service	2013-10-23 16:45:14.901142776 -0400
+@@ -4,6 +4,7 @@
+ 
+ [Service]
+ ExecStart=/usr/bin/slim -nodaemon
++Restart=on-failure
+ 
+ [Install]
+ Alias=display-manager.service
+Common subdirectories: slim-1.3.6/themes and slim-1.3.6.new/themes

Copied: slim/repos/testing-i686/slim.logrotate (from rev 211583, slim/trunk/slim.logrotate)
===================================================================
--- testing-i686/slim.logrotate	                        (rev 0)
+++ testing-i686/slim.logrotate	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,9 @@
+/var/log/slim.log {
+    compress
+    rotate 1
+    size 1024k
+    notifempty
+    missingok
+    copytruncate
+    noolddir
+}

Copied: slim/repos/testing-i686/slim.pam (from rev 211583, slim/trunk/slim.pam)
===================================================================
--- testing-i686/slim.pam	                        (rev 0)
+++ testing-i686/slim.pam	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+
+auth        include     system-local-login
+-auth       optional    pam_gnome_keyring.so
+account     include     system-local-login
+session     include     system-local-login
+-session    optional    pam_gnome_keyring.so auto_start

Copied: slim/repos/testing-x86_64/PKGBUILD (from rev 211583, slim/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Hugo Ideler <hugoideler at dse.nl>
+
+pkgname=slim
+pkgver=1.3.6
+pkgrel=4
+pkgdesc="Desktop-independent graphical login manager for X11"
+arch=('i686' 'x86_64')
+url="http://slim.berlios.de/"
+license=('GPL2')
+depends=('pam' 'libxmu' 'libpng' 'libjpeg' 'libxft' 'libxrandr' 'xorg-xauth')
+makedepends=('cmake' 'freeglut')
+backup=('etc/slim.conf' 'etc/logrotate.d/slim' 'etc/pam.d/slim'
+        'etc/slimlock.conf')
+source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz
+        slim-1.3.6-fix-libslim-libraries.patch
+        slim-1.3.6-add-sessiondir.patch
+        slim-1.3.6-systemd-session.patch
+        slim.pam
+        slim.logrotate)
+sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df'
+            '3dfa697f8c058390c7e02e7aba769475057ef8ddde945dc43b8cb7f9724dbda0'
+            '0dffd53a69eb9033a67fad964df6fc150ee7a483e29d8eb8b559010fbd14e5fd'
+            '900b7ffe723b741c05bcc0ca857f300a2131a0029c6532eb17be935451bf2c70'
+            'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4'
+            '5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # Fix installation path of slim.service
+  sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt
+
+  patch -Np1 -i ../slim-1.3.6-fix-libslim-libraries.patch
+  patch -Np1 -i ../slim-1.3.6-add-sessiondir.patch
+  patch -Np1 -i ../slim-1.3.6-systemd-session.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DUSE_PAM=yes \
+    -DUSE_CONSOLEKIT=no
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir/slim.pam" "$pkgdir/etc/pam.d/slim"
+  install -Dm644 "$srcdir/slim.logrotate" "$pkgdir/etc/logrotate.d/slim"
+  install -Dm644 slimlock.conf "$pkgdir/etc/slimlock.conf"
+
+  # Provide sane defaults
+  sed -i -e 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt07|' \
+         -e 's|/var/run/slim.lock|/var/lock/slim.lock|' \
+    "$pkgdir/etc/slim.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: slim/repos/testing-x86_64/slim-1.3.6-add-sessiondir.patch (from rev 211583, slim/trunk/slim-1.3.6-add-sessiondir.patch)
===================================================================
--- testing-x86_64/slim-1.3.6-add-sessiondir.patch	                        (rev 0)
+++ testing-x86_64/slim-1.3.6-add-sessiondir.patch	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,28 @@
+From 741e43960a4ea3a8bc230b1f599311d800c2cc83 Mon Sep 17 00:00:00 2001
+From: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
+Date: Wed, 02 Oct 2013 23:23:24 +0000
+Subject: Update slim.conf. Add sessiondir.
+
+Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
+---
+diff --git a/slim.conf b/slim.conf
+index a8e2e1c..c5f1d38 100644
+--- a/slim.conf
++++ b/slim.conf
+@@ -47,11 +47,9 @@ login_cmd           exec /bin/bash -login ~/.xinitrc %session
+ # options "-d" and "-nodaemon"
+ # daemon	yes
+ 
+-# Available sessions (first one is the default).
+-# The current chosen session name is replaced in the login_cmd
+-# above, so your login command can handle different sessions.
+-# see the xinitrc.sample file shipped with slim sources
+-sessions            xfce4,icewm-session,wmaker,blackbox
++# Set directory that contains the xsessions.
++# slim reads xsesion from this directory, and be able to select.
++sessiondir            /usr/share/xsessions/
+ 
+ # Executed when pressing F11 (requires imagemagick)
+ screenshot_cmd      import -window root /slim.png
+--
+cgit v0.9.2

Copied: slim/repos/testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch (from rev 211583, slim/trunk/slim-1.3.6-fix-libslim-libraries.patch)
===================================================================
--- testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch	                        (rev 0)
+++ testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,20 @@
+diff -upr slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
+--- slim-1.3.6.orig/CMakeLists.txt	2013-10-02 16:16:22.000000000 +0300
++++ slim-1.3.6/CMakeLists.txt	2013-10-02 16:19:57.000000000 +0300
+@@ -119,6 +119,7 @@ if(USE_PAM)
+ 	if(PAM_FOUND)
+ 		message("\tPAM Found")
+ 		set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
++		target_link_libraries(libslim ${PAM_LIBRARY})
+ 		target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
+ 		target_link_libraries(slimlock ${PAM_LIBRARY})
+ 		include_directories(${PAM_INCLUDE_DIR})
+@@ -178,6 +179,8 @@ include_directories(
+ )
+ 
+ target_link_libraries(libslim
++	${X11_Xft_LIB}
++	${X11_Xrandr_LIB}
+     ${JPEG_LIBRARIES}
+ 	${PNG_LIBRARIES}
+ )

Copied: slim/repos/testing-x86_64/slim-1.3.6-systemd-session.patch (from rev 211583, slim/trunk/slim-1.3.6-systemd-session.patch)
===================================================================
--- testing-x86_64/slim-1.3.6-systemd-session.patch	                        (rev 0)
+++ testing-x86_64/slim-1.3.6-systemd-session.patch	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,29 @@
+--- a/app.cpp	2013-10-23 16:19:57.074100282 -0400
++++ b/app.cpp	2013-10-23 16:33:13.302122574 -0400
+@@ -829,8 +829,13 @@
+ 
+ 	StopServer();
+ 	RemoveLock();
+-	while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
+-	Run();
++	if (force_nodaemon) {
++		delete LoginPanel;
++		exit(ERR_EXIT); /* use ERR_EXIT so that systemd's RESTART=on-failure works */
++	} else {
++		while (waitpid(-1, NULL, WNOHANG) > 0); /* Collects all dead childrens */
++		Run();
++	}
+ }
+ 
+ void App::KillAllClients(Bool top) {
+--- a/slim.service	2013-10-23 16:19:57.074100282 -0400
++++ b/slim.service	2013-10-23 16:45:14.901142776 -0400
+@@ -4,6 +4,7 @@
+ 
+ [Service]
+ ExecStart=/usr/bin/slim -nodaemon
++Restart=on-failure
+ 
+ [Install]
+ Alias=display-manager.service
+Common subdirectories: slim-1.3.6/themes and slim-1.3.6.new/themes

Copied: slim/repos/testing-x86_64/slim.logrotate (from rev 211583, slim/trunk/slim.logrotate)
===================================================================
--- testing-x86_64/slim.logrotate	                        (rev 0)
+++ testing-x86_64/slim.logrotate	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,9 @@
+/var/log/slim.log {
+    compress
+    rotate 1
+    size 1024k
+    notifempty
+    missingok
+    copytruncate
+    noolddir
+}

Copied: slim/repos/testing-x86_64/slim.pam (from rev 211583, slim/trunk/slim.pam)
===================================================================
--- testing-x86_64/slim.pam	                        (rev 0)
+++ testing-x86_64/slim.pam	2014-04-21 11:30:11 UTC (rev 211584)
@@ -0,0 +1,7 @@
+#%PAM-1.0
+
+auth        include     system-local-login
+-auth       optional    pam_gnome_keyring.so
+account     include     system-local-login
+session     include     system-local-login
+-session    optional    pam_gnome_keyring.so auto_start




More information about the arch-commits mailing list