Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=275aa73307d5ef048cfcd545656ff1c2a4b879a2

commit 275aa73307d5ef048cfcd545656ff1c2a4b879a2
Author: crazy <[email protected]>
Date:   Tue Feb 21 21:50:17 2017 +0100

enlightenment-0.21.6-1-x86_64
* Version bump
* revert 2 broken commits .. both issues reported upstream on irc

diff --git a/source/enlightenment-extra/enlightenment/FrugalBuild 
b/source/enlightenment-extra/enlightenment/FrugalBuild
index 9a474f7..4817310 100644
--- a/source/enlightenment-extra/enlightenment/FrugalBuild
+++ b/source/enlightenment-extra/enlightenment/FrugalBuild
@@ -2,12 +2,13 @@
# Maintainer: crazy <[email protected]>

pkgname=enlightenment
-pkgver=0.21.5
+pkgver=0.21.6
pkgrel=1
pkgdesc="Enlightenment Foundation Window Manager"
url="https://www.enlightenment.org/";
_F_archive_grepv="alpha\|beta\|rc"
-source=(https://download.enlightenment.org/rel/apps/$pkgname/$pkgname-$pkgver.tar.xz)
+source=(https://download.enlightenment.org/rel/apps/$pkgname/$pkgname-$pkgver.tar.xz
 \
+       revert-54ecd5e56bfd93ae5c1ab20737c1843f5ba8ab2c.patch 
revert-72bfd182d16ca4815b58d8200cfc15b14039c8bb.patch)
up2date="Flasttar https://download.enlightenment.org/rel/apps/$pkgname/";
groups=('enlightenment-extra' 'e-apps')
archs=('x86_64' 'i686')
@@ -19,7 +20,9 @@ depends=('efl>=1.18.3' 'glibc' 'libsystemd' 'libunwind' 
'harfbuzz' 'fribidi' 'fo
'libdrm' 'util-linux' 'libsndfile' 'bullet' 'libxcb' 'libasyncns' 'libffi' 
'mtdev' 'libevdev' 'libblkid' 'flac' 'libogg' 'libvorbis' \
'libxau' 'libxdmcp' 'libuuid' 'pam' 'xcb-util-keysyms' 'bluez')
makedepends=('x11-protos' 'xorg-server-xwayland')
-sha1sums=('c6855ebb7bb184c301d8ed4dc773afb0f79d24cb')
+sha1sums=('070a5b1f93c0a3efe38afde1fc3f52b452ebebf2' \
+          '7abd3f72a477c85f36ce6897366ba4fc0a6d4405' \
+          '9bcde013d967b8eb0931e8d7c3f08f996614cccc')
Fconfopts+=" --enable-wayland \
--enable-wayland-egl \
--enable-xwayland \
diff --git 
a/source/enlightenment-extra/enlightenment/revert-54ecd5e56bfd93ae5c1ab20737c1843f5ba8ab2c.patch
 
b/source/enlightenment-extra/enlightenment/revert-54ecd5e56bfd93ae5c1ab20737c1843f5ba8ab2c.patch
new file mode 100644
index 0000000..7123151
--- /dev/null
+++ 
b/source/enlightenment-extra/enlightenment/revert-54ecd5e56bfd93ae5c1ab20737c1843f5ba8ab2c.patch
@@ -0,0 +1,69 @@
+diff -Naur enlightenment-0.21.6/src/modules/wl_drm/e_mod_main.c 
enlightenment-0.21.6-p/src/modules/wl_drm/e_mod_main.c
+--- enlightenment-0.21.6/src/modules/wl_drm/e_mod_main.c       2017-02-15 
04:09:40.000000000 +0100
++++ enlightenment-0.21.6-p/src/modules/wl_drm/e_mod_main.c     2017-02-21 
21:22:04.153089646 +0100
+@@ -502,26 +502,30 @@
+                          s->config.geom.w, s->config.geom.h);
+                }
+
++             /* TODO: cannot support rotations until we support planes
++              * and we cannot support planes until Atomic support is in */
++
+              s->info.can_rot_0 = EINA_FALSE;
+              s->info.can_rot_90 = EINA_FALSE;
+              s->info.can_rot_180 = EINA_FALSE;
+              s->info.can_rot_270 = EINA_FALSE;
+
+-# if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 18)
+-             int rotations;
+-
+-             rotations =
+-               ecore_drm2_output_supported_rotations_get(output);
++/* # if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 18) */
++/*              unsigned int rotations; */
+
+-             if (rotations & ECORE_DRM2_ROTATION_NORMAL)
+-               s->info.can_rot_0 = EINA_TRUE;
+-             if (rotations & ECORE_DRM2_ROTATION_90)
+-               s->info.can_rot_90 = EINA_TRUE;
+-             if (rotations & ECORE_DRM2_ROTATION_180)
+-               s->info.can_rot_180 = EINA_TRUE;
+-             if (rotations & ECORE_DRM2_ROTATION_270)
+-               s->info.can_rot_270 = EINA_TRUE;
+-# endif
++/*              rotations = */
++/*                ecore_drm_output_supported_rotations_get(output, */
++/*                                                         
ECORE_DRM_PLANE_TYPE_PRIMARY); */
++
++/*              if (rotations & ECORE_DRM_PLANE_ROTATION_NORMAL) */
++/*                s->info.can_rot_0 = EINA_TRUE; */
++/*              if (rotations & ECORE_DRM_PLANE_ROTATION_90) */
++/*                s->info.can_rot_90 = EINA_TRUE; */
++/*              if (rotations & ECORE_DRM_PLANE_ROTATION_180) */
++/*                s->info.can_rot_180 = EINA_TRUE; */
++/*              if (rotations & ECORE_DRM_PLANE_ROTATION_270) */
++/*                s->info.can_rot_270 = EINA_TRUE; */
++/* # endif */
+
+              if (cs)
+                {
+@@ -679,20 +683,6 @@
+
+         /* TODO: cannot support rotations until we support planes
+          * and we cannot support planes until Atomic support is in */
+-# if (EFL_VERSION_MAJOR > 1) || (EFL_VERSION_MINOR >= 18)
+-        int orient;
+-
+-        if (s->config.rotation == 0)
+-          orient = ECORE_DRM2_ROTATION_NORMAL;
+-        else if (s->config.rotation == 90)
+-          orient = ECORE_DRM2_ROTATION_90;
+-        else if (s->config.rotation == 180)
+-          orient = ECORE_DRM2_ROTATION_180;
+-        else if (s->config.rotation == 270)
+-          orient = ECORE_DRM2_ROTATION_270;
+-
+-        ecore_drm2_output_rotation_set(output, orient);
+-# endif
+
+         if (s->config.priority == top_priority)
+           _drm2_output_primary_set(outputs, output);
diff --git 
a/source/enlightenment-extra/enlightenment/revert-72bfd182d16ca4815b58d8200cfc15b14039c8bb.patch
 
b/source/enlightenment-extra/enlightenment/revert-72bfd182d16ca4815b58d8200cfc15b14039c8bb.patch
new file mode 100644
index 0000000..f56bd7f
--- /dev/null
+++ 
b/source/enlightenment-extra/enlightenment/revert-72bfd182d16ca4815b58d8200cfc15b14039c8bb.patch
@@ -0,0 +1,56 @@
+diff -Naur enlightenment-0.21.6/src/bin/e_alert_main.c 
enlightenment-0.21.6-p2/src/bin/e_alert_main.c
+--- enlightenment-0.21.6/src/bin/e_alert_main.c        2017-02-15 
04:09:40.000000000 +0100
++++ enlightenment-0.21.6-p2/src/bin/e_alert_main.c     2017-02-21 
21:30:11.000968887 +0100
+@@ -488,17 +488,7 @@
+    updates = evas_render_updates(canvas);
+    evas_render_updates_free(updates);
+
+-#ifdef EFL_VERSION_1_19
+-   ecore_drm2_fb_flip(buffer, output);
+-#else
+-   if (E_EFL_VERSION_MINIMUM(1, 18, 99))
+-     {
+-        void (*fn)(void*, void*) = dlsym(NULL, "ecore_drm2_fb_flip");
+-        if (fn) fn(buffer, output);
+-     }
+-   else
+-     ecore_drm2_fb_flip(buffer, output, NULL);
+-#endif
++   ecore_drm2_fb_flip(buffer, output, NULL);
+ }
+
+ static void
+diff -Naur enlightenment-0.21.6/src/modules/wl_drm/e_mod_main.c 
enlightenment-0.21.6-p2/src/modules/wl_drm/e_mod_main.c
+--- enlightenment-0.21.6/src/modules/wl_drm/e_mod_main.c       2017-02-15 
04:09:40.000000000 +0100
++++ enlightenment-0.21.6-p2/src/modules/wl_drm/e_mod_main.c    2017-02-21 
21:30:11.000968887 +0100
+@@ -798,27 +798,12 @@
+    out = ecore_drm2_output_find(dev, output->x, output->y);
+    if (!out) return;
+
+-#ifdef EFL_VERSION_1_19
+-   fb = ecore_drm2_output_latest_fb_get(out);
+-   if (!fb) return;
+-#else
+-   if (E_EFL_VERSION_MINIMUM(1, 18, 99))
++   fb = ecore_drm2_output_next_fb_get(out);
++   if (!fb)
+      {
+-        void *(*fn)(void*) = dlsym(NULL, "ecore_drm2_output_latest_fb_get");
+-        if (!fn) return;
+-        fb = fn(out);
++        fb = ecore_drm2_output_current_fb_get(out);
+         if (!fb) return;
+      }
+-   else
+-     {
+-        fb = ecore_drm2_output_next_fb_get(out);
+-        if (!fb)
+-          {
+-             fb = ecore_drm2_output_current_fb_get(out);
+-             if (!fb) return;
+-          }
+-     }
+-#endif
+
+    data = ecore_drm2_fb_data_get(fb);
+    fstride = ecore_drm2_fb_stride_get(fb);
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to