Files
presage/presage-buildcycle.diff
OBS User mrdocs f48f506019 Accepting request 496800 from home:jengelh:branches:M17N
- Add presage-buildcycle.diff to break the build cycle
  preemptively.
- Limit fdupes to not cross typical partition boundaries.

OBS-URL: https://build.opensuse.org/request/show/496800
OBS-URL: https://build.opensuse.org/package/show/M17N/presage?expand=0&rev=25
2017-05-20 03:45:05 +00:00

48 lines
1.2 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
build: always pretend wxpython is available
Relying on wxpython's presence if it is not even needed for building
is a bad idea, because that causes a build cycle:
presage (pyprompter) depends on python-wxWidgets
python-wxWidgets depends on wxWidgets
wxWidgets depends on SDL2
SDL2 depends on fcitx
fcitx depends on presage (libpresage)
---
configure.ac | 18 ------------------
1 file changed, 18 deletions(-)
Index: presage-0.9.1/configure.ac
===================================================================
--- presage-0.9.1.orig/configure.ac
+++ presage-0.9.1/configure.ac
@@ -343,26 +343,8 @@ dnl Checks for pyprompter
dnl =====================
if test "$PYTHON" != :
then
- AC_MSG_CHECKING(for python wx module)
- $PYTHON -c "import wx" 2&>/dev/null
- if test $? -eq 0;
- then
have_python_wx=yes
- else
- have_python_wx=no
- fi
- AC_MSG_RESULT($have_python_wx)
-
-
- AC_MSG_CHECKING(for python wx.stc module)
- $PYTHON -c "import wx.stc" 2&>/dev/null
- if test $? -eq 0;
- then
have_python_wx_stc=yes
- else
- have_python_wx_stc=no
- fi
- AC_MSG_RESULT($have_python_wx_stc)
fi
if test "$PYTHON" != : -a \