elementary-driveby team mailing list archive
-
elementary-driveby team
-
Mailing list archive
-
Message #00047
[Bug 887597] Re: build failure due to undeclared INDICATORDIR
Tried against 0.4.1 release of libindicator and against trunk. Both no
success. The issue seems to be caused by this line:
File dir = File.new_for_path (Build.INDICATORDIR);
Build is also referenced from src/WingpanelApp.vala and there it seems
to work fine.
This Build thing is defined in vapi/config.vapi but I do not see how it
is initialised. I guess it comes from this part of the CMakeLists.txt
file:
# Indicators
execute_process (COMMAND ${PKG_CONFIG_EXECUTABLE} indicator3-0.4 --variable indicatordir OUTPUT_VARIABLE _indicatordir OUTPUT_STRIP_TRAILING_WHITESPACE)
set (INDICATORDIR "${_indicatordir}")
Running pkg-config indicator3-0.4 --variable indicatordir gives:
/usr/lib64/indicators3/6/
So it should be able to find it. I don't know why it doesn't work out...
I'm not familiar enough with CMake/Vala to find out. But I am happy to
test patches...
--
You received this bug notification because you are a member of
elementary Drive-by Contributors, which is a bug assignee.
https://bugs.launchpad.net/bugs/887597
Title:
build failure due to undeclared INDICATORDIR
Status in WingPanel:
Confirmed
Bug description:
When I try to compile wingpanel from the new-wingpanel branch I get the following error:
/var/tmp/portage/pantheon-base/wingpanel-9999/work/wingpanel-9999/src/Services/IndicatorFileModel.vala:89:33: error: 'INDICATORDIR' undeclared (first use in this function)
I already tried to supply the value by adding -DINDICATORDIR="$(pkg-
config --variable=indicatordir indicator3-0.4)" as an argument to
CMake but that didn't help.
Output of 'make VERBOSE=1' (after the compile has failed once):
/var/tmp/portage/pantheon-base/wingpanel-9999/work/wingpanel-9999/src/Services/IndicatorFileModel.vala:89:33: error: 'INDICATORDIR' undeclared (first use in this function)
/var/tmp/portage/pantheon-base/wingpanel-9999/work/wingpanel-9999/src/Services/IndicatorFileModel.vala:89:33: note: each undeclared identifier is reported only once for each function it appears in
This problem appears on Gentoo linux
To manage notifications about this bug go to:
https://bugs.launchpad.net/wingpanel/+bug/887597/+subscriptions