diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-12-02 23:32:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-12-02 23:32:06 +0000 |
commit | a83ebde79a603e2a0ec94a2de8fa2397a449c3c4 (patch) | |
tree | 0e8e975dd9dd10f2837c8eb67670539f1b5a807f /app-emulation/wine | |
parent | Version bump and update Gecko #390995 by Andreas Sturmlechner. (diff) | |
download | gentoo-2-a83ebde79a603e2a0ec94a2de8fa2397a449c3c4.tar.gz gentoo-2-a83ebde79a603e2a0ec94a2de8fa2397a449c3c4.tar.bz2 gentoo-2-a83ebde79a603e2a0ec94a2de8fa2397a449c3c4.zip |
Delete custom pulseaudio/mousewarp patches that are obsolete in newer versions.
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/wine')
43 files changed, 168 insertions, 1670 deletions
diff --git a/app-emulation/wine/ChangeLog b/app-emulation/wine/ChangeLog index 17a103cf3531..652ec79f76c7 100644 --- a/app-emulation/wine/ChangeLog +++ b/app-emulation/wine/ChangeLog @@ -1,6 +1,24 @@ # ChangeLog for app-emulation/wine # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.388 2011/12/02 23:21:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/ChangeLog,v 1.389 2011/12/02 23:32:04 vapier Exp $ + + 02 Dec 2011; Mike Frysinger <vapier@gentoo.org> + -files/wine-1.1.15-configure-host.patch, wine-1.2.1.ebuild, + wine-1.3.0.ebuild, wine-1.3.1.ebuild, wine-1.3.2.ebuild, wine-1.3.3.ebuild, + wine-1.3.4.ebuild, wine-1.3.5.ebuild, wine-1.3.6.ebuild, wine-1.3.7.ebuild, + wine-1.3.8.ebuild, wine-1.3.9.ebuild, wine-1.3.10.ebuild, wine-1.3.11.ebuild, + wine-1.3.12.ebuild, wine-1.3.13.ebuild, wine-1.3.14.ebuild, + -files/wine-1.3.14-mouse-warp.patch, wine-1.3.15.ebuild, wine-1.3.16.ebuild, + -files/wine-1.3.16-mouse-warp.patch, wine-1.3.17.ebuild, wine-1.3.18.ebuild, + wine-1.3.19.ebuild, wine-1.3.20.ebuild, wine-1.3.21.ebuild, + wine-1.3.22.ebuild, wine-1.3.23.ebuild, wine-1.3.24.ebuild, + wine-1.3.25.ebuild, wine-1.3.26.ebuild, wine-1.3.27.ebuild, + wine-1.3.28.ebuild, wine-1.3.29.ebuild, wine-1.3.30.ebuild, + wine-1.3.31.ebuild, wine-1.3.32.ebuild, wine-1.3.33.ebuild, + wine-1.3.34.ebuild, wine-9999.ebuild, -files/wine-gentoo-no-ssp.patch, + metadata.xml: + Delete custom pulseaudio/mousewarp patches that are obsolete in newer + versions. *wine-1.3.34 (02 Dec 2011) *wine-1.3.33 (02 Dec 2011) diff --git a/app-emulation/wine/files/wine-1.1.15-configure-host.patch b/app-emulation/wine/files/wine-1.1.15-configure-host.patch deleted file mode 100644 index 47628f66ddd1..000000000000 --- a/app-emulation/wine/files/wine-1.1.15-configure-host.patch +++ /dev/null @@ -1,13 +0,0 @@ -http://bugs.gentoo.org/260726 - ---- wine-1.1.15/configure -+++ wine-1.1.15/configure -@@ -3943,7 +3943,7 @@ - $as_echo "$wine_cv_toolsdir" >&6; } - TOOLSDIR=$wine_cv_toolsdir - --if test -n "$host_alias" -+if test -n "$host_alias" -a "$host_alias" != "$build_alias" - then - TARGETFLAGS="-b $host_alias $TARGETFLAGS" - diff --git a/app-emulation/wine/files/wine-1.3.14-mouse-warp.patch b/app-emulation/wine/files/wine-1.3.14-mouse-warp.patch deleted file mode 100644 index d6bf7978ca30..000000000000 --- a/app-emulation/wine/files/wine-1.3.14-mouse-warp.patch +++ /dev/null @@ -1,594 +0,0 @@ -http://bugs.winehq.org/show_bug.cgi?id=6971 - -diff --git a/configure b/configure -index 9b1cb22..05baa8d 100755 ---- a/configure -+++ b/configure -@@ -7972,6 +7972,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 \ -@@ -8168,6 +8169,61 @@ This is an error since --with-xinput was requested." "$LINENO" 5 ;; - esac - fi - -+ if test "$ac_cv_header_X11_extensions_XInput2_h" = "yes" -+ then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIQueryVersion in -lXi" >&5 -+$as_echo_n "checking for XIQueryVersion in -lXi... " >&6; } -+if test "${ac_cv_lib_Xi_XIQueryVersion+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char XIQueryVersion (); -+int -+main () -+{ -+return XIQueryVersion (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_Xi_XIQueryVersion=yes -+else -+ ac_cv_lib_Xi_XIQueryVersion=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XIQueryVersion" >&5 -+$as_echo "$ac_cv_lib_Xi_XIQueryVersion" >&6; } -+if test "x$ac_cv_lib_Xi_XIQueryVersion" = x""yes; then : -+ -+$as_echo "#define HAVE_LIBXINPUT2 1" >>confdefs.h -+ -+fi -+ -+ -+ fi -+ if test "$ac_cv_lib_Xi_XIQueryVersion" != "yes"; then : -+ case "x$with_xinput2" in -+ x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput2 extension won't be supported." ;; -+ xno) ;; -+ *) as_fn_error "libxi ${notice_platform}development files not found, the Xinput2 extension won't be supported. -+This is an error since --with-xinput2 was requested." "$LINENO" 5 ;; -+esac -+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 04ed14f..0d4410a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -897,6 +897,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 \ -@@ -935,6 +936,17 @@ 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 "$ac_cv_header_X11_extensions_XInput2_h" = "yes" -+ then -+ AC_CHECK_LIB(Xi, XIQueryVersion, -+ AC_DEFINE(HAVE_LIBXINPUT2, 1, [Define if you have the XInput 2 extension]),, -+ $X_LIBS $XLIB $X_EXTRA_LIBS) -+ -+ fi -+ WINE_NOTICE_WITH(xinput2,[test "$ac_cv_lib_Xi_XIQueryVersion" != "yes"], -+ [libxi ${notice_platform}development files not found, the Xinput2 extension won't be supported.]) -+ - dnl *** Check for X Shm extension - if test "$ac_cv_header_X11_extensions_XShm_h" = "yes" - then -diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c -index 06971db..c86ae97 100644 ---- a/dlls/dinput/dinput_main.c -+++ b/dlls/dinput/dinput_main.c -@@ -85,6 +85,16 @@ static const struct dinput_device *dinput_devices[] = - #define NB_DINPUT_DEVICES (sizeof(dinput_devices)/sizeof(dinput_devices[0])) - - static HINSTANCE DINPUT_instance = NULL; -+static int(*wine_xinput_acquire)(int,HOOKPROC); -+ -+static void dinput_init( HINSTANCE inst ) -+{ -+ HMODULE x11 = GetModuleHandleA("winex11.drv"); -+ -+ DINPUT_instance = inst; -+ if (x11) -+ wine_xinput_acquire = (void *)GetProcAddress(x11, "wine_xinput_acquire"); -+} - - BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserv) - { -@@ -92,7 +102,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserv) - { - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(inst); -- DINPUT_instance = inst; -+ dinput_init(inst); - break; - case DLL_PROCESS_DETACH: - break; -@@ -882,6 +892,28 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv) - * DInput hook thread - */ - -+static LRESULT CALLBACK LL_hook_proc_xi2( int code, WPARAM wparam, LPARAM lparam ) -+{ -+ IDirectInputImpl *dinput; -+ -+ EnterCriticalSection( &dinput_hook_crit ); -+ LIST_FOR_EACH_ENTRY( dinput, &direct_input_list, IDirectInputImpl, entry ) -+ { -+ IDirectInputDeviceImpl *dev; -+ -+ EnterCriticalSection( &dinput->crit ); -+ LIST_FOR_EACH_ENTRY( dev, &dinput->devices_list, IDirectInputDeviceImpl, entry ) -+ if (dev->acquired && dev->event_proc) -+ { -+ TRACE("calling %p->%p (%lx %lx)\n", dev, dev->event_proc, wparam, lparam); -+ dev->event_proc( (LPDIRECTINPUTDEVICE8A)dev, wparam, lparam ); -+ } -+ LeaveCriticalSection( &dinput->crit ); -+ } -+ LeaveCriticalSection( &dinput_hook_crit ); -+ return 1; -+} -+ - static LRESULT CALLBACK LL_hook_proc( int code, WPARAM wparam, LPARAM lparam ) - { - IDirectInputImpl *dinput; -@@ -1003,12 +1035,15 @@ static DWORD WINAPI hook_thread_proc(void *param) - kbd_hook = NULL; - } - -- if (mice_cnt && !mouse_hook) -- mouse_hook = SetWindowsHookExW( WH_MOUSE_LL, LL_hook_proc, DINPUT_instance, 0 ); -- else if (!mice_cnt && mouse_hook) -+ if (!wine_xinput_acquire( (mice_cnt ? 2 : 0) , LL_hook_proc_xi2 )) - { -- UnhookWindowsHookEx( mouse_hook ); -- mouse_hook = NULL; -+ if (mice_cnt && !mouse_hook) -+ mouse_hook = SetWindowsHookExW( WH_MOUSE_LL, LL_hook_proc, DINPUT_instance, 0 ); -+ else if (!mice_cnt && mouse_hook) -+ { -+ UnhookWindowsHookEx( mouse_hook ); -+ mouse_hook = NULL; -+ } - } - } - TranslateMessage(&msg); -diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c -index 1599157..7390c01 100644 ---- a/dlls/dinput/mouse.c -+++ b/dlls/dinput/mouse.c -@@ -304,7 +304,10 @@ static int dinput_mouse_hook( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARAM - { - POINT pt, pt1; - -- GetCursorPos(&pt); -+ if (hook->flags & 2) -+ pt.x = pt.y = 0; -+ else -+ GetCursorPos(&pt); - This->m_state.lX += pt.x = hook->pt.x - pt.x; - This->m_state.lY += pt.y = hook->pt.y - pt.y; - -@@ -330,7 +333,8 @@ static int dinput_mouse_hook( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARAM - wdata = pt1.y; - } - -- This->need_warp = This->warp_override != WARP_DISABLE && -+ This->need_warp = !(hook->flags & 2) && -+ This->warp_override != WARP_DISABLE && - (pt.x || pt.y) && - (dwCoop & DISCL_EXCLUSIVE || This->warp_override == WARP_FORCE_ON); - break; -diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c -index ae0875b..bc9dedf 100644 ---- a/dlls/winex11.drv/event.c -+++ b/dlls/winex11.drv/event.c -@@ -141,9 +141,10 @@ static struct event_handler handlers[MAX_EVENT_HANDLERS] = - /* ColormapNotify */ - { ClientMessage, X11DRV_ClientMessage }, - { MappingNotify, X11DRV_MappingNotify }, -+ { GenericEvent, X11DRV_GenericEvent }, - }; - --static int nb_event_handlers = 20; /* change this if you add handlers above */ -+static int nb_event_handlers = 21; /* change this if you add handlers above */ - - - /* return the name of an X event */ -diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c -index 71b31cc..61eb7dc 100644 ---- a/dlls/winex11.drv/mouse.c -+++ b/dlls/winex11.drv/mouse.c -@@ -22,23 +22,10 @@ - #include "config.h" - #include "wine/port.h" - --#include <X11/Xlib.h> -+#include <stdlib.h> - #include <X11/cursorfont.h> - #include <stdarg.h> -- --#ifdef SONAME_LIBXCURSOR --# include <X11/Xcursor/Xcursor.h> --static void *xcursor_handle; --# define MAKE_FUNCPTR(f) static typeof(f) * p##f --MAKE_FUNCPTR(XcursorImageCreate); --MAKE_FUNCPTR(XcursorImageDestroy); --MAKE_FUNCPTR(XcursorImageLoadCursor); --MAKE_FUNCPTR(XcursorImagesCreate); --MAKE_FUNCPTR(XcursorImagesDestroy); --MAKE_FUNCPTR(XcursorImagesLoadCursor); --MAKE_FUNCPTR(XcursorLibraryLoadCursor); --# undef MAKE_FUNCPTR --#endif /* SONAME_LIBXCURSOR */ -+#include <assert.h> - - #define NONAMELESSUNION - #define NONAMELESSSTRUCT -@@ -53,6 +40,39 @@ MAKE_FUNCPTR(XcursorLibraryLoadCursor); - #include "wine/unicode.h" - #include "wine/debug.h" - -+#include <X11/Xlib.h> -+ -+#define MAKE_FUNCPTR(f) static typeof(f) * p##f -+ -+#ifdef SONAME_LIBXCURSOR -+# include <X11/Xcursor/Xcursor.h> -+static void *xcursor_handle; -+MAKE_FUNCPTR(XcursorImageCreate); -+MAKE_FUNCPTR(XcursorImageDestroy); -+MAKE_FUNCPTR(XcursorImageLoadCursor); -+MAKE_FUNCPTR(XcursorImagesCreate); -+MAKE_FUNCPTR(XcursorImagesDestroy); -+MAKE_FUNCPTR(XcursorImagesLoadCursor); -+MAKE_FUNCPTR(XcursorLibraryLoadCursor); -+#endif /* SONAME_LIBXCURSOR */ -+ -+#ifdef HAVE_LIBXINPUT2 -+# include <X11/extensions/XInput2.h> -+static void *xinput2_handle; -+static int xinput2_opcode; -+static int xinput2_available; -+static int core_pointer_id; -+MAKE_FUNCPTR(XQueryExtension); -+MAKE_FUNCPTR(XIQueryVersion); -+MAKE_FUNCPTR(XISelectEvents); -+MAKE_FUNCPTR(XGetEventData); -+MAKE_FUNCPTR(XFreeEventData); -+MAKE_FUNCPTR(XIQueryDevice); -+MAKE_FUNCPTR(XIFreeDeviceInfo); -+#endif /* HAVE_LIBXINPUT2 */ -+ -+#undef MAKE_FUNCPTR -+ - WINE_DEFAULT_DEBUG_CHANNEL(cursor); - - /**********************************************************************/ -@@ -130,6 +150,67 @@ void X11DRV_Xcursor_Init(void) - #endif /* SONAME_LIBXCURSOR */ - } - -+void X11DRV_XInput2_Init(void) -+{ -+#ifdef HAVE_LIBXINPUT2 -+ int event_base, error_base, ret; -+ int major = 2, minor = 0; /* Need at least v2.0 extension */ -+ char msg[1024]; -+ -+ xinput2_handle = wine_dlopen(SONAME_LIBXI, RTLD_NOW, NULL, 0); -+ if (!xinput2_handle) /* wine_dlopen failed. */ -+ { -+ FIXME("XInput2 failed to load. Using fallback code.\n"); -+ return; -+ } -+#define LOAD_FUNCPTR(f) if (!(p##f = wine_dlsym(xinput2_handle, #f, msg, sizeof(msg)))) \ -+ { WARN("Error loading \"%s\": %s\n", #f, msg); return; } -+ LOAD_FUNCPTR(XQueryExtension) -+ LOAD_FUNCPTR(XIQueryVersion) -+ LOAD_FUNCPTR(XISelectEvents) -+ LOAD_FUNCPTR(XGetEventData) -+ LOAD_FUNCPTR(XFreeEventData) -+ LOAD_FUNCPTR(XIQueryDevice) -+ LOAD_FUNCPTR(XIFreeDeviceInfo) -+#undef LOAD_FUNCPTR -+ -+ wine_tsx11_lock(); -+ if (!pXQueryExtension(gdi_display, "XInputExtension", &xinput2_opcode, &event_base, &error_base)) -+ { -+ wine_tsx11_unlock(); -+ WARN("Failed to query XInputExtension\n"); -+ return; -+ } -+ if ((ret = pXIQueryVersion(gdi_display, &major, &minor)) == Success) -+ { -+ XIDeviceInfo *devs; -+ int num_devs, i; -+ -+ /* Find core pointer id. */ -+ devs = pXIQueryDevice(gdi_display, XIAllMasterDevices, &num_devs); -+ for (i = 0; i < num_devs; i++) -+ { -+ if (devs[i].use == XIMasterPointer) -+ { -+ core_pointer_id = devs[i].deviceid; -+ break; -+ } -+ } -+ pXIFreeDeviceInfo(devs); -+ } -+ wine_tsx11_unlock(); -+ -+ if (ret != Success) -+ { -+ WARN("Failed to get requred Xi2 version. Server supports %d.%d\n", major, minor); -+ return; -+ } -+ TRACE("Server supports Xinput2 extension version %d.%d\n", major, minor); -+ xinput2_available = 1; -+ -+ return; -+#endif /* HAVE_LIBXINPUT2 */ -+} - - /*********************************************************************** - * clip_point_to_rect -@@ -1258,3 +1339,160 @@ void X11DRV_EnterNotify( HWND hwnd, XEvent *xev ) - X11DRV_send_mouse_input( top_hwnd, hwnd, MOUSEEVENTF_MOVE | MOUSEEVENTF_ABSOLUTE, - pt.x, pt.y, 0, EVENT_x11_time_to_win32_time(event->time), 0, 0 ); - } -+ -+#ifdef HAVE_LIBXINPUT2 -+static HOOKPROC xi2_callback; -+ -+static UINT xi2_press_to_mesage(int btn) -+{ -+ switch (btn) -+ { -+ case 1: return WM_LBUTTONDOWN; -+ case 2: return WM_MBUTTONDOWN; -+ case 3: return WM_RBUTTONDOWN; -+ case 4: case 5: -+ case 6: case 7: -+ return WM_MOUSEWHEEL; -+ case 8: -+ case 9: return WM_XBUTTONDOWN; -+ } -+ return 0; -+} -+ -+static UINT xi2_release_to_mesage(int btn) -+{ -+ switch (btn) -+ { -+ case 1: return WM_LBUTTONUP; -+ case 2: return WM_MBUTTONUP; -+ case 3: return WM_RBUTTONUP; -+ case 4: case 5: -+ case 6: case 7: -+ return WM_MOUSEWHEEL; -+ case 8: -+ case 9: return WM_XBUTTONUP; -+ } -+ return 0; -+} -+#endif -+ -+/*********************************************************************** -+ * X11DRV_GenericEvent -+ */ -+void X11DRV_GenericEvent( HWND hwnd, XEvent *xev ) -+{ -+#ifdef HAVE_LIBXINPUT2 -+ XGenericEventCookie *cookie = (XGenericEventCookie*)&xev->xcookie; -+ Display *display = thread_init_display(); -+ -+ assert(xinput2_available); -+ TRACE("%p %p\n", hwnd, xev); -+ -+ if (pXGetEventData(display , cookie) && -+ cookie->type == GenericEvent && -+ cookie->extension == xinput2_opcode) -+ { -+ XIRawEvent *revent = (XIRawEvent *)cookie->data; -+ DWORD wData; -+ MSLLHOOKSTRUCT hook; -+ -+ memset(&hook, 0, sizeof(hook)); -+ hook.time = EVENT_x11_time_to_win32_time(revent->time); -+ -+ /* Skip core pointer events */ -+ if (revent->deviceid != core_pointer_id) -+ switch (cookie->evtype) -+ { -+ case XI_RawMotion: -+ { -+ int i = 0; -+ hook.pt.x = XIMaskIsSet(revent->valuators.mask, 0) ? revent->raw_values[i++] : 0; -+ hook.pt.y = XIMaskIsSet(revent->valuators.mask, 1) ? revent->raw_values[i++] : 0; -+ hook.flags = 2; -+ if (xi2_callback) xi2_callback(0, WM_MOUSEMOVE, (LPARAM)&hook); -+ break; -+ } -+ -+ case XI_RawButtonPress: -+ switch (revent->detail) -+ { -+ case 4: case 6: wData = WHEEL_DELTA; break; -+ case 5: case 7: wData = -WHEEL_DELTA; break; -+ case 8: wData = XBUTTON1; break; -+ case 9: wData = XBUTTON2; break; -+ default: wData = 0; -+ } -+ hook.mouseData = MAKELONG(0, wData); -+ if (xi2_callback) xi2_callback(0, xi2_press_to_mesage(revent->detail), (LPARAM)&hook); -+ break; -+ -+ case XI_RawButtonRelease: -+ switch (revent->detail) -+ { -+ case 8: wData = XBUTTON1; break; -+ case 9: wData = XBUTTON2; break; -+ default: wData = 0; -+ } -+ hook.mouseData = MAKELONG(0, wData); -+ if (xi2_callback) xi2_callback(0, xi2_release_to_mesage(revent->detail), (LPARAM)&hook); -+ break; -+ -+ case XI_RawKeyPress: -+ break; -+ case XI_RawKeyRelease: -+ break; -+ } -+ } -+ pXFreeEventData(display , &xev->xcookie); -+#endif -+} -+ -+ -+#ifdef HAVE_LIBXINPUT2 -+int CDECL X11DRV_xinput_acquire(int dev_mask, HOOKPROC cb) -+{ -+ XIEventMask eventmask; -+ unsigned char mask[XIMaskLen(XI_RawMotion)] = {0}; -+ Display *display = thread_init_display(); -+ int ret; -+ -+ TRACE("%d %p\n", dev_mask, cb); -+ if (!xinput2_available) return 0; -+ -+ eventmask.mask = mask; -+ eventmask.mask_len = sizeof(mask); -+ eventmask.deviceid = XIAllDevices; -+ -+ if (dev_mask & 1) -+ { -+ XISetMask(eventmask.mask, XI_RawKeyPress); -+ XISetMask(eventmask.mask, XI_RawKeyRelease); -+ } -+ if (dev_mask & 2) -+ { -+ XISetMask(eventmask.mask, XI_RawButtonPress); -+ XISetMask(eventmask.mask, XI_RawButtonRelease); -+ XISetMask(eventmask.mask, XI_RawMotion); -+ } -+ wine_tsx11_lock(); -+ ret = pXISelectEvents(display, DefaultRootWindow(display), &eventmask, 1); -+ wine_tsx11_unlock(); -+ if (ret != Success) -+ { -+ WARN("Failed to set mask: %d\n", ret); -+ return 0; -+ } -+ InterlockedExchangePointer((LPVOID)&xi2_callback, cb); -+ TRACE("Set Xi2 callback to %p\n", cb); -+ -+ return 1; -+} -+ -+#else /* HAVE_LIBXINPUT2 */ -+int X11DRV_xinput_acquire(int dev_mask, HOOKPROC cb) -+{ -+ WARN("xinput2 is not available\n"); -+ return 0; -+} -+ -+#endif /* HAVE_LIBXINPUT2 */ -diff --git a/dlls/winex11.drv/winex11.drv.spec b/dlls/winex11.drv/winex11.drv.spec -index 9476c40..6ead1aa 100644 ---- a/dlls/winex11.drv/winex11.drv.spec -+++ b/dlls/winex11.drv/winex11.drv.spec -@@ -162,3 +162,5 @@ - @ stdcall ImeProcessKey(long long long ptr) - @ stdcall ImeGetRegisterWordStyle(long ptr) - @ stdcall ImeGetImeMenuItems(long long long ptr ptr long) -+ -+@ cdecl wine_xinput_acquire(long ptr) X11DRV_xinput_acquire -diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h -index f48b51f..d9035ce 100644 ---- a/dlls/winex11.drv/x11drv.h -+++ b/dlls/winex11.drv/x11drv.h -@@ -713,6 +713,7 @@ extern void X11DRV_DestroyNotify( HWND hwnd, XEvent *event ); - extern void X11DRV_SelectionRequest( HWND hWnd, XEvent *event ); - extern void X11DRV_SelectionClear( HWND hWnd, XEvent *event ); - extern void X11DRV_MappingNotify( HWND hWnd, XEvent *event ); -+extern void X11DRV_GenericEvent( HWND hWnd, XEvent *event ); - - extern DWORD EVENT_x11_time_to_win32_time(Time time); - -@@ -843,6 +844,8 @@ extern void X11DRV_XIMLookupChars( const char *str, DWORD count ) DECLSPEC_HIDDE - extern void X11DRV_ForceXIMReset(HWND hwnd) DECLSPEC_HIDDEN; - extern BOOL X11DRV_SetPreeditState(HWND hwnd, BOOL fOpen); - -+extern void X11DRV_XInput2_Init(void); -+ - /* FIXME: private functions imported from user32 */ - extern LRESULT HOOK_CallHooks( INT id, INT code, WPARAM wparam, LPARAM lparam, BOOL unicode ); - -diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c -index 0d1a7da..f94bba4 100644 ---- a/dlls/winex11.drv/x11drv_main.c -+++ b/dlls/winex11.drv/x11drv_main.c -@@ -562,6 +562,7 @@ static BOOL process_attach(void) - #ifdef SONAME_LIBXCOMPOSITE - X11DRV_XComposite_Init(); - #endif -+ X11DRV_XInput2_Init(); - - #ifdef HAVE_XKB - if (use_xkb) use_xkb = XkbUseExtension( gdi_display, NULL, NULL ); -diff --git a/include/config.h.in b/include/config.h.in -index 46adad8..be06226 100644 ---- a/include/config.h.in -+++ b/include/config.h.in -@@ -367,6 +367,9 @@ - /* Define to 1 if you have the `ossaudio' library (-lossaudio). */ - #undef HAVE_LIBOSSAUDIO - -+/* Define if you have the XInput 2 extension */ -+#undef HAVE_LIBXINPUT2 -+ - /* Define if you have the libxml2 library */ - #undef HAVE_LIBXML2 - -@@ -1075,6 +1078,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 - diff --git a/app-emulation/wine/files/wine-1.3.16-mouse-warp.patch b/app-emulation/wine/files/wine-1.3.16-mouse-warp.patch deleted file mode 100644 index a5bf8a07025e..000000000000 --- a/app-emulation/wine/files/wine-1.3.16-mouse-warp.patch +++ /dev/null @@ -1,594 +0,0 @@ -http://bugs.winehq.org/show_bug.cgi?id=6971 - -diff --git a/configure b/configure -index 51321db..4ea7489 100755 ---- a/configure -+++ b/configure -@@ -8030,6 +8030,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 \ -@@ -8226,6 +8227,61 @@ This is an error since --with-xinput was requested." "$LINENO" 5 ;; - esac - fi - -+ if test "$ac_cv_header_X11_extensions_XInput2_h" = "yes" -+ then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIQueryVersion in -lXi" >&5 -+$as_echo_n "checking for XIQueryVersion in -lXi... " >&6; } -+if test "${ac_cv_lib_Xi_XIQueryVersion+set}" = set; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char XIQueryVersion (); -+int -+main () -+{ -+return XIQueryVersion (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_Xi_XIQueryVersion=yes -+else -+ ac_cv_lib_Xi_XIQueryVersion=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XIQueryVersion" >&5 -+$as_echo "$ac_cv_lib_Xi_XIQueryVersion" >&6; } -+if test "x$ac_cv_lib_Xi_XIQueryVersion" = x""yes; then : -+ -+$as_echo "#define HAVE_LIBXINPUT2 1" >>confdefs.h -+ -+fi -+ -+ -+ fi -+ if test "$ac_cv_lib_Xi_XIQueryVersion" != "yes"; then : -+ case "x$with_xinput2" in -+ x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput2 extension won't be supported." ;; -+ xno) ;; -+ *) as_fn_error "libxi ${notice_platform}development files not found, the Xinput2 extension won't be supported. -+This is an error since --with-xinput2 was requested." "$LINENO" 5 ;; -+esac -+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 2022e67..10fad6c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -932,6 +932,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 \ -@@ -970,6 +971,17 @@ 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 "$ac_cv_header_X11_extensions_XInput2_h" = "yes" -+ then -+ AC_CHECK_LIB(Xi, XIQueryVersion, -+ AC_DEFINE(HAVE_LIBXINPUT2, 1, [Define if you have the XInput 2 extension]),, -+ $X_LIBS $XLIB $X_EXTRA_LIBS) -+ -+ fi -+ WINE_NOTICE_WITH(xinput2,[test "$ac_cv_lib_Xi_XIQueryVersion" != "yes"], -+ [libxi ${notice_platform}development files not found, the Xinput2 extension won't be supported.]) -+ - dnl *** Check for X Shm extension - if test "$ac_cv_header_X11_extensions_XShm_h" = "yes" - then -diff --git a/dlls/dinput/dinput_main.c b/dlls/dinput/dinput_main.c -index d3727bc..b42096a 100644 ---- a/dlls/dinput/dinput_main.c -+++ b/dlls/dinput/dinput_main.c -@@ -96,6 +96,16 @@ static const struct dinput_device *dinput_devices[] = - #define NB_DINPUT_DEVICES (sizeof(dinput_devices)/sizeof(dinput_devices[0])) - - static HINSTANCE DINPUT_instance = NULL; -+static int(*wine_xinput_acquire)(int,HOOKPROC); -+ -+static void dinput_init( HINSTANCE inst ) -+{ -+ HMODULE x11 = GetModuleHandleA("winex11.drv"); -+ -+ DINPUT_instance = inst; -+ if (x11) -+ wine_xinput_acquire = (void *)GetProcAddress(x11, "wine_xinput_acquire"); -+} - - BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserv) - { -@@ -103,7 +113,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserv) - { - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(inst); -- DINPUT_instance = inst; -+ dinput_init(inst); - break; - case DLL_PROCESS_DETACH: - break; -@@ -904,6 +914,28 @@ HRESULT WINAPI DllUnregisterServer(void) - * DInput hook thread - */ - -+static LRESULT CALLBACK LL_hook_proc_xi2( int code, WPARAM wparam, LPARAM lparam ) -+{ -+ IDirectInputImpl *dinput; -+ -+ EnterCriticalSection( &dinput_hook_crit ); -+ LIST_FOR_EACH_ENTRY( dinput, &direct_input_list, IDirectInputImpl, entry ) -+ { -+ IDirectInputDeviceImpl *dev; -+ -+ EnterCriticalSection( &dinput->crit ); -+ LIST_FOR_EACH_ENTRY( dev, &dinput->devices_list, IDirectInputDeviceImpl, entry ) -+ if (dev->acquired && dev->event_proc) -+ { -+ TRACE("calling %p->%p (%lx %lx)\n", dev, dev->event_proc, wparam, lparam); -+ dev->event_proc( (LPDIRECTINPUTDEVICE8A)dev, wparam, lparam ); -+ } -+ LeaveCriticalSection( &dinput->crit ); -+ } -+ LeaveCriticalSection( &dinput_hook_crit ); -+ return 1; -+} -+ - static LRESULT CALLBACK LL_hook_proc( int code, WPARAM wparam, LPARAM lparam ) - { - IDirectInputImpl *dinput; -@@ -1025,12 +1057,15 @@ static DWORD WINAPI hook_thread_proc(void *param) - kbd_hook = NULL; - } - -- if (mice_cnt && !mouse_hook) -- mouse_hook = SetWindowsHookExW( WH_MOUSE_LL, LL_hook_proc, DINPUT_instance, 0 ); -- else if (!mice_cnt && mouse_hook) -+ if (!wine_xinput_acquire( (mice_cnt ? 2 : 0) , LL_hook_proc_xi2 )) - { -- UnhookWindowsHookEx( mouse_hook ); -- mouse_hook = NULL; -+ if (mice_cnt && !mouse_hook) -+ mouse_hook = SetWindowsHookExW( WH_MOUSE_LL, LL_hook_proc, DINPUT_instance, 0 ); -+ else if (!mice_cnt && mouse_hook) -+ { -+ UnhookWindowsHookEx( mouse_hook ); -+ mouse_hook = NULL; -+ } - } - } - TranslateMessage(&msg); -diff --git a/dlls/dinput/mouse.c b/dlls/dinput/mouse.c -index ace9fe2..386ce11 100644 ---- a/dlls/dinput/mouse.c -+++ b/dlls/dinput/mouse.c -@@ -334,7 +334,10 @@ static int dinput_mouse_hook( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARAM - { - POINT pt, pt1; - -- GetCursorPos(&pt); -+ if (hook->flags & 2) -+ pt.x = pt.y = 0; -+ else -+ GetCursorPos(&pt); - This->m_state.lX += pt.x = hook->pt.x - pt.x; - This->m_state.lY += pt.y = hook->pt.y - pt.y; - -@@ -360,7 +363,8 @@ static int dinput_mouse_hook( LPDIRECTINPUTDEVICE8A iface, WPARAM wparam, LPARAM - wdata = pt1.y; - } - -- This->need_warp = This->warp_override != WARP_DISABLE && -+ This->need_warp = !(hook->flags & 2) && -+ This->warp_override != WARP_DISABLE && - (pt.x || pt.y) && - (dwCoop & DISCL_EXCLUSIVE || This->warp_override == WARP_FORCE_ON); - break; -diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c -index 6e4225c..bb8a605 100644 ---- a/dlls/winex11.drv/event.c -+++ b/dlls/winex11.drv/event.c -@@ -141,9 +141,10 @@ static struct event_handler handlers[MAX_EVENT_HANDLERS] = - /* ColormapNotify */ - { ClientMessage, X11DRV_ClientMessage }, - { MappingNotify, X11DRV_MappingNotify }, -+ { GenericEvent, X11DRV_GenericEvent }, - }; - --static int nb_event_handlers = 20; /* change this if you add handlers above */ -+static int nb_event_handlers = 21; /* change this if you add handlers above */ - - - /* return the name of an X event */ -diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c -index a527a2e..4362da7 100644 ---- a/dlls/winex11.drv/mouse.c -+++ b/dlls/winex11.drv/mouse.c -@@ -22,23 +22,10 @@ - #include "config.h" - #include "wine/port.h" - --#include <X11/Xlib.h> -+#include <stdlib.h> - #include <X11/cursorfont.h> - #include <stdarg.h> -- --#ifdef SONAME_LIBXCURSOR --# include <X11/Xcursor/Xcursor.h> --static void *xcursor_handle; --# define MAKE_FUNCPTR(f) static typeof(f) * p##f --MAKE_FUNCPTR(XcursorImageCreate); --MAKE_FUNCPTR(XcursorImageDestroy); --MAKE_FUNCPTR(XcursorImageLoadCursor); --MAKE_FUNCPTR(XcursorImagesCreate); --MAKE_FUNCPTR(XcursorImagesDestroy); --MAKE_FUNCPTR(XcursorImagesLoadCursor); --MAKE_FUNCPTR(XcursorLibraryLoadCursor); --# undef MAKE_FUNCPTR --#endif /* SONAME_LIBXCURSOR */ -+#include <assert.h> - - #define NONAMELESSUNION - #define NONAMELESSSTRUCT -@@ -53,6 +40,39 @@ MAKE_FUNCPTR(XcursorLibraryLoadCursor); - #include "wine/unicode.h" - #include "wine/debug.h" - -+#include <X11/Xlib.h> -+ -+#define MAKE_FUNCPTR(f) static typeof(f) * p##f -+ -+#ifdef SONAME_LIBXCURSOR -+# include <X11/Xcursor/Xcursor.h> -+static void *xcursor_handle; -+MAKE_FUNCPTR(XcursorImageCreate); -+MAKE_FUNCPTR(XcursorImageDestroy); -+MAKE_FUNCPTR(XcursorImageLoadCursor); -+MAKE_FUNCPTR(XcursorImagesCreate); -+MAKE_FUNCPTR(XcursorImagesDestroy); -+MAKE_FUNCPTR(XcursorImagesLoadCursor); -+MAKE_FUNCPTR(XcursorLibraryLoadCursor); -+#endif /* SONAME_LIBXCURSOR */ -+ -+#ifdef HAVE_LIBXINPUT2 -+# include <X11/extensions/XInput2.h> -+static void *xinput2_handle; -+static int xinput2_opcode; -+static int xinput2_available; -+static int core_pointer_id; -+MAKE_FUNCPTR(XQueryExtension); -+MAKE_FUNCPTR(XIQueryVersion); -+MAKE_FUNCPTR(XISelectEvents); -+MAKE_FUNCPTR(XGetEventData); -+MAKE_FUNCPTR(XFreeEventData); -+MAKE_FUNCPTR(XIQueryDevice); -+MAKE_FUNCPTR(XIFreeDeviceInfo); -+#endif /* HAVE_LIBXINPUT2 */ -+ -+#undef MAKE_FUNCPTR -+ - WINE_DEFAULT_DEBUG_CHANNEL(cursor); - - /**********************************************************************/ -@@ -128,6 +148,67 @@ void X11DRV_Xcursor_Init(void) - #endif /* SONAME_LIBXCURSOR */ - } - -+void X11DRV_XInput2_Init(void) -+{ -+#ifdef HAVE_LIBXINPUT2 -+ int event_base, error_base, ret; -+ int major = 2, minor = 0; /* Need at least v2.0 extension */ -+ char msg[1024]; -+ -+ xinput2_handle = wine_dlopen(SONAME_LIBXI, RTLD_NOW, NULL, 0); -+ if (!xinput2_handle) /* wine_dlopen failed. */ -+ { -+ FIXME("XInput2 failed to load. Using fallback code.\n"); -+ return; -+ } -+#define LOAD_FUNCPTR(f) if (!(p##f = wine_dlsym(xinput2_handle, #f, msg, sizeof(msg)))) \ -+ { WARN("Error loading \"%s\": %s\n", #f, msg); return; } -+ LOAD_FUNCPTR(XQueryExtension) -+ LOAD_FUNCPTR(XIQueryVersion) -+ LOAD_FUNCPTR(XISelectEvents) -+ LOAD_FUNCPTR(XGetEventData) -+ LOAD_FUNCPTR(XFreeEventData) -+ LOAD_FUNCPTR(XIQueryDevice) -+ LOAD_FUNCPTR(XIFreeDeviceInfo) -+#undef LOAD_FUNCPTR -+ -+ wine_tsx11_lock(); -+ if (!pXQueryExtension(gdi_display, "XInputExtension", &xinput2_opcode, &event_base, &error_base)) -+ { -+ wine_tsx11_unlock(); -+ WARN("Failed to query XInputExtension\n"); -+ return; -+ } -+ if ((ret = pXIQueryVersion(gdi_display, &major, &minor)) == Success) -+ { -+ XIDeviceInfo *devs; -+ int num_devs, i; -+ -+ /* Find core pointer id. */ -+ devs = pXIQueryDevice(gdi_display, XIAllMasterDevices, &num_devs); -+ for (i = 0; i < num_devs; i++) -+ { -+ if (devs[i].use == XIMasterPointer) -+ { -+ core_pointer_id = devs[i].deviceid; -+ break; -+ } -+ } -+ pXIFreeDeviceInfo(devs); -+ } -+ wine_tsx11_unlock(); -+ -+ if (ret != Success) -+ { -+ WARN("Failed to get requred Xi2 version. Server supports %d.%d\n", major, minor); -+ return; -+ } -+ TRACE("Server supports Xinput2 extension version %d.%d\n", major, minor); -+ xinput2_available = 1; -+ -+ return; -+#endif /* HAVE_LIBXINPUT2 */ -+} - - /*********************************************************************** - * get_empty_cursor -@@ -1020,3 +1101,160 @@ void X11DRV_EnterNotify( HWND hwnd, XEvent *xev ) - send_mouse_input( hwnd, MOUSEEVENTF_MOVE | MOUSEEVENTF_ABSOLUTE, - event->window, event->x, event->y, event->state, 0, event->time ); - } -+ -+#ifdef HAVE_LIBXINPUT2 -+static HOOKPROC xi2_callback; -+ -+static UINT xi2_press_to_mesage(int btn) -+{ -+ switch (btn) -+ { -+ case 1: return WM_LBUTTONDOWN; -+ case 2: return WM_MBUTTONDOWN; -+ case 3: return WM_RBUTTONDOWN; -+ case 4: case 5: -+ case 6: case 7: -+ return WM_MOUSEWHEEL; -+ case 8: -+ case 9: return WM_XBUTTONDOWN; -+ } -+ return 0; -+} -+ -+static UINT xi2_release_to_mesage(int btn) -+{ -+ switch (btn) -+ { -+ case 1: return WM_LBUTTONUP; -+ case 2: return WM_MBUTTONUP; -+ case 3: return WM_RBUTTONUP; -+ case 4: case 5: -+ case 6: case 7: -+ return WM_MOUSEWHEEL; -+ case 8: -+ case 9: return WM_XBUTTONUP; -+ } -+ return 0; -+} -+#endif -+ -+/*********************************************************************** -+ * X11DRV_GenericEvent -+ */ -+void X11DRV_GenericEvent( HWND hwnd, XEvent *xev ) -+{ -+#ifdef HAVE_LIBXINPUT2 -+ XGenericEventCookie *cookie = (XGenericEventCookie*)&xev->xcookie; -+ Display *display = thread_init_display(); -+ -+ assert(xinput2_available); -+ TRACE("%p %p\n", hwnd, xev); -+ -+ if (pXGetEventData(display , cookie) && -+ cookie->type == GenericEvent && -+ cookie->extension == xinput2_opcode) -+ { -+ XIRawEvent *revent = (XIRawEvent *)cookie->data; -+ DWORD wData; -+ MSLLHOOKSTRUCT hook; -+ -+ memset(&hook, 0, sizeof(hook)); -+ hook.time = EVENT_x11_time_to_win32_time(revent->time); -+ -+ /* Skip core pointer events */ -+ if (revent->deviceid != core_pointer_id) -+ switch (cookie->evtype) -+ { -+ case XI_RawMotion: -+ { -+ int i = 0; -+ hook.pt.x = XIMaskIsSet(revent->valuators.mask, 0) ? revent->raw_values[i++] : 0; -+ hook.pt.y = XIMaskIsSet(revent->valuators.mask, 1) ? revent->raw_values[i++] : 0; -+ hook.flags = 2; -+ if (xi2_callback) xi2_callback(0, WM_MOUSEMOVE, (LPARAM)&hook); -+ break; -+ } -+ -+ case XI_RawButtonPress: -+ switch (revent->detail) -+ { -+ case 4: case 6: wData = WHEEL_DELTA; break; -+ case 5: case 7: wData = -WHEEL_DELTA; break; -+ case 8: wData = XBUTTON1; break; -+ case 9: wData = XBUTTON2; break; -+ default: wData = 0; -+ } -+ hook.mouseData = MAKELONG(0, wData); -+ if (xi2_callback) xi2_callback(0, xi2_press_to_mesage(revent->detail), (LPARAM)&hook); -+ break; -+ -+ case XI_RawButtonRelease: -+ switch (revent->detail) -+ { -+ case 8: wData = XBUTTON1; break; -+ case 9: wData = XBUTTON2; break; -+ default: wData = 0; -+ } -+ hook.mouseData = MAKELONG(0, wData); -+ if (xi2_callback) xi2_callback(0, xi2_release_to_mesage(revent->detail), (LPARAM)&hook); -+ break; -+ -+ case XI_RawKeyPress: -+ break; -+ case XI_RawKeyRelease: -+ break; -+ } -+ } -+ pXFreeEventData(display , &xev->xcookie); -+#endif -+} -+ -+ -+#ifdef HAVE_LIBXINPUT2 -+int CDECL X11DRV_xinput_acquire(int dev_mask, HOOKPROC cb) -+{ -+ XIEventMask eventmask; -+ unsigned char mask[XIMaskLen(XI_RawMotion)] = {0}; -+ Display *display = thread_init_display(); -+ int ret; -+ -+ TRACE("%d %p\n", dev_mask, cb); -+ if (!xinput2_available) return 0; -+ -+ eventmask.mask = mask; -+ eventmask.mask_len = sizeof(mask); -+ eventmask.deviceid = XIAllDevices; -+ -+ if (dev_mask & 1) -+ { -+ XISetMask(eventmask.mask, XI_RawKeyPress); -+ XISetMask(eventmask.mask, XI_RawKeyRelease); -+ } -+ if (dev_mask & 2) -+ { -+ XISetMask(eventmask.mask, XI_RawButtonPress); -+ XISetMask(eventmask.mask, XI_RawButtonRelease); -+ XISetMask(eventmask.mask, XI_RawMotion); -+ } -+ wine_tsx11_lock(); -+ ret = pXISelectEvents(display, DefaultRootWindow(display), &eventmask, 1); -+ wine_tsx11_unlock(); -+ if (ret != Success) -+ { -+ WARN("Failed to set mask: %d\n", ret); -+ return 0; -+ } -+ InterlockedExchangePointer((LPVOID)&xi2_callback, cb); -+ TRACE("Set Xi2 callback to %p\n", cb); -+ -+ return 1; -+} -+ -+#else /* HAVE_LIBXINPUT2 */ -+int X11DRV_xinput_acquire(int dev_mask, HOOKPROC cb) -+{ -+ WARN("xinput2 is not available\n"); -+ return 0; -+} -+ -+#endif /* HAVE_LIBXINPUT2 */ -diff --git a/dlls/winex11.drv/winex11.drv.spec b/dlls/winex11.drv/winex11.drv.spec -index c4a7672..dc637fb 100644 ---- a/dlls/winex11.drv/winex11.drv.spec -+++ b/dlls/winex11.drv/winex11.drv.spec -@@ -158,3 +158,5 @@ - @ stdcall ImeProcessKey(long long long ptr) - @ stdcall ImeGetRegisterWordStyle(long ptr) - @ stdcall ImeGetImeMenuItems(long long long ptr ptr long) -+ -+@ cdecl wine_xinput_acquire(long ptr) X11DRV_xinput_acquire -diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h -index c973675..53bbeec 100644 ---- a/dlls/winex11.drv/x11drv.h -+++ b/dlls/winex11.drv/x11drv.h -@@ -730,6 +730,7 @@ extern void X11DRV_DestroyNotify( HWND hwnd, XEvent *event ); - extern void X11DRV_SelectionRequest( HWND hWnd, XEvent *event ); - extern void X11DRV_SelectionClear( HWND hWnd, XEvent *event ); - extern void X11DRV_MappingNotify( HWND hWnd, XEvent *event ); -+extern void X11DRV_GenericEvent( HWND hWnd, XEvent *event ); - - extern DWORD EVENT_x11_time_to_win32_time(Time time); - -@@ -858,6 +859,8 @@ extern void X11DRV_XIMLookupChars( const char *str, DWORD count ) DECLSPEC_HIDDE - extern void X11DRV_ForceXIMReset(HWND hwnd) DECLSPEC_HIDDEN; - extern BOOL X11DRV_SetPreeditState(HWND hwnd, BOOL fOpen); - -+extern void X11DRV_XInput2_Init(void); -+ - #define XEMBED_MAPPED (1 << 0) - - #endif /* __WINE_X11DRV_H */ -diff --git a/dlls/winex11.drv/x11drv_main.c b/dlls/winex11.drv/x11drv_main.c -index 606bc28..6d63b02 100644 ---- a/dlls/winex11.drv/x11drv_main.c -+++ b/dlls/winex11.drv/x11drv_main.c -@@ -582,6 +582,7 @@ static BOOL process_attach(void) - #ifdef SONAME_LIBXCOMPOSITE - X11DRV_XComposite_Init(); - #endif -+ X11DRV_XInput2_Init(); - - #ifdef HAVE_XKB - if (use_xkb) use_xkb = XkbUseExtension( gdi_display, NULL, NULL ); -diff --git a/include/config.h.in b/include/config.h.in -index 7195429..b170d0a 100644 ---- a/include/config.h.in -+++ b/include/config.h.in -@@ -377,6 +377,9 @@ - /* Define to 1 if you have the `ossaudio' library (-lossaudio). */ - #undef HAVE_LIBOSSAUDIO - -+/* Define if you have the XInput 2 extension */ -+#undef HAVE_LIBXINPUT2 -+ - /* Define if you have the libxml2 library */ - #undef HAVE_LIBXML2 - -@@ -1100,6 +1103,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 - diff --git a/app-emulation/wine/files/wine-gentoo-no-ssp.patch b/app-emulation/wine/files/wine-gentoo-no-ssp.patch deleted file mode 100644 index ee33c4badf7c..000000000000 --- a/app-emulation/wine/files/wine-gentoo-no-ssp.patch +++ /dev/null @@ -1,16 +0,0 @@ -support older ssp (gcc-3.4.x). this ssp was never in mainline gcc, thus -upstream wine wont accept it. can drop once hardened gets a stable gcc-4.x. - -http://bugs.gentoo.org/66002 - ---- loader/preloader.c -+++ loader/preloader.c -@@ -155,6 +155,8 @@ struct wld_link_map { - - /* similar to the above but for -fstack-protector */ - void *__stack_chk_guard = 0; -+void *__guard = 0; -+void __stack_smash_handler(void) { return; } - void __stack_chk_fail(void) { return; } - - * The _start function is the entry and exit point of this program diff --git a/app-emulation/wine/metadata.xml b/app-emulation/wine/metadata.xml index da8408ee0a2f..311346b9d7ce 100644 --- a/app-emulation/wine/metadata.xml +++ b/app-emulation/wine/metadata.xml @@ -11,7 +11,6 @@ Think of Wine as a compatibility layer for running Windows programs. Wine does n <flag name='capi'>Enable ISDN support via CAPI</flag> <flag name='custom-cflags'>Bypass strip-flags; use are your own peril</flag> <flag name='gecko'>Add support for the Gecko engine when using iexplore</flag> - <flag name='mousewarp'>Add mouse warp patch -- enable this if you primarily play games (http://bugs.winehq.org/show_bug.cgi?id=6971)</flag> <flag name='opencl'>Enable OpenCL support</flag> <flag name='perl'>Install helpers written in perl (winedump/winemaker)</flag> <flag name='samba'>Add support for NTLM auth. see diff --git a/app-emulation/wine/wine-1.2.1.ebuild b/app-emulation/wine/wine-1.2.1.ebuild index a3d8fa74e8b8..7d9064ed0636 100644 --- a/app-emulation/wine/wine-1.2.1.ebuild +++ b/app-emulation/wine/wine-1.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.2.1.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -25,8 +25,7 @@ GV="1.0.0-x86" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" SRC_URI="${SRC_URI} - gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" LICENSE="LGPL-2.1" SLOT="0" diff --git a/app-emulation/wine/wine-1.3.0.ebuild b/app-emulation/wine/wine-1.3.0.ebuild index ca77c2cb2d23..d16f6e78c6e7 100644 --- a/app-emulation/wine/wine-1.3.0.ebuild +++ b/app-emulation/wine/wine-1.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.0.ebuild,v 1.17 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.0.ebuild,v 1.18 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,36 +8,32 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.36,0.35-configure.ac,0.38-winecfg}.patch ; } GV="1.0.0-x86" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" SRC_URI="${SRC_URI} - gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -71,7 +67,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -87,7 +82,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -112,10 +106,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -152,7 +142,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.1.ebuild b/app-emulation/wine/wine-1.3.1.ebuild index 29c9dd86069d..ae8f87d64dc3 100644 --- a/app-emulation/wine/wine-1.3.1.ebuild +++ b/app-emulation/wine/wine-1.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.1.ebuild,v 1.15 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.1.ebuild,v 1.16 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,36 +8,32 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.36,0.35-configure.ac,0.38-winecfg}.patch ; } GV="1.0.0-x86" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" SRC_URI="${SRC_URI} - gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}.cab )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -71,7 +67,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -87,7 +82,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -112,10 +106,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -152,7 +142,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.10.ebuild b/app-emulation/wine/wine-1.3.10.ebuild index c7edc02fb4e1..a4bd8f4bbec6 100644 --- a/app-emulation/wine/wine-1.3.10.ebuild +++ b/app-emulation/wine/wine-1.3.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.10.ebuild,v 1.16 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.10.ebuild,v 1.17 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -92,7 +87,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -117,10 +111,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -159,7 +149,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.11.ebuild b/app-emulation/wine/wine-1.3.11.ebuild index 83da6c2200f2..4c0232ed01d8 100644 --- a/app-emulation/wine/wine-1.3.11.ebuild +++ b/app-emulation/wine/wine-1.3.11.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.11.ebuild,v 1.15 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.11.ebuild,v 1.16 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.12.ebuild b/app-emulation/wine/wine-1.3.12.ebuild index e618b2fd7c77..4051cabf44ef 100644 --- a/app-emulation/wine/wine-1.3.12.ebuild +++ b/app-emulation/wine/wine-1.3.12.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.12.ebuild,v 1.13 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.12.ebuild,v 1.14 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.13.ebuild b/app-emulation/wine/wine-1.3.13.ebuild index 872bdc4fbe1d..8281902a5a24 100644 --- a/app-emulation/wine/wine-1.3.13.ebuild +++ b/app-emulation/wine/wine-1.3.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.13.ebuild,v 1.13 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.13.ebuild,v 1.14 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.14.ebuild b/app-emulation/wine/wine-1.3.14.ebuild index 17811577bd98..eb44c2688e0e 100644 --- a/app-emulation/wine/wine-1.3.14.ebuild +++ b/app-emulation/wine/wine-1.3.14.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.14.ebuild,v 1.14 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.14.ebuild,v 1.15 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mousewarp mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,11 +112,6 @@ src_unpack() { } src_prepare() { - use mousewarp && epatch "${FILESDIR}"/${PN}-1.3.14-mouse-warp.patch - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -162,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.15.ebuild b/app-emulation/wine/wine-1.3.15.ebuild index a90ec00ffc24..123d0715dfac 100644 --- a/app-emulation/wine/wine-1.3.15.ebuild +++ b/app-emulation/wine/wine-1.3.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.15.ebuild,v 1.13 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.15.ebuild,v 1.14 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mousewarp mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,11 +112,6 @@ src_unpack() { } src_prepare() { - use mousewarp && epatch "${FILESDIR}"/${PN}-1.3.14-mouse-warp.patch - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -162,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.16.ebuild b/app-emulation/wine/wine-1.3.16.ebuild index 66bb6a7bfa61..a278c523fefa 100644 --- a/app-emulation/wine/wine-1.3.16.ebuild +++ b/app-emulation/wine/wine-1.3.16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.16.ebuild,v 1.14 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.16.ebuild,v 1.15 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mousewarp mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,11 +112,6 @@ src_unpack() { } src_prepare() { - use mousewarp && epatch "${FILESDIR}"/${PN}-1.3.16-mouse-warp.patch - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -162,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.17.ebuild b/app-emulation/wine/wine-1.3.17.ebuild index 47817dad128c..1b459ab86d8a 100644 --- a/app-emulation/wine/wine-1.3.17.ebuild +++ b/app-emulation/wine/wine-1.3.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.17.ebuild,v 1.14 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.17.ebuild,v 1.15 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mousewarp mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,11 +112,6 @@ src_unpack() { } src_prepare() { - use mousewarp && epatch "${FILESDIR}"/${PN}-1.3.16-mouse-warp.patch - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -162,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.18.ebuild b/app-emulation/wine/wine-1.3.18.ebuild index aa72578198f0..9959fb060366 100644 --- a/app-emulation/wine/wine-1.3.18.ebuild +++ b/app-emulation/wine/wine-1.3.18.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.18.ebuild,v 1.14 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.18.ebuild,v 1.15 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.10,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.19.ebuild b/app-emulation/wine/wine-1.3.19.ebuild index 9bc2abd36501..2370ec645518 100644 --- a/app-emulation/wine/wine-1.3.19.ebuild +++ b/app-emulation/wine/wine-1.3.19.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.19.ebuild,v 1.13 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.19.ebuild,v 1.14 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.19,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.2.ebuild b/app-emulation/wine/wine-1.3.2.ebuild index c62bd163fb2c..887bf8360e58 100644 --- a/app-emulation/wine/wine-1.3.2.ebuild +++ b/app-emulation/wine/wine-1.3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.2.ebuild,v 1.17 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.2.ebuild,v 1.18 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.36,0.35-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -74,7 +70,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -90,7 +85,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -115,10 +109,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -155,7 +145,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.20.ebuild b/app-emulation/wine/wine-1.3.20.ebuild index 0ccc5c03e3d0..e20a33961c96 100644 --- a/app-emulation/wine/wine-1.3.20.ebuild +++ b/app-emulation/wine/wine-1.3.20.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.20.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.20.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.20,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.21.ebuild b/app-emulation/wine/wine-1.3.21.ebuild index 3e971c43c6c5..cdc9ff61ba42 100644 --- a/app-emulation/wine/wine-1.3.21.ebuild +++ b/app-emulation/wine/wine-1.3.21.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.21.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.21.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,configure.ac-1.3.20,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.22.ebuild b/app-emulation/wine/wine-1.3.22.ebuild index e6ab6d02f3cb..02a35d7282c1 100644 --- a/app-emulation/wine/wine-1.3.22.ebuild +++ b/app-emulation/wine/wine-1.3.22.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.22.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.22.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.40,configure.ac-1.3.22,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.23.ebuild b/app-emulation/wine/wine-1.3.23.ebuild index a0552e1a0ff6..2aec5bd0378e 100644 --- a/app-emulation/wine/wine-1.3.23.ebuild +++ b/app-emulation/wine/wine-1.3.23.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.23.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.23.ebuild,v 1.13 2011/12/02 23:32:06 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.40,configure.ac-1.3.22,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.24.ebuild b/app-emulation/wine/wine-1.3.24.ebuild index c36ffd317b3a..c937da6656c0 100644 --- a/app-emulation/wine/wine-1.3.24.ebuild +++ b/app-emulation/wine/wine-1.3.24.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.24.ebuild,v 1.6 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.24.ebuild,v 1.7 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.40,configure.ac-1.3.22,winecfg-1.3.11}.patch ; } GV="1.2.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.msi win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.msi ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses nls openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -93,7 +88,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -118,10 +112,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -161,7 +151,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.25.ebuild b/app-emulation/wine/wine-1.3.25.ebuild index 0cb78453cd30..f3d44a17259b 100644 --- a/app-emulation/wine/wine-1.3.25.ebuild +++ b/app-emulation/wine/wine-1.3.25.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.25.ebuild,v 1.7 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.25.ebuild,v 1.8 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.26.ebuild b/app-emulation/wine/wine-1.3.26.ebuild index c8c3f241dd6f..81d0dfdc5160 100644 --- a/app-emulation/wine/wine-1.3.26.ebuild +++ b/app-emulation/wine/wine-1.3.26.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.26.ebuild,v 1.7 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.26.ebuild,v 1.8 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.27.ebuild b/app-emulation/wine/wine-1.3.27.ebuild index d3f9ad6eafb7..56eb909fcf67 100644 --- a/app-emulation/wine/wine-1.3.27.ebuild +++ b/app-emulation/wine/wine-1.3.27.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.27.ebuild,v 1.3 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.27.ebuild,v 1.4 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.28.ebuild b/app-emulation/wine/wine-1.3.28.ebuild index 5aa4a49c745c..0773cf601d08 100644 --- a/app-emulation/wine/wine-1.3.28.ebuild +++ b/app-emulation/wine/wine-1.3.28.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.28.ebuild,v 1.2 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.28.ebuild,v 1.3 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.29.ebuild b/app-emulation/wine/wine-1.3.29.ebuild index 78c7bd26dd5d..0ec97fe44355 100644 --- a/app-emulation/wine/wine-1.3.29.ebuild +++ b/app-emulation/wine/wine-1.3.29.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.29.ebuild,v 1.1 2011/09/26 18:26:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.29.ebuild,v 1.2 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.3.ebuild b/app-emulation/wine/wine-1.3.3.ebuild index b922b7e18951..9384c3fad075 100644 --- a/app-emulation/wine/wine-1.3.3.ebuild +++ b/app-emulation/wine/wine-1.3.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.3.ebuild,v 1.14 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.3.ebuild,v 1.15 2011/12/02 23:32:06 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.36,0.35-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -74,7 +70,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -90,7 +85,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -115,10 +109,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -155,7 +145,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.30.ebuild b/app-emulation/wine/wine-1.3.30.ebuild index 29385bfd889c..81cd9bb8da6b 100644 --- a/app-emulation/wine/wine-1.3.30.ebuild +++ b/app-emulation/wine/wine-1.3.30.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.30.ebuild,v 1.1 2011/10/13 01:26:33 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.30.ebuild,v 1.2 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.31.ebuild b/app-emulation/wine/wine-1.3.31.ebuild index 580d06e830a5..5ff50229112c 100644 --- a/app-emulation/wine/wine-1.3.31.ebuild +++ b/app-emulation/wine/wine-1.3.31.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.31.ebuild,v 1.1 2011/11/07 01:57:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.31.ebuild,v 1.2 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.32.ebuild b/app-emulation/wine/wine-1.3.32.ebuild index f6723c45909b..cea9ebb0574a 100644 --- a/app-emulation/wine/wine-1.3.32.ebuild +++ b/app-emulation/wine/wine-1.3.32.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.32.ebuild,v 1.1 2011/11/07 01:57:08 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.32.ebuild,v 1.2 2011/12/02 23:32:06 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.33.ebuild b/app-emulation/wine/wine-1.3.33.ebuild index d46205fe07d6..efc232d5c688 100644 --- a/app-emulation/wine/wine-1.3.33.ebuild +++ b/app-emulation/wine/wine-1.3.33.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.33.ebuild,v 1.1 2011/12/02 23:21:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.33.ebuild,v 1.2 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.34.ebuild b/app-emulation/wine/wine-1.3.34.ebuild index 627b9a50aa9d..89f050dc0621 100644 --- a/app-emulation/wine/wine-1.3.34.ebuild +++ b/app-emulation/wine/wine-1.3.34.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.34.ebuild,v 1.1 2011/12/02 23:21:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.34.ebuild,v 1.2 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" diff --git a/app-emulation/wine/wine-1.3.4.ebuild b/app-emulation/wine/wine-1.3.4.ebuild index a386187c51bf..8a3a19968b3c 100644 --- a/app-emulation/wine/wine-1.3.4.ebuild +++ b/app-emulation/wine/wine-1.3.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.4.ebuild,v 1.13 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.4.ebuild,v 1.14 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,0.39-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -74,7 +70,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -90,7 +85,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -115,10 +109,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -155,7 +145,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.5.ebuild b/app-emulation/wine/wine-1.3.5.ebuild index 11b19e369a88..dbe5b321e308 100644 --- a/app-emulation/wine/wine-1.3.5.ebuild +++ b/app-emulation/wine/wine-1.3.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.5.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.5.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,0.39-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -74,7 +70,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -90,7 +85,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -115,10 +109,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -155,7 +145,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.6.ebuild b/app-emulation/wine/wine-1.3.6.ebuild index ae3491fdb4ac..d3a69eabea6a 100644 --- a/app-emulation/wine/wine-1.3.6.ebuild +++ b/app-emulation/wine/wine-1.3.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.6.ebuild,v 1.12 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.6.ebuild,v 1.13 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,0.39-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -75,7 +71,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -91,7 +86,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -116,10 +110,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -157,7 +147,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.7.ebuild b/app-emulation/wine/wine-1.3.7.ebuild index 5473093dec3a..31da4e5f016b 100644 --- a/app-emulation/wine/wine-1.3.7.ebuild +++ b/app-emulation/wine/wine-1.3.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.7.ebuild,v 1.11 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.7.ebuild,v 1.12 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,0.39-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -75,7 +71,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -91,7 +86,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -116,10 +110,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -157,7 +147,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.8.ebuild b/app-emulation/wine/wine-1.3.8.ebuild index 93d6add12f6a..8f77de7a0d1e 100644 --- a/app-emulation/wine/wine-1.3.8.ebuild +++ b/app-emulation/wine/wine-1.3.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.8.ebuild,v 1.11 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.8.ebuild,v 1.12 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,0.39-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -75,7 +71,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) nas? ( media-libs/nas ) cups? ( net-print/cups ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -91,7 +86,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -116,10 +110,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -157,7 +147,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-1.3.9.ebuild b/app-emulation/wine/wine-1.3.9.ebuild index 1cf58c996a41..ea07a38379f0 100644 --- a/app-emulation/wine/wine-1.3.9.ebuild +++ b/app-emulation/wine/wine-1.3.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.9.ebuild,v 1.15 2011/09/18 09:08:12 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-1.3.9.ebuild,v 1.16 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,19 +8,16 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" S=${WORKDIR}/${MY_P} fi -pulse_patches() { echo "$1"/winepulse-{0.39,0.40-configure.ac,0.38-winecfg}.patch ; } GV="1.1.0" DESCRIPTION="free implementation of Windows(tm) on Unix" HOMEPAGE="http://www.winehq.org/" @@ -28,19 +25,18 @@ SRC_URI="${SRC_URI} gecko? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86.cab win64? ( mirror://sourceforge/wine/wine_gecko-${GV}-x86_64.cab ) - ) - pulseaudio? ( `pulse_patches http://art.ified.ca/downloads/winepulse` )" + )" LICENSE="LGPL-2.1" SLOT="0" -IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal opencl +opengl +oss +perl png pulseaudio samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" +IUSE="alsa capi cups custom-cflags dbus esd fontconfig +gecko gnutls gphoto2 gsm gstreamer hardened jack jpeg lcms ldap mp3 nas ncurses openal opencl +opengl +oss +perl png samba scanner ssl test +threads +truetype v4l +win32 +win64 +X xcomposite xinerama xml" RESTRICT="test" #72375 MLIB_DEPS="amd64? ( truetype? ( >=app-emulation/emul-linux-x86-xlibs-2.1 ) X? ( >=app-emulation/emul-linux-x86-xlibs-2.1 - >=app-emulation/emul-linux-x86-soundlibs-2.1[pulseaudio?] + >=app-emulation/emul-linux-x86-soundlibs-2.1 ) mp3? ( app-emulation/emul-linux-x86-soundlibs ) openal? ( app-emulation/emul-linux-x86-sdl ) @@ -76,7 +72,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) cups? ( net-print/cups ) opencl? ( x11-drivers/nvidia-drivers >=dev-util/nvidia-cuda-toolkit-3.1 ) opengl? ( virtual/opengl ) - pulseaudio? ( media-sound/pulseaudio ) gsm? ( media-sound/gsm ) jpeg? ( virtual/jpeg ) ldap? ( net-nds/openldap ) @@ -92,7 +87,6 @@ RDEPEND="truetype? ( >=media-libs/freetype-2.0.0 media-fonts/corefonts ) win32? ( ${MLIB_DEPS} ) xcomposite? ( x11-libs/libXcomposite )" DEPEND="${RDEPEND} - pulseaudio? ( ${AUTOTOOLS_DEPEND} ) X? ( x11-proto/inputproto x11-proto/xextproto @@ -117,10 +111,6 @@ src_unpack() { } src_prepare() { - if use pulseaudio ; then - EPATCH_OPTS=-p1 epatch `pulse_patches "${DISTDIR}"` - eautoreconf - fi epatch "${FILESDIR}"/${PN}-1.1.15-winegcc.patch #260726 epatch_user #282735 sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die @@ -159,7 +149,6 @@ do_configure() { $(use_with oss) \ $(use_with png) \ $(use_with threads pthread) \ - $(use pulseaudio && use_with pulseaudio pulse) \ $(use_with scanner sane) \ $(use_enable test tests) \ $(use_with truetype freetype) \ diff --git a/app-emulation/wine/wine-9999.ebuild b/app-emulation/wine/wine-9999.ebuild index a0c828a9cbf1..e41977c6c657 100644 --- a/app-emulation/wine/wine-9999.ebuild +++ b/app-emulation/wine/wine-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.96 2011/12/02 23:21:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-9999.ebuild,v 1.97 2011/12/02 23:32:04 vapier Exp $ EAPI="2" @@ -8,12 +8,10 @@ inherit eutils flag-o-matic multilib if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://source.winehq.org/git/wine.git" - inherit git-2 autotools + inherit git-2 SRC_URI="" #KEYWORDS="" else - AUTOTOOLS_AUTO_DEPEND="no" - inherit autotools MY_P="${PN}-${PV/_/-}" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd" |