From patchwork Thu Apr 4 22:16:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 161812 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2141127jan; Thu, 4 Apr 2019 15:17:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdlJdJ+XmJf9QLZY+c0n+5E5VM4XrkftX0ww4gAfzWXFHjtjlNTms4hma0KS7Crjpzq4ze X-Received: by 2002:a63:500f:: with SMTP id e15mr8551849pgb.198.1554416258780; Thu, 04 Apr 2019 15:17:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554416258; cv=none; d=google.com; s=arc-20160816; b=08833miP5OQOVIcmL/beJSOWNmDDdTPsx2Qr4CyiWiLmTtIIcQOVoQ0ULLTwgnJOmw 8rDtJzhr4tJbubl0ge/gR+LH80cghLbqL6l9vsfH2w7dG4d+Oj4FGqQZJvRB2Y79YkJV BzEedbo3WWO6uA4t40QWS04odmwQ7xIkLtm8N8LttKMOvjqP5sUXVGtNcLZ6+KDmRQ4v rZXUt7MmWVzKra4bbcfbtecDhEsaLYN8TqhxErTNXD0S4z1DDLOnwhYadhlNE5ADEKj+ cp22/1bY51wFCS8hgBVj1OXqWHDfsgOq6Q0uiRp4Cvi3EDSu1/iHqMrA2omxUAB0feur Ju2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=J7ooMAoUJtf/1/RdKoWONqV48+cbooXTzjOt5+bhxQY=; b=MGl5r8K9y5VdKBfyR3bBF5fgHDMXPze1ElpMIsFcBpqhnMOfOs/xGFunvk5t6lWl5r UKJuItIoh1Voovdnu/PBS+ybfGfGyBDfK8ZhOrnX+2Se93dJJBCObUclNxLz9zFkPkdb 5/8H2eU8OZwE8l8KS2KBWyVm+zC9Hhj7RkGhxRByZu0MMoAqX89jAnXxp+mBokJA3oqw L+FsSp6lRAypLJ+067hZLtAnWccBxwc0vRh9gzAGo9/SGlg4E0zKLBx7o/pwMo4IXr4c D3oVE5DWHU7QFhiMeLvAlFDx4rF+xQvqLg8pIacdrYx7QD865wQaoq10zHY9vWyEFygn zaYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=YCEJSSug; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 133si18239490pfu.82.2019.04.04.15.17.38; Thu, 04 Apr 2019 15:17:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=YCEJSSug; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B04E77D50D; Thu, 4 Apr 2019 22:17:12 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mail.openembedded.org (Postfix) with ESMTP id 3CF117D45D for ; Thu, 4 Apr 2019 22:16:59 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id z11so4775590wmi.0 for ; Thu, 04 Apr 2019 15:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=KSwQ6K0Wcg6HL8nscHk7krNotqZVfg2u/jBnfSWcbUI=; b=YCEJSSugYHGDL7gZ7ePk97MPkGqa7f8Lw7WtHGVaBwPTSBTAAekwjOrW4J+HqIkf4/ lHY3mAT9jxMrCdSjP8eXohg9p6+RaHM2UUpRTTznUA8w+2E7UXyxAq/IxukDgNnHIAf7 RUKYGM87oBixQwzbkuTo2RnA5WXrRCiYaGko7+GMCty1XCa1neqXxRHP0kicE9FQeIG0 W68yhNhhWY8WQ+5Owe7rO8tBtsyuD6wrW9hQCki3K5QU6iaQRLc2W2sYHln6rzxpyeD1 2+lp/yTIzRX5XS61NcCa76nSz/KQ/kI+0Ek+/NIg9f26B1P64TgI73K2VEMo+23OLi1X xxKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=KSwQ6K0Wcg6HL8nscHk7krNotqZVfg2u/jBnfSWcbUI=; b=fhtCTHI6eIztxZbK/FSUm0qu1hppfZGXE1xmqvtZUZEY9h9cox5UwpjXrrdHkGiqcs ZLoDyLvnl7QSXK4OKpeBVFX15IxhHzdOaYxfgg1RMYyg9Ae+lSChbgqTCHjv3i0tawa+ vbYD/sInbTU9v5bb7LC/NBbwtoMeNcuxeFq6m+H/2+sHjKq+1NjUrUc9WSuRDr1Vl+dN 1sI3ZzfIVpLI3WS0U+JMTF87dHWb+GpGX/KvAgZ5eAI3TtbW3N7U3uKpcklNXochmsur vNUNk75yaQ/SdXQi6C8dJExBPtEOMlLA3tILNxXswxEtVJhDA84SemgONMVhLAZTgmFV hIlQ== X-Gm-Message-State: APjAAAV/IYUXWaDc07ETUOHIwzsn3uWgRfK+kepdv+u9NDATTGfHoGVh LWcLj9/avtWqH5//B+WFuL+YpIDnfQ4= X-Received: by 2002:a1c:c910:: with SMTP id f16mr5312230wmb.47.1554416219696; Thu, 04 Apr 2019 15:16:59 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id d3sm305565wmf.46.2019.04.04.15.16.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Apr 2019 15:16:58 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 4 Apr 2019 23:16:42 +0100 Message-Id: <20190404221644.20496-7-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190404221644.20496-1-ross.burton@intel.com> References: <20190404221644.20496-1-ross.burton@intel.com> Subject: [OE-core] [PATCH v2 7/9] xmlto: remove XML catalog X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Now that docbook-xml and docbook-xsl use the xmlcatalog class, xmlto can stop shipping a hand-coded catalogue. It still needs to keep the wrapper so that the sysroot catalog is used instead of /etc/xml/catalog. The wrapper is native-specific so mark it as such. Note that this does effectively break xmlto on the target as the xmlcatalog class doesn't write a catalog for the target yet, but I'm hoping that nobody actually uses it on target. Signed-off-by: Ross Burton --- meta/recipes-devtools/xmlto/files/catalog.xml | 19 ------------------- meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 7 ++----- 2 files changed, 2 insertions(+), 24 deletions(-) delete mode 100644 meta/recipes-devtools/xmlto/files/catalog.xml -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/xmlto/files/catalog.xml b/meta/recipes-devtools/xmlto/files/catalog.xml deleted file mode 100644 index 6b8833d871b..00000000000 --- a/meta/recipes-devtools/xmlto/files/catalog.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb index 6216d7782be..06dc002083d 100644 --- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb @@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SRC_URI = "https://releases.pagure.org/xmlto/xmlto-${PV}.tar.gz \ file://configure.in-drop-the-test-of-xmllint-and-xsltproc.patch \ - file://catalog.xml \ " SRC_URI[md5sum] = "a1fefad9d83499a15576768f60f847c6" SRC_URI[sha256sum] = "2f986b7c9a0e9ac6728147668e776d405465284e13c74d4146c9cbc51fd8aad3" @@ -32,10 +31,8 @@ BBCLASSEXTEND = "native" EXTRA_OECONF_append = " BASH=/bin/bash GCP=/bin/cp XMLLINT=xmllint XSLTPROC=xsltproc" -do_install_append() { - install -d ${D}${sysconfdir}/xml/ - install -m 755 ${WORKDIR}/catalog.xml ${D}${sysconfdir}/xml/catalog.xml - create_wrapper ${D}/${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog.xml +do_install_append_class-native() { + create_wrapper ${D}${bindir}/xmlto XML_CATALOG_FILES=${sysconfdir}/xml/catalog } do_populate_sysroot[rdeptask] = "do_populate_sysroot"