From patchwork Tue May 11 19:16:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 4262 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4FfnhY21lcz44RT for ; Tue, 11 May 2021 19:16:13 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4FfnhW3kJ4z2BX; Tue, 11 May 2021 19:16:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4FfnhV6Z54z2xcn; Tue, 11 May 2021 19:16:10 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4FfnhT2qg7z2x9h for ; Tue, 11 May 2021 19:16:09 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4FfnhS5r4Fzjd; Tue, 11 May 2021 19:16:08 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1620760569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7txpHOjhFlFSwiazO4p8DUvVMsSk8F0sts5PIA0mTPs=; b=OIORnr/D3bimXrrFCsOEhivHipINQHpddhYdcjn88fTcGE/dlUjaLl7PEArb1Tq51vqeFc /BPRd+zVJTT3AvAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1620760569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=7txpHOjhFlFSwiazO4p8DUvVMsSk8F0sts5PIA0mTPs=; b=C3kut1i+5Y3wp8A9GGgzBRILLwx1vXewf0ITQmZjR9MJDSGsWemz31VrthwFegh1xOdqbW uisgsvhsIshQ0Rmm9DTHFyqNZ1anO5g4v2gOEwr/bavSpGfnW0JZ+odNTHsZG3686fgEJ4 ddTD80sGmUQV1Tcxq9dQGIcHdqzhDokoKLHoQ5L/RVw/9fotxAq2uU7z9eccCb9fkWPBJS PD1g+CNaFg86AgqUvxysn2xF1jp7XD4/R22bj8yJ2WF0LhkJbuzdgm55hT3j7jbrsGi9+K JVyGsdtf/zrAVsj11Lijfm06uPhtaVcXdAUgcoFKtbg1hbu/rgg7I7pZdUZb5Q== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libxml2: Update to disable python2 modules Date: Tue, 11 May 2021 21:16:05 +0200 Message-Id: <20210511191605.3673715-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - Added --without-python to configure section to not build the python2 modules which are not required for libxml2 use in IPFire - Update rootfile Signed-off-by: Adolf Belka --- config/rootfiles/common/libxml2 | 58 --------------------------------- lfs/libxml2 | 6 +++- 2 files changed, 5 insertions(+), 59 deletions(-) diff --git a/config/rootfiles/common/libxml2 b/config/rootfiles/common/libxml2 index 83253eaa1..a1176d7af 100644 --- a/config/rootfiles/common/libxml2 +++ b/config/rootfiles/common/libxml2 @@ -57,10 +57,6 @@ usr/lib/libxml2.so.2 usr/lib/libxml2.so.2.9.10 #usr/lib/pkgconfig/libxml-2.0.pc -usr/lib/python2.7/site-packages/drv_libxml2.py -usr/lib/python2.7/site-packages/libxml2.py -#usr/lib/python2.7/site-packages/libxml2mod.la -usr/lib/python2.7/site-packages/libxml2mod.so #usr/lib/xml2Conf.sh #usr/share/aclocal/libxml.m4 #usr/share/doc/libxml2-2.9.10 @@ -222,60 +218,6 @@ usr/lib/python2.7/site-packages/libxml2mod.so #usr/share/doc/libxml2-2.9.10/html/xpath1.res #usr/share/doc/libxml2-2.9.10/html/xpath2.c #usr/share/doc/libxml2-2.9.10/html/xpath2.res -#usr/share/doc/libxml2-python-2.9.10 -#usr/share/doc/libxml2-python-2.9.10/TODO -#usr/share/doc/libxml2-python-2.9.10/examples -#usr/share/doc/libxml2-python-2.9.10/examples/attribs.py -#usr/share/doc/libxml2-python-2.9.10/examples/build.py -#usr/share/doc/libxml2-python-2.9.10/examples/compareNodes.py -#usr/share/doc/libxml2-python-2.9.10/examples/ctxterror.py -#usr/share/doc/libxml2-python-2.9.10/examples/cutnpaste.py -#usr/share/doc/libxml2-python-2.9.10/examples/dtdvalid.py -#usr/share/doc/libxml2-python-2.9.10/examples/error.py -#usr/share/doc/libxml2-python-2.9.10/examples/inbuf.py -#usr/share/doc/libxml2-python-2.9.10/examples/indexes.py -#usr/share/doc/libxml2-python-2.9.10/examples/input_callback.py -#usr/share/doc/libxml2-python-2.9.10/examples/invalid.xml -#usr/share/doc/libxml2-python-2.9.10/examples/nsdel.py -#usr/share/doc/libxml2-python-2.9.10/examples/outbuf.py -#usr/share/doc/libxml2-python-2.9.10/examples/push.py -#usr/share/doc/libxml2-python-2.9.10/examples/pushSAX.py -#usr/share/doc/libxml2-python-2.9.10/examples/pushSAXhtml.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader2.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader3.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader4.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader5.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader6.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader7.py -#usr/share/doc/libxml2-python-2.9.10/examples/reader8.py -#usr/share/doc/libxml2-python-2.9.10/examples/readererr.py -#usr/share/doc/libxml2-python-2.9.10/examples/readernext.py -#usr/share/doc/libxml2-python-2.9.10/examples/regexp.py -#usr/share/doc/libxml2-python-2.9.10/examples/relaxng.py -#usr/share/doc/libxml2-python-2.9.10/examples/resolver.py -#usr/share/doc/libxml2-python-2.9.10/examples/schema.py -#usr/share/doc/libxml2-python-2.9.10/examples/serialize.py -#usr/share/doc/libxml2-python-2.9.10/examples/sync.py -#usr/share/doc/libxml2-python-2.9.10/examples/test.dtd -#usr/share/doc/libxml2-python-2.9.10/examples/thread2.py -#usr/share/doc/libxml2-python-2.9.10/examples/tst.py -#usr/share/doc/libxml2-python-2.9.10/examples/tst.xml -#usr/share/doc/libxml2-python-2.9.10/examples/tstLastError.py -#usr/share/doc/libxml2-python-2.9.10/examples/tstURI.py -#usr/share/doc/libxml2-python-2.9.10/examples/tstmem.py -#usr/share/doc/libxml2-python-2.9.10/examples/tstxpath.py -#usr/share/doc/libxml2-python-2.9.10/examples/valid.xml -#usr/share/doc/libxml2-python-2.9.10/examples/validDTD.py -#usr/share/doc/libxml2-python-2.9.10/examples/validRNG.py -#usr/share/doc/libxml2-python-2.9.10/examples/validSchemas.py -#usr/share/doc/libxml2-python-2.9.10/examples/validate.py -#usr/share/doc/libxml2-python-2.9.10/examples/walker.py -#usr/share/doc/libxml2-python-2.9.10/examples/xpath.py -#usr/share/doc/libxml2-python-2.9.10/examples/xpathext.py -#usr/share/doc/libxml2-python-2.9.10/examples/xpathleak.py -#usr/share/doc/libxml2-python-2.9.10/examples/xpathns.py -#usr/share/doc/libxml2-python-2.9.10/examples/xpathret.py #usr/share/gtk-doc #usr/share/gtk-doc/html #usr/share/gtk-doc/html/libxml2 diff --git a/lfs/libxml2 b/lfs/libxml2 index e3488f054..fd4b5e577 100644 --- a/lfs/libxml2 +++ b/lfs/libxml2 @@ -73,7 +73,11 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) $(UPDATE_AUTOMAKE) - cd $(DIR_APP) && ./configure --prefix=/usr --disable-static --with-history + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-static \ + --with-history \ + --without-python cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP)