public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxslt/files/
@ 2015-11-23 10:53 Gilles Dartiguelongue
  0 siblings, 0 replies; 2+ messages in thread
From: Gilles Dartiguelongue @ 2015-11-23 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     451f8e10c06f460a403c8607de8aa14a55ef8727
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 23 10:53:09 2015 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Mon Nov 23 10:53:41 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=451f8e10

dev-libs/libxslt: update autoconf patch to avoid relying on environment

Python eclass export PYTHON in environment so it enables python support even though it was not requested, see bug #566552.

https://bugs.gentoo.org/show_bug.cgi?id=566552

Package-Manager: portage-2.2.25

 .../files/libxslt-1.1.28-simplify-python.patch      | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/dev-libs/libxslt/files/libxslt-1.1.28-simplify-python.patch b/dev-libs/libxslt/files/libxslt-1.1.28-simplify-python.patch
index 678b002..7cbaaf6 100644
--- a/dev-libs/libxslt/files/libxslt-1.1.28-simplify-python.patch
+++ b/dev-libs/libxslt/files/libxslt-1.1.28-simplify-python.patch
@@ -1,4 +1,4 @@
-From 6fb632732a28fc5c5c8f20a7be8ded759acd8994 Mon Sep 17 00:00:00 2001
+From f8aeca1dca05c7053532c576add6ab4a472c5e4e Mon Sep 17 00:00:00 2001
 From: Gilles Dartiguelongue <eva@gentoo.org>
 Date: Wed, 11 Nov 2015 17:49:07 +0100
 Subject: [PATCH] Simplify python setup in autoconf
@@ -8,8 +8,8 @@ from the rest of the autoconf script.
 ---
  Makefile.am        |  14 +++++--
  configure.in       | 119 ++++++++++++++---------------------------------------
- python/Makefile.am |  30 ++++----------
- 3 files changed, 49 insertions(+), 114 deletions(-)
+ python/Makefile.am |  28 ++++---------
+ 3 files changed, 49 insertions(+), 112 deletions(-)
 
 diff --git a/Makefile.am b/Makefile.am
 index e357f19..c396913 100644
@@ -44,7 +44,7 @@ index e357f19..c396913 100644
  valgrind:
  	@echo '## Running the regression tests under Valgrind'
 diff --git a/configure.in b/configure.in
-index e84ad4f..27c0e0e 100644
+index e84ad4f..102c733 100644
 --- a/configure.in
 +++ b/configure.in
 @@ -291,90 +291,37 @@ dnl
@@ -162,7 +162,7 @@ index e84ad4f..27c0e0e 100644
 +              AC_MSG_WARN([libxml2 python module not found, expect runtime errors])])
 +      ])
 +
-+AM_CONDITIONAL([WITH_PYTHON], [test "$PYTHON" != ""])
++AM_CONDITIONAL([WITH_PYTHON], [test "$with_python" = "yes"])
 +AC_SUBST([PYTHON_CFLAGS])
 +AC_SUBST([PYTHON_LDFLAGS])
 +AC_SUBST([PYTHON_LIBS])
@@ -181,7 +181,7 @@ index e84ad4f..27c0e0e 100644
  XSLT_LIBDIR='-L${libdir}'
  XSLT_INCLUDEDIR='-I${includedir}'
 diff --git a/python/Makefile.am b/python/Makefile.am
-index fa58b78..cc13c62 100644
+index fa58b78..3a5ecd6 100644
 --- a/python/Makefile.am
 +++ b/python/Makefile.am
 @@ -5,9 +5,9 @@ SUBDIRS= . tests
@@ -196,7 +196,7 @@ index fa58b78..cc13c62 100644
  
  EXTRA_DIST = 			\
  	libxslt.c		\
-@@ -16,43 +16,29 @@ EXTRA_DIST = 			\
+@@ -16,10 +16,7 @@ EXTRA_DIST = 			\
  	libxml_wrap.h		\
  	libxslt_wrap.h		\
  	libxsl.py		\
@@ -208,11 +208,10 @@ index fa58b78..cc13c62 100644
  
  if WITH_PYTHON
  mylibs = \
- 	$(top_builddir)/libxslt/libxslt.la \
- 	$(top_builddir)/libexslt/libexslt.la
+@@ -28,31 +25,22 @@ mylibs = \
+ 
+ all-local: libxslt.py
  
--all-local: libxslt.py
--
 -python_LTLIBRARIES = libxsltmod.la
 +python_PYTHON = libxslt.py
 +pyexec_LTLIBRARIES = libxsltmod.la


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxslt/files/
@ 2016-11-06 19:33 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2016-11-06 19:33 UTC (permalink / raw
  To: gentoo-commits

commit:     06246b13517a3963bc247228c95df74197051879
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sun Sep 11 09:40:44 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 19:32:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06246b13

dev-libs/libxslt: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/2226

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../files/libxslt-1.1.26-disable_static_modules.patch        | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch b/dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch
deleted file mode 100644
index fad067f..00000000
--- a/dev-libs/libxslt/files/libxslt-1.1.26-disable_static_modules.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- python/Makefile.am
-+++ python/Makefile.am
-@@ -24,7 +24,8 @@
- 	libxslt-python-api.xml	\
- 	$(DOCS)
- 
--libxsltmod_la_LDFLAGS =  $(WIN32_EXTRA_LDFLAGS) -module -avoid-version
-+libxsltmod_la_CPPFLAGS = -shared
-+libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version -shared
- 
- if WITH_PYTHON
- mylibs = \


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-06 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-06 19:33 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxslt/files/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2015-11-23 10:53 Gilles Dartiguelongue

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