Module: wine
Branch: master
Commit: 77e05ce4e5c4cc33c3e28802819416014f8786bf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=77e05ce4e5c4cc33c3e288028…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Apr 13 18:51:50 2011 +0200
configure: Add a check for XInput2 headers.
---
configure | 21 +++++++++++++++++++++
configure.ac | 10 ++++++++++
include/config.h.in | 3 +++
3 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 8e8d044..77d6484 100755
--- a/configure
+++ b/configure
@@ -806,6 +806,7 @@ with_xcomposite
with_xcursor
with_xinerama
with_xinput
+with_xinput2
with_xml
with_xrandr
with_xrender
@@ -1497,6 +1498,7 @@ Optional Packages:
--without-xcursor do not use the Xcursor extension
--without-xinerama do not use Xinerama (multi-monitor support)
--without-xinput do not use the Xinput extension
+ --without-xinput2 do not use the Xinput 2 extension
--without-xml do not use XML
--without-xrandr do not use Xrandr (resolution changes)
--without-xrender do not use the Xrender extension
@@ -2722,6 +2724,12 @@ if test "${with_xinput+set}" = set; then :
fi
+# Check whether --with-xinput2 was given.
+if test "${with_xinput2+set}" = set; then :
+ withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
+fi
+
+
# Check whether --with-xml was given.
if test "${with_xml+set}" = set; then :
withval=$with_xml;
@@ -8035,6 +8043,7 @@ fi
X11/Xcursor/Xcursor.h \
X11/extensions/shape.h \
X11/extensions/XInput.h \
+ X11/extensions/XInput2.h \
X11/extensions/XShm.h \
X11/extensions/Xcomposite.h \
X11/extensions/Xinerama.h \
@@ -8231,6 +8240,18 @@ This is an error since --with-xinput was requested." "$LINENO" 5 ;;
esac
fi
+ if test "x$ac_cv_lib_soname_Xi" != x
+ then
+ if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
+ case "x$with_xinput2" in
+ x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
+ xno) ;;
+ *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
+This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
+esac
+fi
+ fi
+
if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
diff --git a/configure.ac b/configure.ac
index e82d193..6047744 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,8 @@ AC_ARG_WITH(xinerama, AS_HELP_STRING([--without-xinerama],[do not use Xinerama
[if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi])
AC_ARG_WITH(xinput, AS_HELP_STRING([--without-xinput],[do not use the Xinput extension]),
[if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi])
+AC_ARG_WITH(xinput2, AS_HELP_STRING([--without-xinput2],[do not use the Xinput 2 extension]),
+ [if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi])
AC_ARG_WITH(xml, AS_HELP_STRING([--without-xml],[do not use XML]))
AC_ARG_WITH(xrandr, AS_HELP_STRING([--without-xrandr],[do not use Xrandr (resolution changes)]),
[if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi])
@@ -937,6 +939,7 @@ then
X11/Xcursor/Xcursor.h \
X11/extensions/shape.h \
X11/extensions/XInput.h \
+ X11/extensions/XInput2.h \
X11/extensions/XShm.h \
X11/extensions/Xcomposite.h \
X11/extensions/Xinerama.h \
@@ -975,6 +978,13 @@ then
WINE_NOTICE_WITH(xinput,[test "x$ac_cv_lib_soname_Xi" = "x"],
[libxi ${notice_platform}development files not found, the Xinput extension won't be supported.])
+ dnl *** Check for X input 2 extension
+ if test "x$ac_cv_lib_soname_Xi" != x
+ then
+ WINE_NOTICE_WITH(xinput2,[test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"],
+ [XInput2 headers not found, the XInput 2 extension won't be supported.])
+ fi
+
dnl *** Check for X Shm extension
if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
then
diff --git a/include/config.h.in b/include/config.h.in
index 19a6b48..8800d72 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -1094,6 +1094,9 @@
/* Define to 1 if you have the <X11/extensions/Xinerama.h> header file. */
#undef HAVE_X11_EXTENSIONS_XINERAMA_H
+/* Define to 1 if you have the <X11/extensions/XInput2.h> header file. */
+#undef HAVE_X11_EXTENSIONS_XINPUT2_H
+
/* Define to 1 if you have the <X11/extensions/XInput.h> header file. */
#undef HAVE_X11_EXTENSIONS_XINPUT_H
Module: website
Branch: master
Commit: 0832675f6f079e85b428dfd19b2ccf7e48067f42
URL: http://source.winehq.org/git/website.git/?a=commit;h=0832675f6f079e85b428df…
Author: Austin English <austinenglish(a)gmail.com>
Date: Thu Apr 14 08:59:11 2011 -0500
[website] update debian download information
---
templates/en/download/deblenny.template | 45 -------------------------------
templates/en/download/debsid.template | 22 +++++++++++++++
2 files changed, 22 insertions(+), 45 deletions(-)
diff --git a/templates/en/download/deblenny.template b/templates/en/download/deblenny.template
deleted file mode 100644
index 0356ee6..0000000
--- a/templates/en/download/deblenny.template
+++ /dev/null
@@ -1,45 +0,0 @@
-<!--TITLE:[Wine for Debian Lenny]-->
-<!--BLURB:[Wine for Debian Lenny]-->
-
-<h1 class="title"><a href="http://www.debian.org/" target="_new"><img src="{$root}/images/distro/debian.png" width="50" height="50" alt="Debian Linux" border="0"></a>
-Wine for Debian Lenny, Squeeze and Sid
-<a href="http://www.debian.org/" target="_new"><img src="{$root}/images/distro/debian.png" width="50" height="50" alt="Debian Linux" border="0"></a></h1>
-
-<p>Debian-based distributions utilize a special tool for managing packages known as APT. APT is able to automagically install all of the needed dependencies for a software package, as well as keep the package up to date, by scanning what are known as APT repositories. Debian-based distributions have their own repositories of software that include Wine, however we keep our own repository of the latest available beta packages here for download.</p>
-
-<p><b>Warning: These are beta packages</b><br>
-<i>This means they will periodically suffer from <a href="http://wiki.winehq.org/Regression">regressions</a>, and as a result an update may break functionality in Wine. If the latest stable release of Wine (currently Wine 1.2) works for you, then you may not want to use these beta packages.</i></p>
-
-<p>This repository contains packages for i386 and amd64 architecture.</p>
-
-<p>To install wine packages you can use two methods: add the repository or download a .deb package and manually install it, but first of all you have to remove older wine version. If you use the first method you'll have wine automatically upgraded by apt, otherwise you'll need to manually download and install every new version.</p>
-
-<h2>Remove old version</h2>
-<div style="position:relative;left:20px">Open a terminal</div>
-<div style="position:relative;left:20px"><i>su</i> <font color="gray">#to log as root</font></div>
-<div style="position:relative;left:20px"><i>apt-get remove libwine wine</i> <font color="gray">#to remove outdated version of wine</font></div><p></p>
-<h2>Method 1: Add the repository</h2>
-<div style="position:relative;left:20px">Open a terminal</div>
-<div style="position:relative;left:20px"><i>su</i> <font color="gray">#to log as root</font></div>
-<div style="position:relative;left:20px"><i>gedit /etc/apt/sources.list</i> <font color="gray">#to open repository file with a text editor (you can use gedit or another)</font></div>
-<div style="position:relative;left:20px">Add this line for Lenny: <i>deb http://www.lamaresh.net/apt lenny main</i></div>
-<div style="position:relative;left:20px">Add this line for Squeeze: <i>deb http://www.lamaresh.net/apt squeeze main</i></div>
-<div style="position:relative;left:20px">Add this line for Sid: <i>deb http://www.lamaresh.net/apt sid main</i></div>
-<div style="position:relative;left:20px">Save and close sources.list</div>
-<div style="position:relative;left:20px"><i>wget -O - http://www.lamaresh.net/apt/key.gpg | apt-key add - </i> <font color="gray">#to add gpg key</font></div>
-<div style="position:relative;left:20px"><i>apt-get update</i> <font color="gray">#to update package list</font></div>
-<div style="position:relative;left:20px"><i>apt-get install wine</i> <font color="gray">#to install latest wine version</font></div><p></p>
-<h2>Method 2: Download .deb and manually install it</h2>
-<div style="position:relative;left:20px">Chose a .deb package from <a href="http://www.lamaresh.net/binary.php" target="_blank">binary list</a> and save it in your home directory</div>
-<div style="position:relative;left:20px">Open a terminal</div>
-<div style="position:relative;left:20px"><i>cd ~</i> <font color="gray">#to go to your home directory</font></div>
-<div style="position:relative;left:20px"><i>su</i> <font color="gray">#to log as root</font></div>
-<div style="position:relative;left:20px"><i>dpkg -i wine_1.1.xxx.deb</i> <font color="gray">#change xxx with your chosen package, this will install wine</font></div>
-
-<br><br><p style="font-size:12px;text-align:left;font-style: italic;">
-Homepage: <a href="http://www.lamaresh.net" target="_blank">http://www.lamaresh.net/</a><br>
-Repository maintainer: <a href="mailto:repository@lamaresh.net">Maurilio Genovese</a><br>
-Package builder: <a href="mailto:ben.klein@lamaresh.net">Ben Klein</a>
-</p>
-
-
diff --git a/templates/en/download/debsid.template b/templates/en/download/debsid.template
new file mode 100644
index 0000000..a745e11
--- /dev/null
+++ b/templates/en/download/debsid.template
@@ -0,0 +1,22 @@
+<!--TITLE:[Wine for Debian Sid]-->
+<!--BLURB:[Wine for Debian Sid]-->
+
+<h1 class="title"><a href="http://www.debian.org/" target="_new"><img src="{$root}/images/distro/debian.png" width="50" height="50" alt="Debian Linux" border="0"></a>
+Wine for Debian Sid
+<a href="http://www.debian.org/" target="_new"><img src="{$root}/images/distro/debian.png" width="50" height="50" alt="Debian Linux" border="0"></a></h1>
+
+<p>Debian-based distributions utilize a special tool for managing packages known as APT. APT is able to automagically install all of the needed dependencies for a software package, as well as keep the package up to date, by scanning what are known as APT repositories. Debian-based distributions have their own repositories of software that include Wine, however we keep our own repository of the latest available beta packages here for download.</p>
+
+<p><b>Warning: These are beta packages</b><br>
+<i>This means they will periodically suffer from <a href="http://wiki.winehq.org/Regression">regressions</a>, and as a result an update may break functionality in Wine. If the latest stable release of Wine (currently Wine 1.2.3) works for you, then you may not want to use these beta packages.</i></p>
+
+<p>This website has packages for i386 and amd64 architecture.</p>
+
+<p>To install wine packages you must download the .deb files and manually install them. See the page for more details.</p>
+
+<br><br><p style="font-size:12px;text-align:left;font-style: italic;">
+Homepage: <a href="http://dev.carbon-project.org/debian/wine-unstable/" target="_blank">http://dev.carbon-project.org/debian/wine-unstable/</a><br>
+Package builder: <a href="mailto:curan@debian.org">Kai Wasserbäch</a>
+</p>
+
+