Date: Wednesday, October 2, 2013 @ 15:43:59 Author: foutrelis Revision: 195855
archrelease: copy trunk to testing-i686, testing-x86_64 Added: slim/repos/testing-i686/ slim/repos/testing-i686/PKGBUILD (from rev 195854, slim/trunk/PKGBUILD) slim/repos/testing-i686/slim-1.3.6-fix-libslim-libraries.patch (from rev 195854, slim/trunk/slim-1.3.6-fix-libslim-libraries.patch) slim/repos/testing-i686/slim.logrotate (from rev 195854, slim/trunk/slim.logrotate) slim/repos/testing-i686/slim.pam (from rev 195854, slim/trunk/slim.pam) slim/repos/testing-x86_64/ slim/repos/testing-x86_64/PKGBUILD (from rev 195854, slim/trunk/PKGBUILD) slim/repos/testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch (from rev 195854, slim/trunk/slim-1.3.6-fix-libslim-libraries.patch) slim/repos/testing-x86_64/slim.logrotate (from rev 195854, slim/trunk/slim.logrotate) slim/repos/testing-x86_64/slim.pam (from rev 195854, slim/trunk/slim.pam) -------------------------------------------------------+ testing-i686/PKGBUILD | 62 ++++++++++++++++ testing-i686/slim-1.3.6-fix-libslim-libraries.patch | 20 +++++ testing-i686/slim.logrotate | 9 ++ testing-i686/slim.pam | 7 + testing-x86_64/PKGBUILD | 62 ++++++++++++++++ testing-x86_64/slim-1.3.6-fix-libslim-libraries.patch | 20 +++++ testing-x86_64/slim.logrotate | 9 ++ testing-x86_64/slim.pam | 7 + 8 files changed, 196 insertions(+) Copied: slim/repos/testing-i686/PKGBUILD (from rev 195854, slim/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-10-02 13:43:59 UTC (rev 195855) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Thayer Williams <tha...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: Hugo Ideler <hugoide...@dse.nl> + +pkgname=slim +pkgver=1.3.6 +pkgrel=1 +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') +source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz + slim-1.3.6-fix-libslim-libraries.patch + slim.pam + slim.logrotate) +sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df' + '3dfa697f8c058390c7e02e7aba769475057ef8ddde945dc43b8cb7f9724dbda0' + 'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4' + '5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix installation path of slim.service + sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt + + patch -Np1 -i "$srcdir/slim-1.3.6-fix-libslim-libraries.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DUSE_PAM=yes \ + -DUSE_CONSOLEKIT=no + make +} + +package() { + cd "$srcdir/$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" + + # 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-fix-libslim-libraries.patch (from rev 195854, 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 2013-10-02 13:43:59 UTC (rev 195855) @@ -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.logrotate (from rev 195854, slim/trunk/slim.logrotate) =================================================================== --- testing-i686/slim.logrotate (rev 0) +++ testing-i686/slim.logrotate 2013-10-02 13:43:59 UTC (rev 195855) @@ -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 195854, slim/trunk/slim.pam) =================================================================== --- testing-i686/slim.pam (rev 0) +++ testing-i686/slim.pam 2013-10-02 13:43:59 UTC (rev 195855) @@ -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 195854, slim/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-10-02 13:43:59 UTC (rev 195855) @@ -0,0 +1,62 @@ +# $Id$ +# Maintainer: Evangelos Foutras <evange...@foutrelis.com> +# Contributor: Gaetan Bisson <bis...@archlinux.org> +# Contributor: Thayer Williams <tha...@archlinux.org> +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: Hugo Ideler <hugoide...@dse.nl> + +pkgname=slim +pkgver=1.3.6 +pkgrel=1 +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') +source=(http://download.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz + slim-1.3.6-fix-libslim-libraries.patch + slim.pam + slim.logrotate) +sha256sums=('21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df' + '3dfa697f8c058390c7e02e7aba769475057ef8ddde945dc43b8cb7f9724dbda0' + 'b9a77a614c451287b574c33d41e28b5b149c6d2464bdb3a5274799842bca51a4' + '5bf44748b5003f2332d8b268060c400120b9100d033fa9d35468670d827f6def') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix installation path of slim.service + sed -i 's|set(LIBDIR "/lib")|set(LIBDIR "/usr/lib")|' CMakeLists.txt + + patch -Np1 -i "$srcdir/slim-1.3.6-fix-libslim-libraries.patch" +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_SKIP_RPATH=ON \ + -DUSE_PAM=yes \ + -DUSE_CONSOLEKIT=no + make +} + +package() { + cd "$srcdir/$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" + + # 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-fix-libslim-libraries.patch (from rev 195854, 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 2013-10-02 13:43:59 UTC (rev 195855) @@ -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.logrotate (from rev 195854, slim/trunk/slim.logrotate) =================================================================== --- testing-x86_64/slim.logrotate (rev 0) +++ testing-x86_64/slim.logrotate 2013-10-02 13:43:59 UTC (rev 195855) @@ -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 195854, slim/trunk/slim.pam) =================================================================== --- testing-x86_64/slim.pam (rev 0) +++ testing-x86_64/slim.pam 2013-10-02 13:43:59 UTC (rev 195855) @@ -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