You are not logged in.

#2926 2016-10-13 04:15:54

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

And OF COURSE, as soon as I get Unity built and successfully working, Arch updates to GNOME 3.22!!! Fortunately, it seems that everything works. If you've built Unity and your date/time indicator in your top bar goes away, rebuilding indicator-datetime seems to get it back up and working. I just updated, and my only gnome 3.22 packages, gnome-terminal and gnome-calculator, work just fine. ibones, please let me know if you find any issues with your Unity install.

Offline

#2927 2016-10-13 19:00:28

ibones
Member
Registered: 2016-10-08
Posts: 11

Re: Progress on Unity under Arch Linux!

horsemanoffaith wrote:

And OF COURSE, as soon as I get Unity built and successfully working, Arch updates to GNOME 3.22!!! Fortunately, it seems that everything works. If you've built Unity and your date/time indicator in your top bar goes away, rebuilding indicator-datetime seems to get it back up and working. I just updated, and my only gnome 3.22 packages, gnome-terminal and gnome-calculator, work just fine. ibones, please let me know if you find any issues with your Unity install.

Everything is working fine with gnome 3.22, the only app which is not working is gnome-calendar.

Offline

#2928 2016-10-14 12:54:20

h4mbdid4mbdi
Member
Registered: 2016-10-14
Posts: 2

Re: Progress on Unity under Arch Linux!

hi horsemanoffaith,

just for my understanding did you consider the install information from the unity source

http://bazaar.launchpad.net/~unity-team … d:/INSTALL

because i guess the dependencys should be less and easier for unity itself.
i wanted to try that build in this way but after i found your great work its may unnecessary
im new to arch and i really would like to use unity further.

Offline

#2929 2016-10-16 01:58:01

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Progress on Unity under Arch Linux!

Hi Horsemanoffaith.
Sorry for my lack of communication, general laziness and exam revision suck.

Looking back, I realise I ran one of the scripts in the repo, build-and-install.sh I believe. Of course, the repo isn't stable enough to keep them up to date. I just completely derped. Hence the wrong order, defunct packages, etc.

Got a few simple issues, and one big issue to report.
For whatever reason, whenever the PKGBUILD calls for a ../, it fails if the BUILDDIR setting in /etc/makepkg is set. Probably not a propper issue, but it at least should help anyone else with the problem.
GTK2 needed manual download of source. Otherwise curl would return a 416 error. The same link worked though.

Failed Checksums:
unity-settings-daemon 0002-Add-gnome-settings-daemon-3.12-rfkill-plugin.patch
lightdm-ubuntu 0001-guest-account-Add-default-GSettings-support.patch
indicator-Keybard 0001-vala-build-fix.patch
indicator-sound 0002-Remove-tests.patch
nux 0001_autoconf.patch

indicator-session failed because 0002-Remove-url-dispatcher-dependency.patch was misnamed between the filename and PKGBUILD. Changed name from 0002-Remove-url_dispatcher.patch to 0002-Remove-url-dispatcher-dependency.patch

dee-qt and gsettings-qt require qtchooser, which is no longer in the repos. An old version or AUR version confilcts with qt5-base. When removed from PKGBUILD, they built fine anyway.

compiz-ubuntu failed with the following.

 Building C object gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/gwd-theme-metacity.c.o
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:52:5: error: unknown type name ‘MetaButtonLayout’
     MetaButtonLayout            button_layout;
     ^~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘update_metacity_button_layout_cb’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:175:31: warning: implicit declaration of function ‘meta_button_layout_new’ [-Wimplicit-function-declaration]
     metacity->button_layout = meta_button_layout_new (button_layout, invert);
                               ^~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: At top level:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:328:24: error: unknown type name ‘MetaButtonFunction’
 meta_function_to_type (MetaButtonFunction function)
                        ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘meta_button_state_for_button_type’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:377:14: error: ‘META_BUTTON_TYPE_LEFT_LEFT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_LEFT_LEFT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:377:14: note: each undeclared identifier is reported only once for each function it appears in
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:378:20: warning: implicit declaration of function ‘meta_function_to_type’ [-Wimplicit-function-declaration]
             type = meta_function_to_type (metacity->button_layout.left_buttons[0]);
                    ^~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:378:66: error: request for member ‘left_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.left_buttons[0]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:380:14: error: ‘META_BUTTON_TYPE_LEFT_MIDDLE_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_LEFT_MIDDLE_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:381:66: error: request for member ‘left_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.left_buttons[1]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:383:14: error: ‘META_BUTTON_TYPE_LEFT_RIGHT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_LEFT_RIGHT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:384:66: error: request for member ‘left_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.left_buttons[2]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:386:14: error: ‘META_BUTTON_TYPE_RIGHT_LEFT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_RIGHT_LEFT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:387:66: error: request for member ‘right_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.right_buttons[0]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:389:14: error: ‘META_BUTTON_TYPE_RIGHT_MIDDLE_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_RIGHT_MIDDLE_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:390:66: error: request for member ‘right_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.right_buttons[1]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:392:14: error: ‘META_BUTTON_TYPE_RIGHT_RIGHT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_RIGHT_RIGHT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:393:66: error: request for member ‘right_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.right_buttons[2]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘get_decoration_geometry’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:813:31: warning: passing argument 7 of ‘meta_theme_calc_geometry’ from incompatible pointer type [-Wincompatible-pointer-types]
                               &metacity->button_layout, fgeom);
                               ^
