After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 692176 - build: goadaemon - fixes location of goaidentity include.
build: goadaemon - fixes location of goaidentity include.
Status: RESOLVED FIXED
Product: gnome-online-accounts
Classification: Core
Component: general
3.7.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Online Accounts maintainer(s)
GNOME Online Accounts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-01-21 09:10 UTC by Alban Browaeys
Modified: 2013-06-10 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: goadaemon - fixes location of goaidentity include. (895 bytes, patch)
2013-01-21 09:10 UTC, Alban Browaeys
committed Details | Review

Description Alban Browaeys 2013-01-21 09:10:07 UTC
Created attachment 233990 [details] [review]
build: goadaemon - fixes location of goaidentity include.

goaidentity directory is <top>/src/goaidentity not <top>/goaidentity.
Comment 1 Debarshi Ray 2013-01-21 11:52:03 UTC
Comment on attachment 233990 [details] [review]
build: goadaemon - fixes location of goaidentity include.

Looks fine, but I think we can just drop the -I$(top_builddir)/goaidentity because it is not required.
Comment 2 Alban Browaeys 2013-05-26 09:21:42 UTC
With builddir removed I get:
make[4]: Entering directory `/home/prahal/Projects/Devel/Gnome/jhbuild/build/gnome-online-accounts/src/daemon'
  CC       goa_daemon-goadaemon.o
In file included from /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gnome-online-accounts/src/daemon/goadaemon.c:34:0:
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gnome-online-accounts/src/goaidentity/goaidentityservice.h:30:32: fatal error: org.gnome.Identity.h: No such file or directory
 #include "org.gnome.Identity.h"
                                ^
compilation terminated.


This is with a rm -rf of build/gnome-online-accounts and git clean -dfx of the srcdir (with above patch stripped from the builddir/src/goaidentity ie with this patch instead of the previous one:
diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am
index 97ad29d..c8d4b1d 100644
--- a/src/daemon/Makefile.am
+++ b/src/daemon/Makefile.am
@@ -3,8 +3,7 @@ NULL =
 INCLUDES =                                                     \
        -I$(top_builddir)/src -I$(top_srcdir)/src               \
        -I$(top_builddir)/src/goa                               \
-       -I$(top_builddir)/goaidentity                           \
-       -I$(top_srcdir)/goaidentity                             \
+       -I$(top_srcdir)/src/goaidentity                 \
        -DPACKAGE_LIBEXEC_DIR=\""$(libexecdir)"\"               \
        -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\"               \
        -DPACKAGE_DATA_DIR=\""$(pkgdatadir)"\"
Comment 3 Debarshi Ray 2013-06-10 16:32:45 UTC
Comment on attachment 233990 [details] [review]
build: goadaemon - fixes location of goaidentity include.

Yes, you are right and thank you very much for the patch.