Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357741 - dev-libs/libdbusmenu-0.3.16-r2 should RDEPEND at least on vala:0.10 if possible
Summary: dev-libs/libdbusmenu-0.3.16-r2 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: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 338067
  Show dependency tree
 
Reported: 2011-03-07 11:13 UTC by Pacho Ramos
Modified: 2011-03-07 13:15 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:13:25 UTC
vala:0 versions are old and will be removed as soon as nothing in the tree requires them. dev-libs/libdbusmenu should work with vala:0.10 (as does on other distributions) and, then, you should use the following if works ok for you:


--- libdbusmenu-0.3.16-r2.ebuild~	2011-02-07 10:56:46.000000000 +0100
+++ libdbusmenu-0.3.16-r2.ebuild	2011-03-07 12:08:59.000000000 +0100
@@ -30,7 +30,7 @@
 		dev-libs/json-glib[introspection=]
 		dev-util/dbus-test-runner
 	)
-	vala? ( dev-lang/vala:0 )
+	vala? ( dev-lang/vala:0.10 )
 	dev-util/intltool
 	dev-util/pkgconfig"
 
@@ -58,6 +58,8 @@
 	epatch "${FILESDIR}/${P}-fix-introspection.patch"
 	# Drop -Werror in a release
 	sed -e 's:-Werror::g' -i libdbusmenu-glib/Makefile.am libdbusmenu-gtk/Makefile.am || die "sed failed"
+	# Use vala:0.10
+	sed -i -e 's/vapigen/vapigen-0.10/' configure.ac
 	eautoreconf
 }

Thanks for your help

If it works with vala:0.12 for you, then, RDEPEND on it ;-)

Reproducible: Always