Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188471 - dev-util/anjuta-2.2.0: make devhelp dependency optional
Summary: dev-util/anjuta-2.2.0: make devhelp dependency optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Saleem Abdulrasool (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-11 13:30 UTC by Katharina
Modified: 2007-08-14 12:01 UTC (History)
0 users

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 Katharina 2007-08-11 13:30:13 UTC
There are use flags for all optional plugins except devhelp. Please add a use flag for devhelp.

$ diff -u anjuta-2.2.0.ebuild.orig anjuta-2.2.0.ebuild
--- anjuta-2.2.0.ebuild.orig    2007-08-11 13:19:34.305689416 +0200
+++ anjuta-2.2.0.ebuild 2007-08-11 13:19:34.805660904 +0200
@@ -11,7 +11,7 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug doc glade inherit-graph sourceview subversion valgrind"
+IUSE="debug devhelp doc glade inherit-graph sourceview subversion valgrind"
 
 RDEPEND=">=dev-libs/glib-2.8.0
         >=x11-libs/gtk+-2.8.0
@@ -27,7 +27,7 @@
         >=dev-libs/libxml2-2.4.23
         >=x11-libs/pango-1.1.1
         >=dev-libs/gdl-0.7.5
-        >=dev-util/devhelp-0.13
+        devhelp? ( >=dev-util/devhelp-0.13 )
         >=app-text/gnome-doc-utils-0.3.2
         >=dev-libs/gnome-build-0.1.6
         >=dev-libs/libpcre-5.0
@@ -57,7 +57,7 @@
 
 pkg_setup() {
        G2CONF="${G2CONF}
-               --enable-plugin-devhelp \
+               $(use_enable devhelp plugin-devhelp) \
                $(use_enable debug) \
                $(use_enable doc gtk-doc) \
                $(use_enable glade plugin-glade) \

The plugin will be built regardless of this use flag. Only the embedded help browser is missing when this flag is not set.

Reproducible: Always

Steps to Reproduce:
Comment 1 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-08-14 03:15:43 UTC
Done with 2.2.0-r1
Comment 2 Katharina 2007-08-14 12:01:50 UTC
(In reply to comment #1)
> Done with 2.2.0-r1

Thank you!