[poky] [PATCH 2/2] libuser: enable documentation
Scott Garman
scott.a.garman at intel.com
Thu Feb 24 17:07:55 PST 2011
From: Scott Garman <scott.a.garman at intel.com>
Added popt to DEPENDS. This fixes the following build error:
apps/luserdel.c:25:18: fatal error: popt.h: No such file or directory
Remove patch and configure flag which had disabled doc generation
Add docbook-utils-native and linuxdoc-tools-native to DEPENDS
This fixes [BUGID #213]
Signed-off-by: Scott Garman <scott.a.garman at intel.com>
---
.../libuser/libuser-0.57.1/disable-sgml-doc.patch | 18 ------------------
meta/recipes-extended/libuser/libuser_0.57.1.bb | 9 ++++-----
2 files changed, 4 insertions(+), 23 deletions(-)
delete mode 100644 meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch
diff --git a/meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch b/meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch
deleted file mode 100644
index a2017c5..0000000
--- a/meta/recipes-extended/libuser/libuser-0.57.1/disable-sgml-doc.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Disable generating docs from sgml, which requries linuxdoc-tools.
-
-Signed-off-by: Zhai Edwin <edwin.zhai at intel.com>
-Index: libuser-0.56.16/docs/Makefile.am
-===================================================================
---- libuser-0.56.16.orig/docs/Makefile.am 2010-08-12 13:29:43.000000000 +0800
-+++ libuser-0.56.16/docs/Makefile.am 2010-08-12 13:29:51.000000000 +0800
-@@ -14,8 +14,8 @@
-
- sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml
- [ -d sgml ] || mkdir sgml
-- cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
-+# cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml
-
- sgml/libuser.html: $(srcdir)/sgml/libuser.sgml
- [ -d sgml ] || mkdir sgml
-- cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
-+# cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml
diff --git a/meta/recipes-extended/libuser/libuser_0.57.1.bb b/meta/recipes-extended/libuser/libuser_0.57.1.bb
index d2e7c3a..2dd3f11 100644
--- a/meta/recipes-extended/libuser/libuser_0.57.1.bb
+++ b/meta/recipes-extended/libuser/libuser_0.57.1.bb
@@ -11,15 +11,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
SECTION = "base"
-SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \
- file://disable-sgml-doc.patch;patch=1"
+SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz"
SRC_URI[md5sum] = "be82c6941264d0b4bd04f95fb342ec7d"
SRC_URI[sha256sum] = "a61289867581fa715354a3fafe09c3e481173ce0a2dcb33b04588b6ac13cead5"
-PR = "r0"
+PR = "r1"
-DEPENDS = "gettext libpam glib-2.0 xz-native"
+DEPENDS = "gettext popt libpam glib-2.0 xz-native docbook-utils-native linuxdoc-tools-native"
-EXTRA_OECONF += "--disable-gtk-doc --without-python"
+EXTRA_OECONF += "--without-python"
inherit autotools
--
1.7.1
More information about the poky
mailing list