public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] libxml2: Update to disable python2 modules
@ 2021-05-11 19:16 Adolf Belka
  0 siblings, 0 replies; only message in thread
From: Adolf Belka @ 2021-05-11 19:16 UTC (permalink / raw)
  To: development

[-- 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-11 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 19:16 [PATCH] libxml2: Update to disable python2 modules Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox