wingpanel 0.3.x doesn't build on non-ubuntu OS

Bug #1311154 reported by beta992
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Wingpanel
Opinion
Undecided
Unassigned

Bug Description

When trying to build wingpanel 0.3.x (the one used in Isis), it doesn't want to compile with a 'vanilla' gtk3 package.
A pached gtk3(-ubuntu) version is needed, at least it seems.

Build log:
wingpanel-bzr]$ makepkg -sci
==> Making package: wingpanel-bzr r156-1 (Tue Apr 22 16:33:34 CEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Pulling lp:wingpanel/0.3.x ...
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
http://bazaar.launchpad.net/~elementary-pantheon/wingpanel/0.3.x is permanently redirected to http://bazaar.launchpad.net/~elementary-pantheon/wingpanel/0.3.x/changes
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data. See "bzr help launchpad-login".
No revisions or tags to pull.
==> Validating source files with sha256sums...
    0.3.x ... Skipped
==> Extracting sources...
  -> Creating working copy of 0.3.x bzr repo...
==> Starting pkgver()...
==> Removing existing pkg/ directory...
==> Starting build()...
-- The C compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for modules 'gobject-2.0;glib-2.0;gio-2.0;gee-0.8;gdk-x11-3.0;x11;gtk+-3.0;granite;indicator3-0.4;libido3-0.1;libwnck-3.0'
-- found gobject-2.0, version 2.40.0
-- found glib-2.0, version 2.40.0
-- found gio-2.0, version 2.40.0
-- found gee-0.8, version 0.14.0
-- found gdk-x11-3.0, version 3.12.1
-- found x11, version 1.6.2
-- found gtk+-3.0, version 3.12.1
-- found granite, version 0.3.0
-- found indicator3-0.4, version 12.10.1
-- found libido3-0.1, version 12.10.2
-- found libwnck-3.0, version 3.4.7
-- checking for module 'gthread-2.0'
-- found gthread-2.0, version 2.40.0
-- Found Vala: /usr/bin/valac
-- checking for a minimum Vala version of 0.16
-- found Vala, version 0.24.0
-- GSettings schemas will be installed locally.
-- GSettings schemas will be installed into /usr/share/glib-2.0/schemas/
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build
[ 4%] Scanning dependencies of target i18n
Generating src/WingpanelApp.c;src/IndicatorWidget.c;src/IndicatorIface.c;src/IndicatorLoader.c;src/Indicator/IndicatorObjectEntry.c;src/Indicator/IndicatorObject.c;src/Indicator/IndicatorFactory.c;src/Widgets/Panel.c;src/Widgets/BasePanel.c;src/Widgets/PanelShadow.c;src/Widgets/IndicatorButton.c;src/Widgets/AppsButton.c;src/Widgets/MenuBar.c;src/Widgets/IndicatorMenubar.c;src/Widgets/StyleClass.c;src/Services/Settings.c;src/Services/AppLauncherService.c;src/Services/LauncherRunner.c;src/Services/IndicatorSorter.c;src/Services/BackgroundManager.c
[ 9%] messages.”
[ 9%] Built target i18n
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Widgets/BasePanel.vala:230.37-230.50: warning: Gdk.X11Display has been deprecated since vala-0.24. Use Gdk.X11.Display
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Widgets/BasePanel.vala:231.19-231.31: warning: Gdk.X11Window has been deprecated since vala-0.24. Use Gdk.X11.Window
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Services/BackgroundManager.vala:20.9-20.26: warning: field `Wingpanel.Services.ColorInformation.average_red' never used
        double average_red;
        ^^^^^^^^^^^^^^^^^^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Services/BackgroundManager.vala:21.9-21.28: warning: field `Wingpanel.Services.ColorInformation.average_green' never used
        double average_green;
        ^^^^^^^^^^^^^^^^^^^^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Services/BackgroundManager.vala:22.9-22.27: warning: field `Wingpanel.Services.ColorInformation.average_blue' never used
        double average_blue;
        ^^^^^^^^^^^^^^^^^^^
Compilation succeeded - 5 warning(s)
Scanning dependencies of target wingpanel
[ 13%] [ 18%] [ 22%] [ 27%] Building C object CMakeFiles/wingpanel.dir/src/IndicatorWidget.c.o
Building C object CMakeFiles/wingpanel.dir/src/WingpanelApp.c.o
Building C object CMakeFiles/wingpanel.dir/src/IndicatorLoader.c.o
Building C object CMakeFiles/wingpanel.dir/src/IndicatorIface.c.o
In file included from /home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build/src/WingpanelApp.c:23:0:
/usr/include/granite/granite.h:1565:1: warning: ‘GraniteWidgetsSourceListSortFunc’ is deprecated [-Wdeprecated-declarations]
 void granite_widgets_source_list_set_sort_func (GraniteWidgetsSourceList* self, GraniteWidgetsSourceListSortFunc sort_func, void* sort_func_target, GDestroyNotify sort_func_target_destroy_notify) G_GNUC_DEPRECATED;
 ^
[ 31%] [ 36%] Building C object CMakeFiles/wingpanel.dir/src/Indicator/IndicatorObjectEntry.c.o
Building C object CMakeFiles/wingpanel.dir/src/Indicator/IndicatorObject.c.o
[ 40%] Building C object CMakeFiles/wingpanel.dir/src/Indicator/IndicatorFactory.c.o
[ 45%] Building C object CMakeFiles/wingpanel.dir/src/Widgets/Panel.c.o
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObject.vala: In function ‘wingpanel_backend_indicator_object_real_get_entries’:
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObject.vala:45:2: warning: passing argument 1 of ‘gee_abstract_map_get_values’ from incompatible pointer type [enabled by default]
         return entries.values;
  ^
In file included from /home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build/src/Indicator/IndicatorObject.c:25:0:
/usr/include/gee-0.8/gee.h:1457:16: note: expected ‘struct GeeAbstractMap *’ but argument is of type ‘struct GeeMap *’
 GeeCollection* gee_abstract_map_get_values (GeeAbstractMap* self);
                ^
In file included from /home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build/src/Indicator/IndicatorObjectEntry.c:13:0:
/usr/include/granite/granite.h:1565:1: warning: ‘GraniteWidgetsSourceListSortFunc’ is deprecated [-Wdeprecated-declarations]
 void granite_widgets_source_list_set_sort_func (GraniteWidgetsSourceList* self, GraniteWidgetsSourceListSortFunc sort_func, void* sort_func_target, GDestroyNotify sort_func_target_destroy_notify) G_GNUC_DEPRECATED;
 ^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObjectEntry.vala: In function ‘wingpanel_backend_indicator_object_entry_construct’:
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObjectEntry.vala:78:2: warning: passing argument 2 of ‘g_list_foreach’ from incompatible pointer type [enabled by default]
             entry.menu.get_children ().foreach (setup_margin);
  ^
In file included from /usr/include/glib-2.0/glib/ghash.h:33:0,
                 from /usr/include/glib-2.0/glib.h:50,
                 from /home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build/src/Indicator/IndicatorObjectEntry.c:6:
/usr/include/glib-2.0/glib/glist.h:132:10: note: expected ‘GFunc’ but argument is of type ‘void (*)(const void *, void *)’
 void g_list_foreach (GList *list,
          ^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObjectEntry.vala: In function ‘wingpanel_backend_indicator_object_entry_setup_margin’:
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObjectEntry.vala:91:2: warning: ‘gtk_widget_set_margin_left’ is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:1089): Use 'gtk_widget_set_margin_start' instead [-Wdeprecated-declarations]
             widget.margin_left = 10;
  ^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Indicator/IndicatorObjectEntry.vala:92:2: warning: ‘gtk_widget_set_margin_right’ is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:1094): Use 'gtk_widget_set_margin_end' instead [-Wdeprecated-declarations]
             widget.margin_right = 9;
  ^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build/src/Indicator/IndicatorFactory.c:30:39: fatal error: libindicator/indicator-ng.h: No such file or directory
 #include <libindicator/indicator-ng.h>
                                       ^
compilation terminated.
CMakeFiles/wingpanel.dir/build.make:261: recipe for target 'CMakeFiles/wingpanel.dir/src/Indicator/IndicatorFactory.c.o' failed
make[2]: *** [CMakeFiles/wingpanel.dir/src/Indicator/IndicatorFactory.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/build/src/Widgets/Panel.c:12:0:
/usr/include/granite/granite.h:1565:1: warning: ‘GraniteWidgetsSourceListSortFunc’ is deprecated [-Wdeprecated-declarations]
 void granite_widgets_source_list_set_sort_func (GraniteWidgetsSourceList* self, GraniteWidgetsSourceListSortFunc sort_func, void* sort_func_target, GDestroyNotify sort_func_target_destroy_notify) G_GNUC_DEPRECATED;
 ^
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Widgets/Panel.vala: In function ‘wingpanel_widgets_panel_delete_entry’:
/home/user/Documents/aur-alucryd/pantheon/wingpanel-bzr/src/wingpanel/src/Widgets/Panel.vala:90:9: warning: assignment from incompatible pointer type [enabled by default]
             var parent = entry.parent;
         ^
CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/wingpanel.dir/all' failed
make[1]: *** [CMakeFiles/wingpanel.dir/all] Error 2
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting..

Revision history for this message
No Name (nonamenoname) wrote :

If you want to use the Indicators, which is Wingpanels only feature (except launching slingshot), ubuntu patches for gtk are essential for a working wingpanel.

We are evaluating other indicator resources but i think it is targeted for isis+1 -> wingpanel-0.4

beta992 (beta992)
Changed in wingpanel:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.