Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libkate/files: libkate-0.2.1-doc.patch
Date: Mon, 29 Sep 2008 18:25:24
Message-Id: E1KkNQv-0002IY-VV@stork.gentoo.org
1 aballier 08/09/29 18:25:21
2
3 Added: libkate-0.2.1-doc.patch
4 Log:
5 version bump and fix build without doxygen, bug #238858
6 (Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64)
7
8 Revision Changes Path
9 1.1 media-libs/libkate/files/libkate-0.2.1-doc.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libkate/files/libkate-0.2.1-doc.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libkate/files/libkate-0.2.1-doc.patch?rev=1.1&content-type=text/plain
13
14 Index: libkate-0.2.1-doc.patch
15 ===================================================================
16 Index: libkate-0.2.0/Makefile.am
17 ===================================================================
18 --- libkate-0.2.0.orig/Makefile.am
19 +++ libkate-0.2.0/Makefile.am
20 @@ -1,4 +1,7 @@
21 -SUBDIRS=. tools doc
22 +SUBDIRS=. tools
23 +if HAVE_DOXYGEN
24 +SUBDIRS+=doc
25 +endif
26
27 OGGDIR=built-streams
28 kateincdir=$(includedir)/kate
29 Index: libkate-0.2.0/configure.ac
30 ===================================================================
31 --- libkate-0.2.0.orig/configure.ac
32 +++ libkate-0.2.0/configure.ac
33 @@ -68,7 +68,13 @@ AC_CHECK_HEADERS(
34 AC_TYPE_SIZE_T
35
36 AC_CHECK_PROG(HAVE_PKG_CONFIG,pkg-config,yes)
37 -AC_CHECK_PROG(HAVE_DOXYGEN,doxygen,yes)
38 +AC_ARG_ENABLE(doc, [ --disable-doc Disable building documentation (default enabled)])
39 +if test "x$enable_doc" != "xno"
40 +then
41 + AC_CHECK_PROG(HAVE_DOXYGEN,doxygen,yes)
42 +else
43 + HAVE_DOXYGEN="no"
44 +fi
45 AM_CONDITIONAL(HAVE_DOXYGEN,test "${HAVE_DOXYGEN}" = "yes")
46
47 AC_ARG_ENABLE(valgrind, [ --enable-valgrind Run the tests with Valgrind (default disabled)])