You are not logged in.

#1 2014-12-27 03:11:00

rudametw
Member
Registered: 2014-09-01
Posts: 12

Can't compile winlist-ng and itask for Enlightenment desktop

Hi,

I'd like to compile winlist-ng and itask for Enlightenment.

I've checked out the code from here

svn checkout http://svn.enlightenment.org/svn/e/trunk/E-MODULES-EXTRA

Then I run

cd E-MODULES-EXTRA/winlist-ng/
./autogen.sh --prefix=/usr
make

But I get the following errors

In file included from e_mod_main.c:1:0:
e_mod_main.h:59:3: error: unknown type name ‘E_Popup’
   E_Popup        *popup;
   ^
e_mod_main.h:87:3: error: unknown type name ‘E_Border’
   E_Border       *border;
   ^
e_mod_main.h:94:3: error: unknown type name ‘E_Border’
   E_Border *bd_above;
   ^
e_mod_main.h:142:48: error: unknown type name ‘E_Border’
 Ngw_Item    *ngw_item_new             (Ng *ng, E_Border *bd);
                                                ^
e_mod_main.h:169:48: error: unknown type name ‘E_Border’
 void         ngw_border_menu_show     (Ng *ng, E_Border *bd, Evas_Coord x, Evas_Coord y, int dir, Ecore_X_Time timestamp);
                                                ^
e_mod_main.c:68:20: error: unknown type name ‘E_Container’
 _ngw_config_dialog(E_Container *con, const char *params)
                    ^
e_mod_main.c: In function ‘e_modapi_init’:
e_mod_main.c:161:8: error: ‘E_EVENT_CONTAINER_RESIZE’ undeclared (first use in this function)
       (E_EVENT_CONTAINER_RESIZE, _ngw_win_container_resize_cb, NULL));
        ^
e_mod_main.c:161:8: note: each undeclared identifier is reported only once for each function it appears in
e_mod_main.c:163:50: error: ‘E_Config’ has no member named ‘use_composite’
    if(ecore_x_screen_is_composited(0) || e_config->use_composite)
                                                  ^
e_mod_main.c:179:112: error: ‘_ngw_config_dialog’ undeclared (first use in this function)
    e_configure_registry_item_add("extensions/winlist_ng", 50, D_("Winlist NG"), NULL, "enlightenment/winlist", _ngw_config_dialog);
                                                                                                                ^
e_mod_main.c: In function ‘_ngw_win_new’:
e_mod_main.c:241:15: warning: assignment makes pointer from integer without a cast
    win->popup = e_popup_new(ng->zone, 0, 0, 0, 0);
               ^
e_mod_main.c:243:24: error: request for member ‘ecore_evas’ in something not a structure or union
    win->ee = win->popup->ecore_evas;
                        ^
e_mod_main.c:244:26: error: request for member ‘evas’ in something not a structure or union
    win->evas = win->popup->evas;
                          ^
e_mod_main.c:246:15: error: ‘E_Config’ has no member named ‘use_composite’
    if(e_config->use_composite)
               ^
e_mod_main.c:252:12: error: request for member ‘shaped’ in something not a structure or union
  win->popup->shaped = 1;
            ^
e_mod_main.c:253:34: error: request for member ‘ecore_evas’ in something not a structure or union
  ecore_evas_shaped_set(win->popup->ecore_evas, 1);
                                  ^
e_mod_main.c:256:14: error: request for member ‘evas_win’ in something not a structure or union
    win->popup->evas_win = ecore_evas_software_x11_window_get(win->ee);
              ^
Makefile:455: recipe for target 'e_mod_main.lo' failed
make[2]: *** [e_mod_main.lo] Error 1
make[2]: Leaving directory '/tmp/E-MODULES-EXTRA/winlist-ng/src'
Makefile:476: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/E-MODULES-EXTRA/winlist-ng'
Makefile:384: recipe for target 'all' failed
make: *** [all] Error 2

Here's the full output of both autogen and make:
Output.

Any help is appreciated.

Offline

#2 2014-12-27 07:43:56

metak
Member
Registered: 2009-09-27
Posts: 199

Re: Can't compile winlist-ng and itask for Enlightenment desktop

As far as I know, these modules don't work any more.

Offline

#3 2014-12-27 11:14:07

chaonaut
Member
From: Kyiv, Ukraine
Registered: 2014-02-05
Posts: 382

Re: Can't compile winlist-ng and itask for Enlightenment desktop

at least itask was not updated for E newer than 0.17.x


— love is the law, love under wheel, — said aleister crowley and typed in his terminal:
usermod -a -G wheel love

Offline

#4 2014-12-27 14:54:47

rudametw
Member
Registered: 2014-09-01
Posts: 12

Re: Can't compile winlist-ng and itask for Enlightenment desktop

Ok, that would explain why they don't compile.

Does anybody know of a different module for window switching (i.e., alt-tab)? I don't like the default one which is why I was trying to get winlist-ng to work.

Offline

#5 2014-12-27 17:18:52

Next7
Member
Registered: 2011-12-07
Posts: 44

Re: Can't compile winlist-ng and itask for Enlightenment desktop

You can try standalone programs for window switching like rofi, simpleswitcher, Telescope or xwinmosaic.

Offline

#6 2014-12-28 22:33:11

rudametw
Member
Registered: 2014-09-01
Posts: 12

Re: Can't compile winlist-ng and itask for Enlightenment desktop

I gave a couple of window switchers and task switchers a shot, but none of them work well with enlightenment.

rofi, simpleswitcher, telescope, xwinmosaic, skippy-xd have two issues for me:
  •  they show all windows on all desktops
  •  they don't see newly created windows, I have to restart enlightenement (ctrl+alt+end) for them to appear, making them unusable.

It's probably due to enlightenment not implementing some standards. Here's the output of skippy-xd:

$ skippy-xd 
[wm_check(): Your WM is neither EWMH nor GNOME WM compliant. Troubles ahead.
main(): running once then quitting...
wm_get_stack_sub(): Retrieved window stack from _NET_CLIENT_LIST.
[     0.02 ] error 8 (BadMatch) request 139 minor 4 serial 124 ("BadMatch (invalid parameter attributes)")
[     0.02 ] error 143 (BadPicture) request 139 minor 30 serial 125 ("RenderBadPicture (invalid Picture parameter)")
[     0.02 ] error 8 (BadMatch) request 139 minor 4 serial 143 ("BadMatch (invalid parameter attributes)")
...

Oh, and superswitcher just segfaults, but that project seems to be dead for a couple of years now.

In any case I liked rofi and skippy-xd but they don't work well with enlightenment. I might just drop enlightenment because it's not very stable, crashes too often, lack of working systray, bad scaling for gtk apps, and has weird alt+tab behavior.

Offline

Board footer

Powered by FluxBB