In file included from /home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:31:0:
/usr/include/metacity/libmetacity/meta-theme.h:134:16: note: expected ‘MetaFrameGeometry * {aka struct _MetaFrameGeometry *}’ but argument is of type ‘int *’
 void           meta_theme_calc_geometry     (MetaTheme                   *theme,
                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:811:5: error: too many arguments to function ‘meta_theme_calc_geometry’
     meta_theme_calc_geometry (metacity->theme, decor->gtk_theme_variant,
     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:31:0:
/usr/include/metacity/libmetacity/meta-theme.h:134:16: note: declared here
 void           meta_theme_calc_geometry     (MetaTheme                   *theme,
                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: At top level:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:867:17: error: unknown type name ‘MetaButtonFunction’
                 MetaButtonFunction  function)
                 ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:882:8: error: unknown type name ‘MetaButtonFunction’
 static MetaButtonFunction
        ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘button_to_meta_button_function’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:887:20: error: ‘META_BUTTON_FUNCTION_MENU’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_MENU;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:889:20: error: ‘META_BUTTON_FUNCTION_MINIMIZE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_MINIMIZE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:891:20: error: ‘META_BUTTON_FUNCTION_MAXIMIZE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_MAXIMIZE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:893:20: error: ‘META_BUTTON_FUNCTION_CLOSE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_CLOSE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:895:20: error: ‘META_BUTTON_FUNCTION_SHADE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_SHADE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:897:20: error: ‘META_BUTTON_FUNCTION_ABOVE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_ABOVE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:899:20: error: ‘META_BUTTON_FUNCTION_STICK’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_STICK;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:901:20: error: ‘META_BUTTON_FUNCTION_UNSHADE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_UNSHADE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:903:20: error: ‘META_BUTTON_FUNCTION_UNABOVE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_UNABOVE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:905:20: error: ‘META_BUTTON_FUNCTION_UNSTICK’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_UNSTICK;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:910:12: error: ‘META_BUTTON_FUNCTION_LAST’ undeclared (first use in this function)
     return META_BUTTON_FUNCTION_LAST;
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘gwd_theme_metacity_draw_window_decoration’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1137:41: warning: passing argument 9 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Wincompatible-pointer-types]
                            decor->name, &metacity->button_layout,
                                         ^
In file included from /home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:31:0:
/usr/include/metacity/libmetacity/meta-theme.h:142:16: note: expected ‘MetaButtonStateFunc {aka enum <anonymous> (*)(enum <anonymous>,  struct _cairo_rectangle_int,  void *)}’ but argument is of type ‘int *’
 void           meta_theme_draw_frame        (MetaTheme                   *theme,
                ^~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘gwd_theme_metacity_get_button_position’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1456:5: error: unknown type name ‘MetaButtonFunction’
     MetaButtonFunction button_function;
     ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1457:5: error: unknown type name ‘MetaButtonSpace’
     MetaButtonSpace *space;
     ^~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1469:10: warning: implicit declaration of function ‘button_present’ [-Wimplicit-function-declaration]
     if (!button_present (metacity, button_function))
          ^~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1474:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘menu_rect’; did you mean ‘title_rect’?
             space = &fgeom.menu_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1477:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘min_rect’; did you mean ‘title_rect’?
             space = &fgeom.min_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1480:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘max_rect’; did you mean ‘title_rect’?
             space = &fgeom.max_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1483:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘close_rect’; did you mean ‘title_rect’?
             space = &fgeom.close_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1486:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘shade_rect’; did you mean ‘title_rect’?
             space = &fgeom.shade_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1489:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘above_rect’; did you mean ‘title_rect’?
             space = &fgeom.above_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1492:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘stick_rect’; did you mean ‘title_rect’?
             space = &fgeom.stick_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1495:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘unshade_rect’; did you mean ‘title_rect’?
             space = &fgeom.unshade_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1498:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘unabove_rect’; did you mean ‘title_rect’?
             space = &fgeom.unabove_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1501:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘unstick_rect’; did you mean ‘title_rect’?
             space = &fgeom.unstick_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1507:15: error: request for member ‘clickable’ in something not a structure or union
     if (!space->clickable.width && !space->clickable.height)
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1507:42: error: request for member ‘clickable’ in something not a structure or union
     if (!space->clickable.width && !space->clickable.height)
                                          ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1510:15: error: request for member ‘clickable’ in something not a structure or union
     *x = space->clickable.x;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1511:15: error: request for member ‘clickable’ in something not a structure or union
     *y = space->clickable.y;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1512:15: error: request for member ‘clickable’ in something not a structure or union
     *w = space->clickable.width;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1513:15: error: request for member ‘clickable’ in something not a structure or union
     *h = space->clickable.height;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘button_to_meta_button_function’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:911:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-unused-private-field’
cc1: warning: unrecognized command line option ‘-Wno-unused-private-field’
cc1: warning: unrecognized command line option ‘-Wno-unused-private-field’
make[2]: *** [gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/build.make:471: gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/gwd-theme-metacity.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1938: gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Now I've hit a wall. I'd disable gtk-window-decorations if I could because I prefer Emerald anyway, but I can't even figure out how to do that. Any advice?
Again, cheers for all the work you've put into this.


I think I know enough to know I don't know enough.

Offline

#2930 2016-10-16 04:30:15

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

Silkworm205 wrote:

Hi Horsemanoffaith.
Sorry for my lack of communication, general laziness and exam revision suck.

Looking back, I realise I ran one of the scripts in the repo, build-and-install.sh I believe. Of course, the repo isn't stable enough to keep them up to date. I just completely derped. Hence the wrong order, defunct packages, etc.

Got a few simple issues, and one big issue to report.
For whatever reason, whenever the PKGBUILD calls for a ../, it fails if the BUILDDIR setting in /etc/makepkg is set. Probably not a propper issue, but it at least should help anyone else with the problem.
GTK2 needed manual download of source. Otherwise curl would return a 416 error. The same link worked though.

Failed Checksums:
unity-settings-daemon 0002-Add-gnome-settings-daemon-3.12-rfkill-plugin.patch
lightdm-ubuntu 0001-guest-account-Add-default-GSettings-support.patch
indicator-Keybard 0001-vala-build-fix.patch
indicator-sound 0002-Remove-tests.patch
nux 0001_autoconf.patch

indicator-session failed because 0002-Remove-url-dispatcher-dependency.patch was misnamed between the filename and PKGBUILD. Changed name from 0002-Remove-url_dispatcher.patch to 0002-Remove-url-dispatcher-dependency.patch

dee-qt and gsettings-qt require qtchooser, which is no longer in the repos. An old version or AUR version confilcts with qt5-base. When removed from PKGBUILD, they built fine anyway.

compiz-ubuntu failed with the following.

 Building C object gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/gwd-theme-metacity.c.o
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:52:5: error: unknown type name ‘MetaButtonLayout’
     MetaButtonLayout            button_layout;
     ^~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘update_metacity_button_layout_cb’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:175:31: warning: implicit declaration of function ‘meta_button_layout_new’ [-Wimplicit-function-declaration]
     metacity->button_layout = meta_button_layout_new (button_layout, invert);
                               ^~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: At top level:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:328:24: error: unknown type name ‘MetaButtonFunction’
 meta_function_to_type (MetaButtonFunction function)
                        ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘meta_button_state_for_button_type’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:377:14: error: ‘META_BUTTON_TYPE_LEFT_LEFT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_LEFT_LEFT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:377:14: note: each undeclared identifier is reported only once for each function it appears in
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:378:20: warning: implicit declaration of function ‘meta_function_to_type’ [-Wimplicit-function-declaration]
             type = meta_function_to_type (metacity->button_layout.left_buttons[0]);
                    ^~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:378:66: error: request for member ‘left_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.left_buttons[0]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:380:14: error: ‘META_BUTTON_TYPE_LEFT_MIDDLE_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_LEFT_MIDDLE_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:381:66: error: request for member ‘left_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.left_buttons[1]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:383:14: error: ‘META_BUTTON_TYPE_LEFT_RIGHT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_LEFT_RIGHT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:384:66: error: request for member ‘left_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.left_buttons[2]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:386:14: error: ‘META_BUTTON_TYPE_RIGHT_LEFT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_RIGHT_LEFT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:387:66: error: request for member ‘right_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.right_buttons[0]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:389:14: error: ‘META_BUTTON_TYPE_RIGHT_MIDDLE_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_RIGHT_MIDDLE_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:390:66: error: request for member ‘right_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.right_buttons[1]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:392:14: error: ‘META_BUTTON_TYPE_RIGHT_RIGHT_BACKGROUND’ undeclared (first use in this function)
         case META_BUTTON_TYPE_RIGHT_RIGHT_BACKGROUND:
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:393:66: error: request for member ‘right_buttons’ in something not a structure or union
             type = meta_function_to_type (metacity->button_layout.right_buttons[2]);
                                                                  ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘get_decoration_geometry’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:813:31: warning: passing argument 7 of ‘meta_theme_calc_geometry’ from incompatible pointer type [-Wincompatible-pointer-types]
                               &metacity->button_layout, fgeom);
                               ^
In file included from /home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:31:0:
/usr/include/metacity/libmetacity/meta-theme.h:134:16: note: expected ‘MetaFrameGeometry * {aka struct _MetaFrameGeometry *}’ but argument is of type ‘int *’
 void           meta_theme_calc_geometry     (MetaTheme                   *theme,
                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:811:5: error: too many arguments to function ‘meta_theme_calc_geometry’
     meta_theme_calc_geometry (metacity->theme, decor->gtk_theme_variant,
     ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:31:0:
/usr/include/metacity/libmetacity/meta-theme.h:134:16: note: declared here
 void           meta_theme_calc_geometry     (MetaTheme                   *theme,
                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: At top level:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:867:17: error: unknown type name ‘MetaButtonFunction’
                 MetaButtonFunction  function)
                 ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:882:8: error: unknown type name ‘MetaButtonFunction’
 static MetaButtonFunction
        ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘button_to_meta_button_function’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:887:20: error: ‘META_BUTTON_FUNCTION_MENU’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_MENU;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:889:20: error: ‘META_BUTTON_FUNCTION_MINIMIZE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_MINIMIZE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:891:20: error: ‘META_BUTTON_FUNCTION_MAXIMIZE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_MAXIMIZE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:893:20: error: ‘META_BUTTON_FUNCTION_CLOSE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_CLOSE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:895:20: error: ‘META_BUTTON_FUNCTION_SHADE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_SHADE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:897:20: error: ‘META_BUTTON_FUNCTION_ABOVE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_ABOVE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:899:20: error: ‘META_BUTTON_FUNCTION_STICK’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_STICK;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:901:20: error: ‘META_BUTTON_FUNCTION_UNSHADE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_UNSHADE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:903:20: error: ‘META_BUTTON_FUNCTION_UNABOVE’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_UNABOVE;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:905:20: error: ‘META_BUTTON_FUNCTION_UNSTICK’ undeclared (first use in this function)
             return META_BUTTON_FUNCTION_UNSTICK;
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:910:12: error: ‘META_BUTTON_FUNCTION_LAST’ undeclared (first use in this function)
     return META_BUTTON_FUNCTION_LAST;
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘gwd_theme_metacity_draw_window_decoration’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1137:41: warning: passing argument 9 of ‘meta_theme_draw_frame’ from incompatible pointer type [-Wincompatible-pointer-types]
                            decor->name, &metacity->button_layout,
                                         ^
In file included from /home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:31:0:
/usr/include/metacity/libmetacity/meta-theme.h:142:16: note: expected ‘MetaButtonStateFunc {aka enum <anonymous> (*)(enum <anonymous>,  struct _cairo_rectangle_int,  void *)}’ but argument is of type ‘int *’
 void           meta_theme_draw_frame        (MetaTheme                   *theme,
                ^~~~~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘gwd_theme_metacity_get_button_position’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1456:5: error: unknown type name ‘MetaButtonFunction’
     MetaButtonFunction button_function;
     ^~~~~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1457:5: error: unknown type name ‘MetaButtonSpace’
     MetaButtonSpace *space;
     ^~~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1469:10: warning: implicit declaration of function ‘button_present’ [-Wimplicit-function-declaration]
     if (!button_present (metacity, button_function))
          ^~~~~~~~~~~~~~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1474:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘menu_rect’; did you mean ‘title_rect’?
             space = &fgeom.menu_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1477:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘min_rect’; did you mean ‘title_rect’?
             space = &fgeom.min_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1480:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘max_rect’; did you mean ‘title_rect’?
             space = &fgeom.max_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1483:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘close_rect’; did you mean ‘title_rect’?
             space = &fgeom.close_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1486:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘shade_rect’; did you mean ‘title_rect’?
             space = &fgeom.shade_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1489:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘above_rect’; did you mean ‘title_rect’?
             space = &fgeom.above_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1492:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘stick_rect’; did you mean ‘title_rect’?
             space = &fgeom.stick_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1495:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘unshade_rect’; did you mean ‘title_rect’?
             space = &fgeom.unshade_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1498:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘unabove_rect’; did you mean ‘title_rect’?
             space = &fgeom.unabove_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1501:27: error: ‘MetaFrameGeometry {aka struct _MetaFrameGeometry}’ has no member named ‘unstick_rect’; did you mean ‘title_rect’?
             space = &fgeom.unstick_rect;
                           ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1507:15: error: request for member ‘clickable’ in something not a structure or union
     if (!space->clickable.width && !space->clickable.height)
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1507:42: error: request for member ‘clickable’ in something not a structure or union
     if (!space->clickable.width && !space->clickable.height)
                                          ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1510:15: error: request for member ‘clickable’ in something not a structure or union
     *x = space->clickable.x;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1511:15: error: request for member ‘clickable’ in something not a structure or union
     *y = space->clickable.y;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1512:15: error: request for member ‘clickable’ in something not a structure or union
     *w = space->clickable.width;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:1513:15: error: request for member ‘clickable’ in something not a structure or union
     *h = space->clickable.height;
               ^~
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: In function ‘button_to_meta_button_function’:
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c:911:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/silkworm/Public/Unity-for-Arch/compiz-ubuntu/src/gtk/window-decorator/gwd-theme-metacity.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-unused-private-field’
cc1: warning: unrecognized command line option ‘-Wno-unused-private-field’
cc1: warning: unrecognized command line option ‘-Wno-unused-private-field’
make[2]: *** [gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/build.make:471: gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/gwd-theme-metacity.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1938: gtk/window-decorator/CMakeFiles/gtk-window-decorator.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Now I've hit a wall. I'd disable gtk-window-decorations if I could because I prefer Emerald anyway, but I can't even figure out how to do that. Any advice?
Again, cheers for all the work you've put into this.

I built gtk2-ubuntu directly from the clone of my repo, and I got no such error... strange.

I've updated everything else you mentioned here, except for compiz-ubuntu. I've had two build errors tonight off of compiz, and I'm not sure why. I'll get back to you as soon as I find out why. If building Chenxiaolong's version of compiz-ubuntu works, use it.

Offline

#2931 2016-10-16 20:24:07

ibones
Member
Registered: 2016-10-08
Posts: 11

Re: Progress on Unity under Arch Linux!

Two days ago I installed unity in my netbook and is working. http://i.imgur.com/LteYOu0.png
I solved the compiz-ubuntu issue building metacity-ubuntu and compiz-ubuntu from chen's testing branch https://github.com/chenxiaolong/Unity-f … ity-ubuntu

Offline

#2932 2016-10-16 21:00:19

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

ibones wrote:

Two days ago I installed unity in my netbook and is working. http://i.imgur.com/LteYOu0.png
I solved the compiz-ubuntu issue building metacity-ubuntu and compiz-ubuntu from chen's testing branch https://github.com/chenxiaolong/Unity-f … ity-ubuntu

I solved the compiz issue last night- I had 7.5 committed, and I haven't been able to get the Yakkety version working. I changed to the 7.4 version and found I was missing a patch. I added it into my build last night and compiz built correctly and is working. I updated my Github page once I got a working commit. I will look into your solution and probably get my Github page updated accordingly.

Offline

#2933 2016-10-18 22:14:55

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Progress on Unity under Arch Linux!

Thanks for the update. That did indeed solve the compilation issues. Now I seem to have a problem with either Unity itself, or the schemas.
Compiz works fine. I can use it in Mate and so far it works as normal. However, trying to use Unity as the desktop session just leaves me with a blank screen.
Launching Unity from a terminal, I get the following error:
CRIT  2016-10-18 22:57:24 unityo (appinfo2) <unknown>:0 Settings schema 'com.canonical.Unity.Panel' is not installed
Looking in /usr/share/glib-2.0/schemas/, I have the following com.canonical schema files;

com.canonical.desktop.interface.enums.xml
com.canonical.desktop.interface.gschema.xml
com.canonical.indicator.appmenu.gschema.xml
com.canonical.indicator.appmenu.hud.gschema.xml
com.canonical.indicator.appmenu.hud.search.gschema.xml
com.canonical.indicator.datetime.gschema.xml
com.canonical.indicator.keyboard.gschema.xml
com.canonical.indicator.messages.gschema.xml
com.canonical.indicator.power.gschema.xml
com.canonical.indicator.session.gschema.xml
com.canonical.indicator.sound.gschema.xml
com.canonical.Unity.AppsLens.gschema.xml
com.canonical.Unity.FilesLens.gschema.xml
com.canonical.unity-greeter.gschema.xml
com.canonical.Unity.gschema.xml
com.canonical.unity-gtk-module.gschema.xml
com.canonical.Unity.Lenses.gschema.xml

Any idea where to get the missing schema? recompiling gsettings-ubuntu-schemas and gsettings-desktop-schemas-ubuntu hasn't helped so far.


I think I know enough to know I don't know enough.

Offline

#2934 2016-10-19 03:30:02

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

Silkworm205 wrote:

Thanks for the update. That did indeed solve the compilation issues. Now I seem to have a problem with either Unity itself, or the schemas.
Compiz works fine. I can use it in Mate and so far it works as normal. However, trying to use Unity as the desktop session just leaves me with a blank screen.
Launching Unity from a terminal, I get the following error:
CRIT  2016-10-18 22:57:24 unityo (appinfo2) <unknown>:0 Settings schema 'com.canonical.Unity.Panel' is not installed
Looking in /usr/share/glib-2.0/schemas/, I have the following com.canonical schema files;

com.canonical.desktop.interface.enums.xml
com.canonical.desktop.interface.gschema.xml
com.canonical.indicator.appmenu.gschema.xml
com.canonical.indicator.appmenu.hud.gschema.xml
com.canonical.indicator.appmenu.hud.search.gschema.xml
com.canonical.indicator.datetime.gschema.xml
com.canonical.indicator.keyboard.gschema.xml
com.canonical.indicator.messages.gschema.xml
com.canonical.indicator.power.gschema.xml
com.canonical.indicator.session.gschema.xml
com.canonical.indicator.sound.gschema.xml
com.canonical.Unity.AppsLens.gschema.xml
com.canonical.Unity.FilesLens.gschema.xml
com.canonical.unity-greeter.gschema.xml
com.canonical.Unity.gschema.xml
com.canonical.unity-gtk-module.gschema.xml
com.canonical.Unity.Lenses.gschema.xml

Any idea where to get the missing schema? recompiling gsettings-ubuntu-schemas and gsettings-desktop-schemas-ubuntu hasn't helped so far.

Is the Unity plugin enabled in Compiz? I'll check the same directory on my computer when I can get to it and compare my results with yours. I'll get back to you as soon as I can.

Offline

#2935 2016-10-19 09:38:56

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Progress on Unity under Arch Linux!

Oddly, when I used to use it, it wouldn't have a tickbox next to it in a Unity session, but now it does. If I tick it and relaunch Compiz, it fails with the above. It's definitely a Unity session I'm starting too.
I double checked all the packages are installed and up to date with Github, and each one said it was. I nabbed a couple of packages from ChenXiaolong's Unity-for-Arch-Extra git repo, and that still didn't provide the missing schema. Lightdm has the proper wallpaper now though, so that's nice. smile


I think I know enough to know I don't know enough.

Offline

#2936 2016-10-22 04:05:40

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

Silkworm205 wrote:

Thanks for the update. That did indeed solve the compilation issues. Now I seem to have a problem with either Unity itself, or the schemas.
Compiz works fine. I can use it in Mate and so far it works as normal. However, trying to use Unity as the desktop session just leaves me with a blank screen.
Launching Unity from a terminal, I get the following error:
CRIT  2016-10-18 22:57:24 unityo (appinfo2) <unknown>:0 Settings schema 'com.canonical.Unity.Panel' is not installed
Looking in /usr/share/glib-2.0/schemas/, I have the following com.canonical schema files;

com.canonical.desktop.interface.enums.xml
com.canonical.desktop.interface.gschema.xml
com.canonical.indicator.appmenu.gschema.xml
com.canonical.indicator.appmenu.hud.gschema.xml
com.canonical.indicator.appmenu.hud.search.gschema.xml
com.canonical.indicator.datetime.gschema.xml
com.canonical.indicator.keyboard.gschema.xml
com.canonical.indicator.messages.gschema.xml
com.canonical.indicator.power.gschema.xml
com.canonical.indicator.session.gschema.xml
com.canonical.indicator.sound.gschema.xml
com.canonical.Unity.AppsLens.gschema.xml
com.canonical.Unity.FilesLens.gschema.xml
com.canonical.unity-greeter.gschema.xml
com.canonical.Unity.gschema.xml
com.canonical.unity-gtk-module.gschema.xml
com.canonical.Unity.Lenses.gschema.xml

Any idea where to get the missing schema? recompiling gsettings-ubuntu-schemas and gsettings-desktop-schemas-ubuntu hasn't helped so far.

I have the exact same schemas in my folder as well, so it's not in either one of those files. Did you build upstart-user?

Offline

#2937 2016-10-22 07:05:33

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

I have a working Unity installation off of a combination of my own Unity-for-Arch repo and Chenxiaolong's Unity-for-Arch testing repo. That includes GTK 3.22, Unity 7.5, and all Yakkety repo software, along with a fully updated system as of just a few minutes ago. The only package I cannot get to work is nautilus-ubuntu. Nautilus fails to launch on version 3.22 of Chen's testing repo. I installed the standard nautilus package off of Arch's repos, and nautilus DOES work, so something in the Debian patches is causing the issue. I'll dink around with it and see if I can solve the issue. Other than that, Unity seems to be working quite well!!

Offline

#2938 2016-10-23 22:12:50

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Progress on Unity under Arch Linux!

Hi Horsemanoffaith.
I've just checked and I've got upstart-user 1.13.2-7 installed.


I think I know enough to know I don't know enough.

Offline

#2939 2016-10-24 00:34:03

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

The only thing I can say is to try rebuilding both compiz and unity. Chenxiaolong just updated his master repo. If you do that, you'll have to update quite a few packages. He's added a few packages, as well.

Last edited by horsemanoffaith (2016-10-24 00:35:03)

Offline

#2940 2016-10-25 22:08:28

Silkworm205
Member
From: UK
Registered: 2012-05-21
Posts: 267

Re: Progress on Unity under Arch Linux!

Well, I decided to simply lift the schema files from an Ubuntu 16.10 live system, slap 'em in place, and see what happened.
It works!
I copied all the schemas starting with com.canonical. Here's the output of pacman -Qo /usr/share/glib-2.0/schemas/* | grep error

error: No package owns /usr/share/glib-2.0/schemas/com.canonical.a11y-profile-manager.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.indicator.bluetooth.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.indicator.network.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.keyboard.maliit.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.qtmir.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.Unity8.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.unity.clickscope.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.Unity.Greeter.Broadcast.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.Unity.Thumbnailer.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.unity.webapps.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.UserMetrics.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.content.hub.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.geoip.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.touch.system-settings.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.update-manager.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.update-notifier.gschema.xml

It definately wasn't working before I copied the schemas accross. I didn't overwrite any files either. Now, most confusingly of all, the schema it wanted still isn't there. The only things I've done today are updated my system, and installed virtualbox and linux-headers.

Despite that mystery, it's working for me for now. Thanks for your work on this. Now I just need to find a good dark theme with this GTK version...


I think I know enough to know I don't know enough.

Offline

#2941 2016-10-26 04:08:32

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

Silkworm205 wrote:

Well, I decided to simply lift the schema files from an Ubuntu 16.10 live system, slap 'em in place, and see what happened.
It works!
I copied all the schemas starting with com.canonical. Here's the output of pacman -Qo /usr/share/glib-2.0/schemas/* | grep error

error: No package owns /usr/share/glib-2.0/schemas/com.canonical.a11y-profile-manager.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.indicator.bluetooth.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.indicator.network.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.keyboard.maliit.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.qtmir.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.Unity8.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.unity.clickscope.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.Unity.Greeter.Broadcast.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.Unity.Thumbnailer.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.unity.webapps.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.canonical.UserMetrics.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.content.hub.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.geoip.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.touch.system-settings.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.update-manager.gschema.xml
error: No package owns /usr/share/glib-2.0/schemas/com.ubuntu.update-notifier.gschema.xml

It definately wasn't working before I copied the schemas accross. I didn't overwrite any files either. Now, most confusingly of all, the schema it wanted still isn't there. The only things I've done today are updated my system, and installed virtualbox and linux-headers.

Despite that mystery, it's working for me for now. Thanks for your work on this. Now I just need to find a good dark theme with this GTK version...

I'm glad you figured it out. I'm still not sure what happened. I finished updating my laptop to Chen's most recent update to his Github page, and I have everything working except upstart-user. His version of upstart-user logs you in, but never starts a Unity session. It just sticks on the blank greeter screen and goes nowhere. I downgraded to my version of upstart-user, and it works just fine. The Ubuntu developers are dropping upstart here in the near future, so that package very well may go away.

If you really want to know what fixed your Unity install, just delete the schemas one-at-a-time, logging out and logging back in as you do each one. The only two I see that I think would fix the install is a11y-profile-manager and ubuntu.touch.system-settings. There IS a similar schema in gsettings-ubuntu-schemas (ubuntu.touch.system.schemas), but it should have worked when you installed the gsettings-ubuntu-schemas package.

Offline

#2942 2016-10-27 04:54:02

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

I have started working on a script to automate the installation of Unity-for-Arch. It's going to take me a bit of work, and I have no idea how long it will take, but I got started on it tonight and I was able to almost automatically install gtk2-ubuntu using my script. I got to the installation portion of gtk2-ubuntu and left out an important portion of the filename, so I never got the package actually INSTALLED on my system, but I did get a successful build of the package. If anyone who subscribes to this thread is good at writing scripts, I could use a hand with a portion of the script that will query the user's system for all necessary dependencies, then prompt the user to install the ones missing off their system. At this point I know how to get the Unity-for-Arch repo cloned onto the system and how to move around the directory structure so that I can tell the system to build the necessary packages in the correct order. Once I have a working script and I can use it to install Unity on a fresh build of Arch, I will release the script on my Github page. If anyone would like to donate some effort to this goal, I know that one of the time-consuming tasks will be compiling a list of the dependencies for the Unity-for-Arch packages that are located in the official Arch repos. If not, I'll be building the script from a standpoint of installing the packages first, then inserting the dependency portion of the script later, since I already have Unity working and don't need any of the dependencies on my machine. Once this script is done, building Unity will be a snap! After I get this written and working, I'll take a look at making the script dynamic so that you can just run the script to update Unity, skipping already installed packages that don't need rebuilding and moving to packages that need updates automatically.

Offline

#2943 2016-10-27 10:24:33

h4mbdid4mbdi
Member
Registered: 2016-10-14
Posts: 2

Re: Progress on Unity under Arch Linux!

i tried to use the Aur package Compiz, (it should be ok because of the glib part in it?, accordingly with the poor unity documentation).
unfortunately i hadn't enough time to finish my tests till now. Do you have experience with that package because it would save plenty of work.

my suggestion would be to split the work up into:

compiz (maybe the existing one)
nux
unity in 2 steps:
1 step: standalone version
2 step: all the other DE stuff

further i guess compiz AUR package is a good start to pointing out your task because he use a lot of the needed (or similar) dependencies
give me your opinion.
i would help you if you want.

Last edited by h4mbdid4mbdi (2016-10-27 10:30:35)

Offline

#2944 2016-12-11 12:32:31

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

I have done a complete rebuild of Unity based on Chen's Github page (with a few packages that have newer source material), and I'm happy to say that Unity is working correctly! I am still working on the script, but it is going MUCH slower than I had anticipated, and my time on my computer lately has been very limited. If I can ever get it up and working, I'll be letting all of you know!

Offline

#2945 2017-01-22 21:21:15

TristeShine
Member
From: France
Registered: 2016-10-23
Posts: 12

Re: Progress on Unity under Arch Linux!

I have tried all methods that I found to install the unity desktop environment on my Arch but failed.
The best result that I got is the login interface. But when I type in the password, the desktop doesn't show up while the login page shows again.

I am doubting if the project is always under maintenance ? Have you ever succeeded in installing it ?
Or is there another desktop environment which supports a global menu like unity and works welll with Arch ?

Thanks for your response.

Last edited by TristeShine (2017-01-22 21:23:05)

Offline

#2946 2017-01-22 21:23:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Progress on Unity under Arch Linux!

Merging with the Unity thread (which does seem alive)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#2947 2017-01-22 21:46:39

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

What Unity thread? I'm not finding it. Can you link to it, please?

Last edited by horsemanoffaith (2017-01-23 01:15:11)

Offline

#2948 2017-01-22 22:17:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Progress on Unity under Arch Linux!

horsemanoffaith wrote:

What Unity thread? I'm not finding it. an you link to it, please?

You're posting in it. wink


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#2949 2017-01-22 23:01:08

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

Oh, maybe Jason merged another thread into this one... duh, sorry... didn't get it.

Offline

#2950 2017-01-23 01:13:33

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 181

Re: Progress on Unity under Arch Linux!

TristeShine wrote:

I have tried all methods that I found to install the unity desktop environment on my Arch but failed.
The best result that I got is the login interface. But when I type in the password, the desktop doesn't show up while the login page shows again.

I am doubting if the project is always under maintenance ? Have you ever succeeded in installing it ?
Or is there another desktop environment which supports a global menu like unity and works welll with Arch ?

Thanks for your response.

Yes, the project is under maintenance by two different people- myself and Chenxiaolong on Github. My Github page is not updated yet, but I just finished a successful build on my desktop and will be updating the files on Github as soon as I'm able. I have two successful installs- one on my desktop and one on my laptop. Both seem to be working correctly.

Please attempt to log in to Unity again, then use another DE/WM and post the output of

 $journalctl --user --since=today

I think I may know what the issue is, but I need to see your journal to know for sure. I was having the same issue on a new build on my desktop and was able to get it working.

Offline

Board footer

Powered by FluxBB