From db5d492a259efbcda264452d5af90d85aae56b59 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 22 Dec 2012 08:13:04 +0100 Subject: [PATCH] New package: enlightenment-0.17.0. --- srcpkgs/enlightenment-devel | 1 + .../enlightenment-devel.template | 11 ++ .../enlightenment/files/e-applications.menu | 154 ++++++++++++++++++ .../enlightenment/patches/quickstart.patch | 13 ++ .../patches/sysactions_systemd.patch | 17 ++ srcpkgs/enlightenment/template | 34 ++++ 6 files changed, 230 insertions(+) create mode 120000 srcpkgs/enlightenment-devel create mode 100644 srcpkgs/enlightenment/enlightenment-devel.template create mode 100644 srcpkgs/enlightenment/files/e-applications.menu create mode 100644 srcpkgs/enlightenment/patches/quickstart.patch create mode 100644 srcpkgs/enlightenment/patches/sysactions_systemd.patch create mode 100644 srcpkgs/enlightenment/template diff --git a/srcpkgs/enlightenment-devel b/srcpkgs/enlightenment-devel new file mode 120000 index 0000000000..2b5fc9529d --- /dev/null +++ b/srcpkgs/enlightenment-devel @@ -0,0 +1 @@ +enlightenment \ No newline at end of file diff --git a/srcpkgs/enlightenment/enlightenment-devel.template b/srcpkgs/enlightenment/enlightenment-devel.template new file mode 100644 index 0000000000..053e9d523b --- /dev/null +++ b/srcpkgs/enlightenment/enlightenment-devel.template @@ -0,0 +1,11 @@ +# Template file for 'enlightenment-devel'. +# +noarch=yes +depends="efreet-devel ecore-devel edje-devel evas-devel + e_dbus-devel ${sourcepkg}>=${version}" +short_desc="${short_desc} -- development files" + +do_install() { + vmove usr/include usr + vmove usr/lib/pkgconfig usr/lib +} diff --git a/srcpkgs/enlightenment/files/e-applications.menu b/srcpkgs/enlightenment/files/e-applications.menu new file mode 100644 index 0000000000..69456c1d50 --- /dev/null +++ b/srcpkgs/enlightenment/files/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/srcpkgs/enlightenment/patches/quickstart.patch b/srcpkgs/enlightenment/patches/quickstart.patch new file mode 100644 index 0000000000..6b7f372dcf --- /dev/null +++ b/srcpkgs/enlightenment/patches/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; diff --git a/srcpkgs/enlightenment/patches/sysactions_systemd.patch b/srcpkgs/enlightenment/patches/sysactions_systemd.patch new file mode 100644 index 0000000000..02638bcf58 --- /dev/null +++ b/srcpkgs/enlightenment/patches/sysactions_systemd.patch @@ -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 diff --git a/srcpkgs/enlightenment/template b/srcpkgs/enlightenment/template new file mode 100644 index 0000000000..295d6b6027 --- /dev/null +++ b/srcpkgs/enlightenment/template @@ -0,0 +1,34 @@ +# Template file for 'enlightenment' +pkgname=enlightenment +version=0.17.0 +revision=1 +subpackages="${pkgname}-devel" +build_style=gnu-configure +configure_args="--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" +homepage="http://enlightenment.org" +short_desc="Enlightenment window manager DR17 (aka e17)" +maintainer="Juan RP " +license="BSD" +distfiles="http://download.enlightenment.org/releases/${pkgname}-${version}.tar.gz" +checksum=469a493c6f7fb2599912edb5ec17181554187c2845bb5290878f1eba9e04b258 + +conf_files="/etc/enlightenment/sysactions.conf" +provides="notification-daemon-0" + +depends="hicolor-icon-theme desktop-file-utils" +makedepends="pkg-config alsa-lib-devel pam-devel e_dbus-devel edje-devel + eeze-devel efreet-devel eio-devel elementary-devel xcb-util-keysyms-devel" + +post_install() { + vmkdir usr/share/licenses/${pkgname} + install -m644 COPYING* ${DESTDIR}/usr/share/licenses/${pkgname} + + vinstall ${FILESDIR}/e-applications.menu 644 etc/xdg/menus + + rm -rf ${DESTDIR}/usr/share/${pkgname}/doc +}