Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359549 - media-libs/memphis-0.2.3 no glib.h in include paths
Summary: media-libs/memphis-0.2.3 no glib.h in include paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-19 19:35 UTC by Angelo Arrifano (RETIRED)
Modified: 2011-03-20 09:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,18.46 KB, text/plain)
2011-03-19 19:35 UTC, Angelo Arrifano (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Angelo Arrifano (RETIRED) gentoo-dev 2011-03-19 19:35:17 UTC
Created attachment 266557 [details]
build.log

(...)
make[4]: Entering directory `/usr/local/tmp/portage/media-libs/memphis-0.2.3/work/memphis-0.2.3/bindings/vala/demos'
  CC     example.o
example.c:14:18: error: glib.h: No such file or directory
example.c:15:25: error: glib-object.h: No such file or directory
In file included from ../../../memphis/memphis.h:33,
                 from example.c:16:

The problem here is that in bindings/vala/demos/Makefile.am, VALA_EXAMPLE_{CFLAGS,LIBS} should be set with the include paths and libraries for linking. However looking at configure.ac:

VALA_EXAMPLE_{CFLAGS,LIBS} are only set with --enable-vala.

So I suggest disabling building of examples if USE="-vala".

doing a
$ USE="vala" emerge memphis -v
emerges just fine
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-03-20 09:47:53 UTC
Currently we are hacking in the ebuild, but a clean patch was sent upstream

diff --git a/configure.ac b/configure.ac
index d1a063d..68218b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,7 +95,7 @@ if test x$enable_vala = xyes; then
   AC_SUBST(VALA_EXAMPLE_PACKAGES)
 fi
 
-AM_CONDITIONAL(ENABLE_VALA, test x${VALAC} != x"")
+AM_CONDITIONAL(ENABLE_VALA, test x$enable_vala = xyes"")
 
 # -----------------------------------------------------------
 AC_CONFIG_FILES([Makefile


+  20 Mar 2011; Justin Lecher <jlec@gentoo.org> -memphis-0.2.2.ebuild,
+  memphis-0.2.3.ebuild, +files/memphis-0.2.3-demos.patch:
+  Removed old, fix for conditional building vala bindings, 359549
+