From 95bc479d92ca46173b520fddfae983068d38562d Mon Sep 17 00:00:00 2001 From: Dexuan Cui Date: Fri, 2 Jul 2010 15:27:23 +0800 Subject: util-macros: upgrade to the latest version 1.10.0 Deleted the patch unbreak_cross_compile.patch since upstream has fixed the issue: commit 5d7f8c2638a3b2c3bba8deb01e94703310b62cc4 Author: Yaakov Selkowitz Date: Thu Mar 25 18:10:00 2010 -0500 doc: add XORG_CHECK_SGML_DOCTOOLS to detect xorg-sgml-doctools Trying to find X11/defs.ent with AC_CHECK_FILE does not work when cross-compiling, and the check assumed that xorg-sgml-doctools is installed to the same prefix which need not always be the case. xorg-sgml-doctools 1.4 provides a pkg-config file which we can use instead, fixing both those cases. This macro is provided in util-macros instead of with xorg-sgml-doctools, otherwise the latter would become a hard dependency just to run autoreconf. Signed-off-by: Yaakov Selkowitz Reviewed-by: Gaetan Nadon BTW: the repository is at: git clone git://anongit.freedesktop.org/git/xorg/util/macros and the above commit can be viewed via http://cgit.freedesktop.org/xorg/util/macros/commit/?id=5d7f8c2638a3b2c3bba8deb01e94703310b62cc4 Signed-off-by: Dexuan Cui --- .../xorg-util/files/unbreak_cross_compile.patch | 19 ------------------- meta/packages/xorg-util/util-macros_1.10.0.bb | 16 ++++++++++++++++ meta/packages/xorg-util/util-macros_1.6.0.bb | 13 ------------- meta/packages/xorg-util/xorg-util-common.inc | 2 ++ 4 files changed, 18 insertions(+), 32 deletions(-) delete mode 100644 meta/packages/xorg-util/files/unbreak_cross_compile.patch create mode 100644 meta/packages/xorg-util/util-macros_1.10.0.bb delete mode 100644 meta/packages/xorg-util/util-macros_1.6.0.bb (limited to 'meta/packages') diff --git a/meta/packages/xorg-util/files/unbreak_cross_compile.patch b/meta/packages/xorg-util/files/unbreak_cross_compile.patch deleted file mode 100644 index 1f784944d..000000000 --- a/meta/packages/xorg-util/files/unbreak_cross_compile.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- - xorg-macros.m4.in | 2 -- - 1 file changed, 2 deletions(-) - ---- util-macros-1.1.6.orig/xorg-macros.m4.in -+++ util-macros-1.1.6/xorg-macros.m4.in -@@ -252,12 +252,10 @@ HAVE_DEFS_ENT= - BUILDTXTDOC=no - BUILDPDFDOC=no - BUILDPSDOC=no - BUILDHTMLDOC=no - --AC_CHECK_FILE([$XORG_SGML_PATH/X11/defs.ent], [HAVE_DEFS_ENT=yes]) -- - AC_PATH_PROG(DOCBOOKPS, docbook2ps) - AC_PATH_PROG(DOCBOOKPDF, docbook2pdf) - AC_PATH_PROG(DOCBOOKHTML, docbook2html) - AC_PATH_PROG(DOCBOOKTXT, docbook2txt) - diff --git a/meta/packages/xorg-util/util-macros_1.10.0.bb b/meta/packages/xorg-util/util-macros_1.10.0.bb new file mode 100644 index 000000000..d3bf613a6 --- /dev/null +++ b/meta/packages/xorg-util/util-macros_1.10.0.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "X autotools macros" + +require xorg-util-common.inc + +LICENSE = "MIT & MIT-style" +LIC_FILES_CHKSUM = "file://COPYING;md5=b8b2965be9997891cf7ddccdfb242ca8" + +PE = "1" +PR = "r0" + +# ${PN} is empty so we need to tweak -dev and -dbg package dependencies +DEPENDS = "gettext" +RDEPENDS_${PN}-dev = "" +RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta/packages/xorg-util/util-macros_1.6.0.bb b/meta/packages/xorg-util/util-macros_1.6.0.bb deleted file mode 100644 index 052a65873..000000000 --- a/meta/packages/xorg-util/util-macros_1.6.0.bb +++ /dev/null @@ -1,13 +0,0 @@ -require xorg-util-common.inc - -DESCRIPTION = "X autotools macros" -PE = "1" - -SRC_URI += "file://unbreak_cross_compile.patch;patch=1" - -# ${PN} is empty so we need to tweak -dev and -dbg package dependencies -DEPENDS = "gettext" -RDEPENDS_${PN}-dev = "" -RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/packages/xorg-util/xorg-util-common.inc b/meta/packages/xorg-util/xorg-util-common.inc index 86603e40b..18d022c49 100644 --- a/meta/packages/xorg-util/xorg-util-common.inc +++ b/meta/packages/xorg-util/xorg-util-common.inc @@ -1,4 +1,6 @@ HOMEPAGE = "http://www.x.org" +BUGTRACKER = "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg" + SECTION = "x11/utils" LICENSE = "MIT-X" -- cgit v1.2.3