From f48f6c82e23a3bacb8a0952c2d2cf9af1e6bf42d Mon Sep 17 00:00:00 2001 From: root Date: Wed, 21 Nov 2012 01:32:11 -0800 Subject: Wed Nov 21 01:32:09 PST 2012 --- extra/enlightenment17/PKGBUILD | 81 ++++++++++++++ extra/enlightenment17/e-applications.menu | 154 ++++++++++++++++++++++++++ extra/enlightenment17/enlightenment17.install | 12 ++ extra/enlightenment17/quickstart.patch | 13 +++ 4 files changed, 260 insertions(+) create mode 100644 extra/enlightenment17/PKGBUILD create mode 100644 extra/enlightenment17/e-applications.menu create mode 100644 extra/enlightenment17/enlightenment17.install create mode 100644 extra/enlightenment17/quickstart.patch (limited to 'extra/enlightenment17') diff --git a/extra/enlightenment17/PKGBUILD b/extra/enlightenment17/PKGBUILD new file mode 100644 index 000000000..1be3c2eef --- /dev/null +++ b/extra/enlightenment17/PKGBUILD @@ -0,0 +1,81 @@ +# $Id: PKGBUILD 171667 2012-11-20 22:00:14Z ronald $ +# Maintainer: Ronald van Haren +# Contributor: Gustavo Sverzut Barbieri + +pkgname=enlightenment17 +_pkgname=enlightenment +pkgver=0.17.0alpha3 +_pkgver=0.17.0-alpha3 +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') +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=('49cd7da3e1c8df96e388e58c654dbe7253b9a487' + 'e08cc63cb8a188a06705b42d03e032b9fcfa7ee5' + '3f53931ae86de8fe99e386aeb097521aac0decd8') + +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 + + ./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 +} + + diff --git a/extra/enlightenment17/e-applications.menu b/extra/enlightenment17/e-applications.menu new file mode 100644 index 000000000..69456c1d5 --- /dev/null +++ b/extra/enlightenment17/e-applications.menu @@ -0,0 +1,154 @@ + + + + + Applications + X-E-Menu-Applications.directory + + + + /etc/X11/applnk + /usr/share/gnome/apps + + + + + + + + + + + Accessories + Utility.directory + + + Utility + + Accessibility + System + + + + + + + Universal Access + Utility-Accessibility.directory + + + Accessibility + Settings + + + + + + + Development + Development.directory + + + Development + + emacs.desktop + + + + + + Education + Education.directory + + + Education + + + + + + + Games + Game.directory + + + Game + + + + + + + Graphics + Graphics.directory + + + Graphics + + + + + + + Internet + Network.directory + + + Network + + + + + + + Multimedia + AudioVideo.directory + + + AudioVideo + + + + + + + Office + Office.directory + + + Office + + + + + + + System + System-Tools.directory + + + System + Settings + + + + + + + Other + X-GNOME-Other.directory + + + + Core + Settings + Screensaver + + + + + diff --git a/extra/enlightenment17/enlightenment17.install b/extra/enlightenment17/enlightenment17.install new file mode 100644 index 000000000..1182e768f --- /dev/null +++ b/extra/enlightenment17/enlightenment17.install @@ -0,0 +1,12 @@ +post_install() { + update-mime-database usr/share/mime > /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/extra/enlightenment17/quickstart.patch b/extra/enlightenment17/quickstart.patch new file mode 100644 index 000000000..6b7f372dc --- /dev/null +++ b/extra/enlightenment17/quickstart.patch @@ -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; -- cgit v1.2.3-54-g00ecf