Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357745 - media-sound/gmpc-0.20.0 should RDEPEND at least on vala:0.10 if possible
Summary: media-sound/gmpc-0.20.0 should RDEPEND at least on vala:0.10 if possible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 338067
  Show dependency tree
 
Reported: 2011-03-07 11:41 UTC by Pacho Ramos
Modified: 2011-03-22 18:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2011-03-07 11:41:10 UTC
vala:0 versions are old and will be removed as soon as nothing in the tree
requires them. This seems to, at least, build against vala:0.10 with the following change:

--- gmpc-0.20.0.ebuild~	2011-02-26 13:31:17.000000000 +0100
+++ gmpc-0.20.0.ebuild	2011-03-07 12:35:34.000000000 +0100
@@ -23,13 +23,14 @@
 	dev-db/sqlite:3
 	xspf? ( >=media-libs/libxspf-1.2 )"
 DEPEND="${RDEPEND}
-	>=dev-lang/vala-0.7.10:0
+	>=dev-lang/vala-0.7.10:0.10
 	dev-util/gob
 	dev-util/pkgconfig
 	nls? ( dev-util/intltool
 		sys-devel/gettext )"
 
 src_configure() {
+	VALAC=$(type -p valac-0.10) \
 	econf \
 		--disable-dependency-tracking \
 		$(use_enable nls) \

Thanks

Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-03-08 04:27:17 UTC
you need to export the VALAC variable to reach the configure script.
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2011-03-08 08:00:26 UTC
That change works fine (at least on gmpc-mmkeys). I can't change it on gmpc yet though, because it's stable on ppc while vala-0.10 is not.
Comment 3 Pacho Ramos gentoo-dev 2011-03-08 11:54:09 UTC
(In reply to comment #1)
> you need to export the VALAC variable to reach the configure script.

It's equivalent to:
+    VALAC=$(type -p valac-0.10) \ <--

Best regards :-)
Comment 4 Christoph Mende (RETIRED) gentoo-dev 2011-03-22 18:57:45 UTC
vala:0.10 stable on ppc, so this is fixed