all repos — openbox @ 296c12c0361d64ad612d22154440ad4046938300

openbox fork - make it a bit more like ryudo

add Xft-build-support and Xinerama-build-support to the -help output
add --enable-xinerama to configure
Dana Jansens danakj@orodu.net
commit

296c12c0361d64ad612d22154440ad4046938300

parent

0ee5660504b3d55b8fb989241a675af4f925087f

M configure.inconfigure.in

@@ -82,6 +82,36 @@ LIBS="$LIBS -lXext"

AC_DEFINE(SHAPE,1,Enable support of the XShape extension) fi +dnl Check for Xinerama extension support and proper library files. +XINERAMA="" +AC_MSG_CHECKING([whether to build support for the Xinerama extension]) +AC_ARG_ENABLE( + xinerama, [ --enable-xinerama enable support of the Xinerama extension [default=no]], + if test x$enableval = "xyes"; then + AC_MSG_RESULT([yes]) + + AC_CHECK_LIB(Xinerama, XineramaQueryExtension, + AC_MSG_CHECKING([for X11/extensions/Xinerama.h]) + AC_TRY_LINK( +#include <X11/Xlib.h> +#include <X11/extensions/Xinerama.h> +, XineramaScreenInfo foo, + AC_MSG_RESULT([yes]) + XINERAMA="yes" + LIBS="$LIBS -lXinerama", + AC_MSG_RESULT([no]) + ) + ) + + else + AC_MSG_RESULT([no]) + fi, + AC_MSG_RESULT([no]) +) +if test x$XINERAMA = "xyes"; then + AC_DEFINE(XINERAMA,1,Enable support of the Xinerama extension) +fi + dnl Check for Xft extension support and proper library files. XFT="" AC_MSG_CHECKING([whether to build support for the Xft extension])
M nls/C/main.mnls/C/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/da_DK/main.mnls/da_DK/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Kompileret med:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/de_DE/main.mnls/de_DE/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Optionen zum Kompilationszeitpunkt:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/es_ES/main.mnls/es_ES/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Opciones durante la compilación:\n\ Información extra para depuración: %s\n\ Forma: %s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp simulación ordenada de colores en imágenes: %s\n\n
M nls/et_EE/main.mnls/et_EE/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Kompileerimisoptsioonid:\n\ Debuggimine\t\t\t%s\n\ Kuju:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp määratud teravustamine:\t%s\n\n
M nls/fr_FR/main.mnls/fr_FR/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Options de compilation:\n\ Debugage\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Lissage ordonné:\t%s\n\n
M nls/hu_HU/main.mnls/hu_HU/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Fordításnál állítható lehetõségek:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/it_IT/main.mnls/it_IT/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Opzioni in fase di compilazione:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/ja_JP/main.mnls/ja_JP/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# ¥³¥ó¥Ñ¥¤¥ë»þ¥ª¥×¥·¥ç¥ó:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/ko_KR/main.mnls/ko_KR/main.m

@@ -20,4 +20,6 @@ $ #CompileOptions

# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/nl_NL/main.mnls/nl_NL/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Gecompileerd met instellingen:\n\ Debugging: %s\n\ Shape: %s\n\ + Xft: %s\n\ + Xinerama: %s\n\ 8bpp Ordered Dithering: %s\n\n
M nls/no_NO/main.mnls/no_NO/main.m

@@ -20,4 +20,6 @@ $ #CompileOptions

# Kompileret med:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/pt_BR/main.mnls/pt_BR/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Opções em tempo de compilação:\n\ Informações extras para problemas:\t\t\t%s\n\ Forma:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Simulação ordenada de cores em imagens:\t%s\n\n
M nls/ro_RO/main.mnls/ro_RO/main.m

@@ -20,4 +20,6 @@ $ #CompileOptions

# Optiuni stabilite la compilare:\n\ Depanare\t\t\t%s\n\ Forma:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ Intretesere ordonata pentru 8bpp:\t%s\n\n
M nls/ru_RU/main.mnls/ru_RU/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/sl_SI/main.mnls/sl_SI/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Izbire pri prevajanju:\n\ Razhro¹èevanje\t\t\t%s\n\ Oblika:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ Osembitno stresanje barv:\t%s\n\n
M nls/sv_SE/main.mnls/sv_SE/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Kompilerad med:\n\ Avlusning\t\t\t%s\n\ Form:\t\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp ordnad dithering:\t%s\n\n
M nls/tr_TR/main.mnls/tr_TR/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Denetleme seçenekleri :\n\ Bilgilendirme\t\t\t%s\n\ Gölgeleme:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ R8b'e göre týzla:\t%s\n\n
M nls/uk_UA/main.mnls/uk_UA/main.m

@@ -22,4 +22,6 @@ # Compile time options:\n\

Debugging\t\t\t%s\n\ Interlacing:\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/zh_CN/main.mnls/zh_CN/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# ±àÒëÑ¡Ïî:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M nls/zh_TW/main.mnls/zh_TW/main.m

@@ -21,4 +21,6 @@ $ #CompileOptions

# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
M src/main.ccsrc/main.cc

@@ -77,6 +77,8 @@ printf(i18n(mainSet, mainCompileOptions,

"Compile time options:\n" " Debugging:\t\t\t%s\n" " Shape:\t\t\t%s\n" + " Xft:\t\t\t\t%s\n" + " Xinerama:\t\t\t%s\n" " 8bpp Ordered Dithering:\t%s\n\n"), #ifdef DEBUG i18n(CommonSet, CommonYes, "yes"),

@@ -89,6 +91,18 @@ i18n(CommonSet, CommonYes, "yes"),

#else // !SHAPE i18n(CommonSet, CommonNo, "no"), #endif // SHAPE + +#ifdef XFT + i18n(CommonSet, CommonYes, "yes"), +#else // !XFT + i18n(CommonSet, CommonNo, "no"), +#endif // XFT + +#ifdef XINERAMA + i18n(CommonSet, CommonYes, "yes"), +#else // !XINERAMA + i18n(CommonSet, CommonNo, "no"), +#endif // XINERAMA #ifdef ORDEREDPSEUDO i18n(CommonSet, CommonYes, "yes")