diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /x11-wm/enlightenment | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'x11-wm/enlightenment')
-rw-r--r-- | x11-wm/enlightenment/Manifest | 4 | ||||
-rw-r--r-- | x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild | 102 | ||||
-rw-r--r-- | x11-wm/enlightenment/files/enlightenment-0.22.4-efl-1.22-wayland.patch | 65 | ||||
-rw-r--r-- | x11-wm/enlightenment/metadata.xml | 1 |
4 files changed, 171 insertions, 1 deletions
diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest index 645bc6083d0d..0cc9e051ad3f 100644 --- a/x11-wm/enlightenment/Manifest +++ b/x11-wm/enlightenment/Manifest @@ -1,6 +1,8 @@ +AUX enlightenment-0.22.4-efl-1.22-wayland.patch 2288 BLAKE2B 6e8a9f4d47318372c06a74bb6e3c233c36f9e57332519e706602a0472285e0b249c45d3d6fbd3074d6d720f157b6ddcf1a37da60b60f52908ee0f006a9e11239 SHA512 7ba3e501d7df99aa3f0336c1db09edaf5b2acd9eb6d2ad4f8465d92c595edd2b85e6a16c1408dc75502d73778cd2634ce2f409319887f6e53707208cd4128335 AUX gentoo-sysactions.conf 3056 BLAKE2B 155b0826c544a5a4829214b4b43d49e2dad455d041f0afc7077dc44780d12bd1a99a1bc94bb5a4a9ba21f59f679e1d4c82609791ee5a5e9828543b1e9154fae5 SHA512 688f02cbff0d50a847eb08ca7832699b836adca9b22e15a780943a8e5a8213aac04b335cfdf3cb96adbff238f681ae8954a720153e8e35b2afaba3225d53206a DIST enlightenment-0.22.3.tar.xz 25648576 BLAKE2B 1abb1fab18c5932b65f1183875bbe0955ce1d608758af0855c550f5581c774bd19dd0b6c8dd8c724b668ff843e1ed4928531f30b60436d9182a07a65fa2af9e3 SHA512 01a9386ee009c76c46cee7176cdeb7f4e97977bdd5014caa51cceeff228ad72f97a362d1eff7e0240e3e2df8b24a6c9d1516c8ab05bd82d288abcfde0d171abd DIST enlightenment-0.22.4.tar.xz 25656972 BLAKE2B 5e24e226e5f9295d27658656aefaf39cc80ad3634ba1937ef1a3c8e1adeba8cf3cbab2c43cb9e80ac298107a7a64e248ff252084b19c26a974ffff9eb9e6c3fa SHA512 9f4366bfed4d65e7baaeffd4f5b8ba6febf6f9888e6156dd3e100c9fca42c377f76f156f3dd1f6ab97745ffcb69e1e8d320937e41333797580624a9b74d298ba EBUILD enlightenment-0.22.3.ebuild 2761 BLAKE2B afd66034af88b166bec62657b0d5d058697178fb42f94184f6bf099526d1755ba317fd96142a9ddd7590bcc65548b30fa06e1db75828fee67583e6bfcb270612 SHA512 5a32871dfa8c5671efc1870249411ca1ecd3b61737cdf11b7f662006293456083ea95223ea2e8b5033952fa1d96494ca437f1a24c34fcfc6c8d99cc400ab275f +EBUILD enlightenment-0.22.4-r1.ebuild 2202 BLAKE2B 452b356c54a8f77a1cc81b8ec7cd9417f62c19a836c7ca2e1c3896ecdce46134c866c50d7ac033fa335a80f9622318fcf8c90185705292124eed3562dd8029f2 SHA512 b2388a95bb84e8e63ba500514360d144549816125465a33b1494f1f6a3ac6a4804d41672017d6df9dae440e37f4c38e030214254447167c5edf30001a6cca1a3 EBUILD enlightenment-0.22.4.ebuild 2188 BLAKE2B e5edf01ab49f61a0318e0669f9193482bd713e3bdae5167f73d69d1eedfd3f233dec84f02711fbc39f59d3ef592ff1c1406ea605ed2f541e55a913c35f6ff8b6 SHA512 6082de94db744272db7ea7f767b6c3ef5d4320cabdd65c724248f17ba995c4ca9d914374101b6449a201275adc20ad4d580d59f40b3bdab4e853559467869a78 -MISC metadata.xml 823 BLAKE2B b52bcbb857584b986c8b371cbc8d743cbb6510817c93bce44b46bd42025a35b7d3f98ce3e409b37f2f2da32228e8daa6baa7a8408b4a223d735113a857197351 SHA512 8a31834065385bed8e7e5ce79dbdd53e8f3a321cfd0c386bf30c4951d2212c6aaac8712f643f442ce566ad22726d157964919c570fc4b897230039558c56b1b2 +MISC metadata.xml 892 BLAKE2B 05d547df7e3f87b0e2d32bb7c3a0b30ad1b233778081c3595071fccdd5124b263d3a34de09c880f79199885b8da4a3c6cd499304ccd249cea9b764be4ba84bf3 SHA512 79cf7b40de376a2d3344d3e76cdb632bad71162814a9039f322ce12ce8473da3398fcc6aecad188a592dcd31ec7d32ce1563955e057c0750c4ed0e68b7551022 diff --git a/x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild b/x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild new file mode 100644 index 000000000000..99d2165d2e07 --- /dev/null +++ b/x11-wm/enlightenment/enlightenment-0.22.4-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson xdg-utils + +DESCRIPTION="Enlightenment window manager" +HOMEPAGE="https://www.enlightenment.org" +SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0.17/${PV%%_*}" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="acpi bluetooth connman doc geolocation nls packagekit pam systemd udisks wayland wifi xwayland" + +REQUIRED_USE="xwayland? ( wayland )" + +RDEPEND=" + >=dev-libs/efl-1.20.5[eet,X] + virtual/udev + x11-libs/libXext + x11-libs/libxcb + x11-libs/xcb-util-keysyms + x11-misc/xkeyboard-config + acpi? ( sys-power/acpid ) + bluetooth? ( net-wireless/bluez ) + connman? ( dev-libs/efl[connman] ) + geolocation? ( app-misc/geoclue:2.0 ) + packagekit? ( app-admin/packagekit-base ) + pam? ( sys-libs/pam ) + systemd? ( sys-apps/systemd ) + udisks? ( sys-fs/udisks:2 ) + wayland? ( + >=dev-libs/efl-1.22.0[drm,wayland] + dev-libs/wayland + x11-libs/libxkbcommon + x11-libs/pixman + ) + xwayland? ( + dev-libs/efl[X,wayland] + x11-base/xorg-server[wayland] + ) +" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-efl-1.22-wayland.patch" ) + +src_configure() { + local emesonargs=( + -D device-udev=true + -D install-sysactions=false + + $(meson_use udisks mount-udisks) + $(meson_use bluetooth bluez4) + $(meson_use connman) + $(meson_use geolocation) + $(meson_use nls) + $(meson_use packagekit) + $(meson_use pam) + $(meson_use systemd) + $(meson_use wayland) + $(meson_use wifi wireless) + $(meson_use xwayland) + ) + + if ! use wayland; then + emesonargs+=( + -D wl-buffer=false + -D wl-desktop-shell=false + -D wl-drm=false + -D wl-text-input=false + -D wl-weekeyboard=false + -D wl-wl=false + -D wl-x11=false + ) + fi + + meson_src_configure +} + +src_install() { + insinto /etc/enlightenment + newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf + + use doc && local HTML_DOCS=( doc/. ) + meson_src_install +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/x11-wm/enlightenment/files/enlightenment-0.22.4-efl-1.22-wayland.patch b/x11-wm/enlightenment/files/enlightenment-0.22.4-efl-1.22-wayland.patch new file mode 100644 index 000000000000..3321390cf62a --- /dev/null +++ b/x11-wm/enlightenment/files/enlightenment-0.22.4-efl-1.22-wayland.patch @@ -0,0 +1,65 @@ +From ea3f6ed68f948cea4b64432a6cdb72fca85e6987 Mon Sep 17 00:00:00 2001 +From: "Carsten Haitzler (Rasterman)" <raster@rasterman.com> +Date: Fri, 22 Feb 2019 11:12:00 +0000 +Subject: e - unbreak build due to efl changes + +--- + src/bin/e.h | 1 + + src/bin/e_comp_wl.c | 8 ++++---- + 2 files changed, 5 insertions(+), 4 deletions(-) + +diff --git a/src/bin/e.h b/src/bin/e.h +index 7d00d819e..abe5ed731 100644 +--- a/src/bin/e.h ++++ b/src/bin/e.h +@@ -17,6 +17,7 @@ + # endif + + #ifdef HAVE_WAYLAND ++# define EFL_EO_API_SUPPORT + # define EFL_BETA_API_SUPPORT + #endif + +diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c +index a9adad104..e56e4e6f8 100644 +--- a/src/bin/e_comp_wl.c ++++ b/src/bin/e_comp_wl.c +@@ -2188,7 +2188,7 @@ _cb_early_frame_cb(void *data, const Efl_Event *event EINA_UNUSED) + if (ec->comp_data->early_frame++ > 15) + { + ec->comp_data->early_frame = 0; +- efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK, ++ efl_event_callback_del(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, + _cb_early_frame_cb, data); + } + } +@@ -2198,14 +2198,14 @@ _e_comp_wl_surface_early_frame(E_Client *ec) + { + if (e_comp_object_damage_exists(ec->frame)) + { +- efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK, ++ efl_event_callback_del(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, + _cb_early_frame_cb, ec); + ec->comp_data->early_frame = 0; + return; + } + if (ec->on_post_updates) return; + if (!ec->comp_data->early_frame) +- efl_event_callback_add(e_comp->evas, EFL_EVENT_ANIMATOR_TICK, ++ efl_event_callback_add(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, + _cb_early_frame_cb, ec); + ec->comp_data->early_frame = 1; + } +@@ -2582,7 +2582,7 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec) + /* make sure this is a wayland client */ + if (e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_WL) return; + +- efl_event_callback_del(e_comp->evas, EFL_EVENT_ANIMATOR_TICK, ++ efl_event_callback_del(e_comp->evas, EFL_CANVAS_OBJECT_EVENT_ANIMATOR_TICK, + _cb_early_frame_cb, ec); + ec->comp_data->early_frame = 0; + +-- +cgit v1.2.1 + + diff --git a/x11-wm/enlightenment/metadata.xml b/x11-wm/enlightenment/metadata.xml index f29f0f98962f..aca5ea1b717c 100644 --- a/x11-wm/enlightenment/metadata.xml +++ b/x11-wm/enlightenment/metadata.xml @@ -10,6 +10,7 @@ </maintainer> <use> <flag name="packagekit">Enable module for package manager integration</flag> + <flag name="xwayland">Enable XWayland application support</flag> </use> <longdescription> Enlightenment is classed as a "desktop shell" as it provides everything you need to |