• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Japanese translation of message catalog for Sawfish Window-Manager


Commit MetaInfo

Revisãoad9828a3f6cf1e4b276cce4679a8fdd8427182a7 (tree)
Hora2010-04-27 23:35:21
AutorChristopher Roy Bratusek <zanghar@free...>
CommiterChristopher Roy Bratusek

Mensagem de Log

make xinerama an optional depedency

Mudança Sumário

Diff

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
1+2010-04-27 Christopher Bratusek <zanghar@freenet.de>
2+ * configure.in: make xinerama an optional dependency
3+ -- [modified patch from Gentoo]
4+
15 2010-04-06 Teika Kazura <teika@lavabit.com>
26 * lisp/sawfish/wm/autoload.jl
37 * lisp/sawfish/wm/commands.jl
--- a/configure.in
+++ b/configure.in
@@ -81,11 +81,17 @@ XRANDR_LIBS=""
8181 XFT_LIBS=""
8282 XFT_CFLAGS=""
8383
84+AC_ARG_WITH([xinerama], [AS_HELP_STRING([--with-xinerama], [Include Xinerama support])], [], [with_xinerama=yes])
85+
86+if test "$with_xinerama" != "no"; then
87+
8488 PKG_CHECK_MODULES(libXineRama, xinerama >= 1.0
8589 ,XINERAMA_LIBS="-lXinerama"
8690 AC_DEFINE(HAVE_X11_EXTENSIONS_XINERAMA_H, 1, [Have xinerama])
8791 ,AC_MSG_ERROR([cannot locate libXineRama]))
8892
93+fi
94+
8995 PKG_CHECK_MODULES(libXRandR, xrandr >= 1.0
9096 ,XRANDR_LIBS="-lXrandr"
9197 AC_DEFINE(HAVE_X11_EXTENSIONS_XRANDR_H, 1, [Have xrandr])
@@ -135,11 +141,15 @@ XRANDR_LIBS=""
135141 XFT_LIBS=""
136142 XFT_CFLAGS=""
137143
144+if test "$with_xinerama" != "no"; then
145+
138146 AC_CHECK_LIB(Xinerama, XineramaQueryScreens,
139147 [XINERAMA_LIBS="-lXinerama"
140148 AC_CHECK_HEADERS(X11/extensions/Xinerama.h)],
141149 [],[$X_LIBS -lX11 -lXext])
142150
151+fi
152+
143153 AC_CHECK_LIB(Xrandr, XRRUpdateConfiguration,
144154 [XRANDR_LIBS="-lXrandr"
145155 AC_CHECK_HEADERS(X11/extensions/Xrandr.h, [], [],
--- a/man/news.texi
+++ b/man/news.texi
@@ -110,6 +110,8 @@ We now edit the info often, so they are not so much meaningful.
110110 @item Pressing the lock-button does the state-change of the window
111111 accordingly. [Fuchur]@*
112112 No theme shipped with Sawfish does have the lock-button yet, though.
113+
114+@item Make xinerama an optional dependency [original patch from Gentoo]
113115 @end itemize
114116 @end itemize
115117