From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] libxml2: Update to disable python2 modules
Date: Tue, 11 May 2021 21:16:05 +0200 [thread overview]
Message-ID: <20210511191605.3673715-1-adolf.belka@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 4907 bytes --]
- 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 <adolf.belka(a)ipfire.org>
---
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)
--
2.31.1
reply other threads:[~2021-05-11 19:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210511191605.3673715-1-adolf.belka@ipfire.org \
--to=adolf.belka@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox