[arch-commits] Commit in enlightenment17/repos/extra-x86_64 (4 files)

Ronald van Haren ronald at archlinux.org
Sun Dec 2 21:56:07 UTC 2012


    Date: Sunday, December 2, 2012 @ 16:56:07
  Author: ronald
Revision: 172454

fix svn

Added:
  enlightenment17/repos/extra-x86_64/PKGBUILD
  enlightenment17/repos/extra-x86_64/e-applications.menu
  enlightenment17/repos/extra-x86_64/enlightenment17.install
  enlightenment17/repos/extra-x86_64/quickstart.patch

-------------------------+
 PKGBUILD                |   86 +++++++++++++++++++++++++
 e-applications.menu     |  154 ++++++++++++++++++++++++++++++++++++++++++++++
 enlightenment17.install |   17 +++++
 quickstart.patch        |   13 +++
 4 files changed, 270 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2012-12-02 21:56:07 UTC (rev 172454)
@@ -0,0 +1,86 @@
+# $Id: PKGBUILD 172451 2012-12-02 20:54:27Z ronald $
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Gustavo Sverzut Barbieri <barbieri at gmail.com>
+
+pkgname=enlightenment17
+_pkgname=enlightenment
+pkgver=0.17.0alpha7
+_pkgver=0.17.0-alpha7
+pkgrel=1
+pkgdesc="Enlightenment window manager DR17 (aka e17)"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+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' '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' 'sysactions_systemd.patch')
+sha1sums=('97ed2c936e6fa2385658f876a4099a029df43787'
+          'e08cc63cb8a188a06705b42d03e032b9fcfa7ee5'
+          '3f53931ae86de8fe99e386aeb097521aac0decd8'
+          '86f1c5e36dc274c3101362532378be034e89c593')
+
+build() {
+  cd "$srcdir/$_pkgname-$_pkgver"
+
+  export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}"
+  export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}"
+  export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed  ${LDFLAGS}"
+
+  patch -p0 < $srcdir/quickstart.patch
+
+  # default to systemd for sysactions
+  patch -Np0 < $srcdir/sysactions_systemd.patch 
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --libexecdir=/usr/lib/enlightenment  \
+    --enable-strict \
+    --disable-static \
+    --enable-pam \
+    --disable-device-hal \
+    --enable-device-udev \
+    --disable-mount-hal \
+    --enable-mount-udisks \
+    --enable-mount-eeze \
+    --enable-elementary \
+    --enable-emotion \
+    --enable-enotify \
+    --disable-ephysics \
+    --disable-wayland-clients \
+    --disable-conf-wallpaper2 \
+    --disable-illume2 \
+    --disable-physics \
+    --disable-doc
+  make
+}
+
+package() {
+  cd $srcdir/$_pkgname-$_pkgver
+
+  make DESTDIR=$pkgdir install
+
+# install license files
+  if [ -e $srcdir/$_pkgname-$_pkgver/COPYING ]; then
+    install -Dm644 $srcdir/$_pkgname-$_pkgver/COPYING \
+        $pkgdir/usr/share/licenses/$pkgname/COPYING
+  fi
+
+  if [ -e $srcdir/$_pkgname-$_pkgver/COPYING-PLAIN ]; then
+    install -Dm644 $srcdir/$_pkgname-$_pkgver/COPYING-PLAIN \
+        $pkgdir/usr/share/licenses/$pkgname/COPYING-PLAIN
+  fi
+
+  # install a default applications.menu file (mostly copy from gnome-menus)
+  install -Dm644 $srcdir/e-applications.menu \
+	$pkgdir/etc/xdg/menus/e-applications.menu
+}
+

Added: e-applications.menu
===================================================================
--- e-applications.menu	                        (rev 0)
+++ e-applications.menu	2012-12-02 21:56:07 UTC (rev 172454)
@@ -0,0 +1,154 @@
+<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
+ "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
+
+<Menu>
+
+  <Name>Applications</Name>
+  <Directory>X-E-Menu-Applications.directory</Directory>
+
+  <!-- Scan legacy dirs first, as later items take priority -->
+  <KDELegacyDirs/>
+  <LegacyDir>/etc/X11/applnk</LegacyDir>
+  <LegacyDir>/usr/share/gnome/apps</LegacyDir>
+
+  <!-- Read standard .directory and .desktop file locations -->
+  <DefaultAppDirs/>
+  <DefaultDirectoryDirs/>
+
+  <!-- Read in overrides and child menus from applications-merged/ -->
+  <DefaultMergeDirs/>
+
+  <!-- Accessories submenu -->
+  <Menu>
+    <Name>Accessories</Name>
+    <Directory>Utility.directory</Directory>
+    <Include>
+      <And>
+        <Category>Utility</Category>
+	<!-- Accessibility spec must have either the Utility or Settings
+	     category, and we display an accessibility submenu already for
+	     the ones that do not have Settings, so don't display accessibility
+	     applications here -->
+        <Not><Category>Accessibility</Category></Not>
+        <Not><Category>System</Category></Not>
+      </And>
+    </Include>
+  </Menu> <!-- End Accessories -->
+
+  <!-- Accessibility submenu -->
+  <Menu>
+    <Name>Universal Access</Name>
+    <Directory>Utility-Accessibility.directory</Directory>
+    <Include>
+      <And>
+        <Category>Accessibility</Category>
+        <Not><Category>Settings</Category></Not>
+      </And>
+    </Include>
+  </Menu> <!-- End Accessibility -->
+
+  <!-- Development Tools -->
+  <Menu>
+    <Name>Development</Name>
+    <Directory>Development.directory</Directory>
+    <Include>
+      <And>
+        <Category>Development</Category>
+      </And>
+      <Filename>emacs.desktop</Filename>
+    </Include>
+  </Menu> <!-- End Development Tools -->
+
+  <!-- Education -->
+  <Menu>
+    <Name>Education</Name>
+    <Directory>Education.directory</Directory>
+    <Include>
+      <And>
+        <Category>Education</Category>
+      </And>
+    </Include>
+  </Menu> <!-- End Education -->
+
+  <!-- Games -->
+  <Menu>
+    <Name>Games</Name>
+    <Directory>Game.directory</Directory>
+    <Include>
+      <And>
+        <Category>Game</Category>
+      </And>
+    </Include>
+  </Menu> <!-- End Games -->
+
+  <!-- Graphics -->
+  <Menu>
+    <Name>Graphics</Name>
+    <Directory>Graphics.directory</Directory>
+    <Include>
+      <And>
+        <Category>Graphics</Category>
+      </And>
+    </Include>
+  </Menu> <!-- End Graphics -->
+
+  <!-- Internet -->
+  <Menu>
+    <Name>Internet</Name>
+    <Directory>Network.directory</Directory>
+    <Include>
+      <And>
+        <Category>Network</Category>
+      </And>
+    </Include>
+  </Menu>   <!-- End Internet -->
+
+  <!-- Multimedia -->
+  <Menu>
+    <Name>Multimedia</Name>
+    <Directory>AudioVideo.directory</Directory>
+    <Include>
+      <And>
+        <Category>AudioVideo</Category>
+      </And>
+    </Include>
+  </Menu>   <!-- End Multimedia -->
+
+  <!-- Office -->
+  <Menu>
+    <Name>Office</Name>
+    <Directory>Office.directory</Directory>
+    <Include>
+      <And>
+        <Category>Office</Category>
+      </And>
+    </Include>
+  </Menu> <!-- End Office -->
+
+  <!-- System Tools-->
+  <Menu>
+    <Name>System</Name>
+    <Directory>System-Tools.directory</Directory>
+    <Include>
+      <And>
+        <Category>System</Category>
+        <Not><Category>Settings</Category></Not>
+      </And>
+    </Include>
+  </Menu>   <!-- End System Tools -->
+
+  <!-- Other -->
+  <Menu>
+    <Name>Other</Name>
+    <Directory>X-GNOME-Other.directory</Directory>
+    <OnlyUnallocated/>
+    <Include>
+      <And>
+        <Not><Category>Core</Category></Not>
+        <Not><Category>Settings</Category></Not>
+        <Not><Category>Screensaver</Category></Not>
+      </And>
+    </Include>
+  </Menu> <!-- End Other -->
+
+</Menu> <!-- End Applications -->

Added: enlightenment17.install
===================================================================
--- enlightenment17.install	                        (rev 0)
+++ enlightenment17.install	2012-12-02 21:56:07 UTC (rev 172454)
@@ -0,0 +1,17 @@
+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() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Added: quickstart.patch
===================================================================
--- quickstart.patch	                        (rev 0)
+++ quickstart.patch	2012-12-02 21:56:07 UTC (rev 172454)
@@ -0,0 +1,13 @@
+Index: src/bin/e_main.c
+===================================================================
+--- src/bin/e_main.c	(revision 78707)
++++ src/bin/e_main.c	(working copy)
+@@ -101,7 +101,7 @@
+ static Eina_Bool _e_main_cb_startup_fake_end(void *data __UNUSED__);
+ 
+ /* local variables */
+-static Eina_Bool really_know = EINA_FALSE;
++static Eina_Bool really_know = EINA_TRUE;
+ static Eina_Bool locked = EINA_FALSE;
+ static Eina_Bool inloop = EINA_FALSE;
+ static jmp_buf x_fatal_buff;




More information about the arch-commits mailing list