[arch-commits] Commit in enlightenment17/trunk (3 files)

Ronald van Haren ronald at archlinux.org
Tue Nov 27 19:01:15 UTC 2012


    Date: Tuesday, November 27, 2012 @ 14:01:15
  Author: ronald
Revision: 172083

upgpkg: enlightenment17 0.17.0alpha6-1

update to 0.17.0alpha6; depends on udisks; optdepends on connman; switch to systemd for shutdown/sleep by default

Added:
  enlightenment17/trunk/sysactions_systemd.patch
Modified:
  enlightenment17/trunk/PKGBUILD
  enlightenment17/trunk/enlightenment17.install

--------------------------+
 PKGBUILD                 |   19 ++++++++++++-------
 enlightenment17.install  |    5 +++++
 sysactions_systemd.patch |   17 +++++++++++++++++
 3 files changed, 34 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-11-27 18:23:03 UTC (rev 172082)
+++ PKGBUILD	2012-11-27 19:01:15 UTC (rev 172083)
@@ -4,8 +4,8 @@
 
 pkgname=enlightenment17
 _pkgname=enlightenment
-pkgver=0.17.0alpha5
-_pkgver=0.17.0-alpha5
+pkgver=0.17.0alpha6
+_pkgver=0.17.0-alpha6
 pkgrel=1
 pkgdesc="Enlightenment window manager DR17 (aka e17)"
 arch=('i686' 'x86_64')
@@ -13,16 +13,19 @@
 license=('BSD')
 depends=('alsa-lib' 'pm-utils' 'pam' 'shared-mime-info' 'hicolor-icon-theme'
   'desktop-file-utils' 'e_dbus' 'edje' 'eeze' 'efreet'
-  'eio' 'elementary' 'xcb-util-keysyms')
+  'eio' 'elementary' 'xcb-util-keysyms' 'udisks' 'systemd')
+optdepends=('connman: network module')
 provides=('notification-daemon' 'e')
+
 backup=('etc/enlightenment/sysactions.conf')
 options=('!libtool' '!emptydirs')
 install=enlightenment17.install
 source=(http://download.enlightenment.org/releases/$_pkgname-$_pkgver.tar.gz
-  'e-applications.menu' 'quickstart.patch')
-sha1sums=('5d9fce8c1daabbadb5f4db8ea187d7a8340a5e31'
+  'e-applications.menu' 'quickstart.patch' 'sysactions_systemd.patch')
+sha1sums=('52d44b95a9fd2f4e9033ac65a4fd9ebcac70b9b0'
           'e08cc63cb8a188a06705b42d03e032b9fcfa7ee5'
-          '3f53931ae86de8fe99e386aeb097521aac0decd8')
+          '3f53931ae86de8fe99e386aeb097521aac0decd8'
+          '86f1c5e36dc274c3101362532378be034e89c593')
 
 build() {
   cd "$srcdir/$_pkgname-$_pkgver"
@@ -33,6 +36,9 @@
 
   patch -p0 < $srcdir/quickstart.patch
 
+  # default to systemd for sysactions
+  patch -Np0 < $srcdir/sysactions_systemd.patch 
+
   ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
@@ -78,4 +84,3 @@
 	$pkgdir/etc/xdg/menus/e-applications.menu
 }
 
-

Modified: enlightenment17.install
===================================================================
--- enlightenment17.install	2012-11-27 18:23:03 UTC (rev 172082)
+++ enlightenment17.install	2012-11-27 19:01:15 UTC (rev 172083)
@@ -1,6 +1,11 @@
 post_install() {
   update-mime-database usr/share/mime > /dev/null
   update-desktop-database -q
+
+cat << EOF
+Enlightenment is configured to use systemd by default for shutdown/sleep purposes. 
+This can be changed in /etc/enlightenment/sysactions.conf.
+EOF
 }
 
 post_upgrade() {

Added: sysactions_systemd.patch
===================================================================
--- sysactions_systemd.patch	                        (rev 0)
+++ sysactions_systemd.patch	2012-11-27 19:01:15 UTC (rev 172083)
@@ -0,0 +1,17 @@
+--- data/etc/sysactions.conf.in	2012-10-31 17:28:49.000000000 +0100
++++ data/etc/sysactions.conf.in.bak	2012-11-27 19:27:15.955334382 +0100
+@@ -43,10 +43,10 @@
+ # user and group name can use glob matches (* == all for example) like the
+ # shell. as can action names allowed or denied. 
+ 
+-action:   halt      /sbin/shutdown -h now
+-action:   reboot    /sbin/shutdown -r now
+-action:   suspend   @SUSPEND@
+-action:   hibernate @HIBERNATE@
++action:   halt      /usr/bin/systemctl poweroff
++action:   reboot    /usr/bin/systemctl reboot
++action:   suspend   /usr/bin/systemctl suspend
++action:   hibernate /usr/bin/systemctl hibernate
+ action:   /bin/mount /bin/mount
+ action:   /bin/umount /bin/umount
+ action:   /usr/bin/eject /usr/bin/eject




More information about the arch-commits mailing list