commit:     ffba11ee1a2fe07e65c8ada2531e953ac3239fb5
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 02:54:55 2016 +0000
Commit:     NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 02:56:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffba11ee

app-emulation/wine: Update 9999, bump mono, fix bug #576360

Package-Manager: portage-2.2.26

 app-emulation/wine/Manifest                        |  1 +
 .../wine/files/wine-1.9.5-multilib-portage.patch   | 22 ++++++++++++++
 app-emulation/wine/wine-9999.ebuild                | 34 ++++------------------
 3 files changed, 28 insertions(+), 29 deletions(-)

diff --git a/app-emulation/wine/Manifest b/app-emulation/wine/Manifest
index 5ebb0d5..c8957fd 100644
--- a/app-emulation/wine/Manifest
+++ b/app-emulation/wine/Manifest
@@ -50,6 +50,7 @@ DIST wine-mono-0.0.8.msi 46967296 SHA256 
3dfc23bbc29015e4e538dab8b83cb825d3248a0
 DIST wine-mono-4.5.2.msi 52502528 SHA256 
d9124edb41ba4418af10eba519dafb25ab4338c567d25ce0eb4ce1e1b4d7eaad SHA512 
73c907f63b73836d5afd0753197358aaea43a74a47800f929ef0627112298256f1fa46d1b9ff297b117468d953cdeab21fb5962db13c5debbcb71004462df609
 WHIRLPOOL 
18d3544c6753c5a01917bfc1b694f31ce45213108527f13317ec0bb8b2d2339ce41800534967e067cd15cd186ef9e186a5d3252275e443dfa1a6ae3641d4d17c
 DIST wine-mono-4.5.4.msi 53706752 SHA256 
20bced7fee01f25279edf07670c5033d25c2c9834a839e7a20410ce1c611d6f2 SHA512 
307fab2ac50c4eaa5c3fb8446ceb2df0d95c0a9d7c1e6289ef1ec5cc660fa8fcb26025c9723ce2bc01afcaf7e9c4dd9939d1beba877f4f95f6f80d92d8187221
 WHIRLPOOL 
ccd1fed03158dd309d2a1f88558e5ad0e2e43de5ba61ab82702132bd0cdf75db75dcc1a61b5cb2775fdf0ad51464f34d2b3629538b1737cbedb410b859ef092a
 DIST wine-mono-4.5.6.msi 53705216 SHA256 
ac681f737f83742d786706529eb85f4bc8d6bdddd8dcdfa9e2e336b71973bc25 SHA512 
4d8df04c1d0da09d1abe423dd271e5dd14a193d607fb54e214d2e340827f7c33829342d1580b6907d7cf466e70993d743c6e1ca9a026d4b6225dd7c1fc8b1386
 WHIRLPOOL 
9a68e502da0be6768e92d88f2ccace607300f3a331e0f9e1b6d60e9c6c2d4eb635b902f03e13aad73461dd5f0c2691c7b41958356ebb7f445e8def4282c675d3
+DIST wine-mono-4.6.0.msi 45690368 SHA256 
635c6bc88bad8d6bf8c6016a589627142ae56ac2e7368192102a16fdbaa29cc3 SHA512 
d2ab7a7b98d18132cc28ffd52352fcc6cdb16b1750a658e9ec961044e808e4e8e1605732f1e87bbb6a275f57fdb94aebaab3760f679472358c7df608b0fa3262
 WHIRLPOOL 
f8f6e83be5bd4eb7bde6e6c0d1f17bd4d4c887c52fa2018f20e51a30ca7ec0a9550884423298bc571587fe3c203f921057d91c3c78c12ebf9e911996bdd7e77d
 DIST wine-staging-1.7.18-1.tar.gz 874958 SHA256 
127b1754928297883ab5423c0814c59afa8a60444603b5c3b74ae726e41442e6 SHA512 
ac7e59914436cfd58fe1e5edc94956f8470bbf3f517f8e1017ca3d201b872aca6a277bb3074527b614db8123663cadf4d10faeeb048d011d7e81fdfe5c582819
 WHIRLPOOL 
ac1913deddc127c55d90d9f7c5249f2866757fb86295bf61fed8641a39751dbfbf57d3c6234086f8cff9c5b1ec8c45effeef40f5973e9aa8550412134809938a
 DIST wine-staging-1.7.20.tar.gz 887293 SHA256 
ac55daab4c6062e7c3f7eadd4ea632ddc01702c1abf859bc4928bb9691cc7d22 SHA512 
2f5bd5b3bfe85c0dd0d611fc2512f5f4ecac11d639eb578a7319c01a426b8cf788031fd299ecb5b5ff2c0bb7fa72dcfb1541bb9c987913068843a5b712099fc1
 WHIRLPOOL 
9c19e8e371e121009bed38ffe0e8789e35a4b9629a39aace1b44b8f830bf1e30c0cbca1c3eae45960373bedde39a912b4e1178b7af942c92263c6e4f278148d0
 DIST wine-staging-1.7.21.tar.gz 883814 SHA256 
d107eba41706adf039befe5a584e45225e7ebc502a11257227c378581ec22b96 SHA512 
770ed2d46f5975de4a728314c3c38834c20f8c49bc5fa7eee36c870b9708404c157f6e1ac4b9ec9e5799ed3b14f825c0653d30a17d332f6b805c6255da0ddf28
 WHIRLPOOL 
898db4f1a3606e5645a7a1132e0b83264fa5d7c00f94a14fce067702ec3accb397db93fa0c0449df7962800c44e00825fa1cac55b76b5abe42670ad412d67e21

diff --git a/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch 
b/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch
new file mode 100644
index 0000000..2166865
--- /dev/null
+++ b/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch
@@ -0,0 +1,22 @@
+--- configure.ac.orig  2016-03-05 20:53:50.574628728 -0500
++++ configure.ac       2016-03-05 20:57:54.945617833 -0500
+@@ -141,6 +141,9 @@
+     then
+       CC="$CC -m32"
+       CXX="$CXX -m32"
++      CFLAGS="$CFLAGS -m32"
++      LDFLAGS="$LDFLAGS -m32"
++      CXXFLAGS="$CXXFLAGS -m32"
+       AC_MSG_CHECKING([whether $CC works])
+       AC_LINK_IFELSE([AC_LANG_PROGRAM()],AC_MSG_RESULT([yes]),
+                      [AC_MSG_RESULT([no])
+@@ -160,6 +163,9 @@
+       fi
+       CC="$CC -m64"
+       CXX="$CXX -m64"
++      CFLAGS="$CFLAGS -m64"
++      LDFLAGS="$LDFLAGS -m64"
++      CXXFLAGS="$CXXFLAGS -m64"
+       host_cpu="x86_64"
+       notice_platform="64-bit "
+       AC_SUBST(TARGETFLAGS,"-m64")

diff --git a/app-emulation/wine/wine-9999.ebuild 
b/app-emulation/wine/wine-9999.ebuild
index b44030b..2c75d7b 100644
--- a/app-emulation/wine/wine-9999.ebuild
+++ b/app-emulation/wine/wine-9999.ebuild
@@ -22,12 +22,11 @@ else
        KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
 fi
 
-GV="2.40"
-MV="4.5.6"
+GV="2.44"
+MV="4.6.0"
 STAGING_P="wine-staging-${PV}"
 STAGING_DIR="${WORKDIR}/${STAGING_P}"
 WINE_GENTOO="wine-gentoo-2015.03.07"
-GST_P="wine-1.7.55-gstreamer-v5"
 DESCRIPTION="Free implementation of Windows(tm) on Unix"
 HOMEPAGE="http://www.winehq.org/";
 SRC_URI="${SRC_URI}
@@ -36,7 +35,6 @@ SRC_URI="${SRC_URI}
                abi_x86_64? ( 
https://dl.winehq.org/wine/wine-gecko/${GV}/wine_gecko-${GV}-x86_64.msi )
        )
        mono? ( https://dl.winehq.org/wine/wine-mono/${MV}/wine-mono-${MV}.msi )
-       gstreamer? ( 
https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${GST_P}.patch.bz2 )
        
https://dev.gentoo.org/~tetromino/distfiles/${PN}/${WINE_GENTOO}.tar.bz2";
 
 if [[ ${PV} == "9999" ]] ; then
@@ -57,7 +55,6 @@ REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
        s3tc? ( staging )
        vaapi? ( staging )
        osmesa? ( opengl )" #286560
-       #?? ( gstreamer staging ) #Should be fixed by pre/post patchset
 
 # FIXME: the test suite is unsuitable for us; many tests require net access
 # or fail due to Xvfb's opengl limitations.
@@ -72,8 +69,8 @@ COMMON_DEPEND="
        gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
        openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
        gstreamer? (
-               media-libs/gstreamer:0.10[${MULTILIB_USEDEP}]
-               media-libs/gst-plugins-base:0.10[${MULTILIB_USEDEP}]
+               media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
+               media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
        )
        X? (
                x11-libs/libXcursor[${MULTILIB_USEDEP}]
@@ -226,7 +223,6 @@ src_unpack() {
        fi
 
        unpack "${WINE_GENTOO}.tar.bz2"
-       use gstreamer && unpack "${GST_P}.patch.bz2"
 
        l10n_find_plocales_changes "${S}/po" "" ".po"
 }
@@ -235,30 +231,10 @@ src_prepare() {
        local md5="$(md5sum server/protocol.def)"
        local PATCHES=(
                "${FILESDIR}"/${PN}-1.5.26-winegcc.patch #260726
-               "${FILESDIR}"/${PN}-1.4_rc2-multilib-portage.patch #395615
+               "${FILESDIR}"/${PN}-1.9.5-multilib-portage.patch #395615
                "${FILESDIR}"/${PN}-1.7.12-osmesa-check.patch #429386
                "${FILESDIR}"/${PN}-1.6-memset-O3.patch #480508
        )
-       if use gstreamer; then
-               # See http://bugs.winehq.org/show_bug.cgi?id=30557
-               ewarn "Applying experimental patch to fix GStreamer support. 
Note that"
-               ewarn "this patch has been reported to cause crashes in certain 
games."
-
-               # Wine-Staging 1.7.38 "ntdll: Fix race-condition when threads 
are killed
-               # during shutdown" patch and "Added patch to implement shared 
memory
-               # wineserver communication for various user32 functions" 
prevents the
-               # gstreamer patch from applying cleanly.
-               # So undo the staging patch, apply gstreamer, then re-apply 
rebased staging
-               # patch on top.
-               if use staging; then
-                       PATCHES+=(
-                               
"${FILESDIR}/${PN}-1.7.55-gstreamer-v5-staging-pre.patch"
-                               "${WORKDIR}/${GST_P}.patch"
-                               
"${FILESDIR}/${PN}-1.7.55-gstreamer-v5-staging-post.patch" )
-               else
-                       PATCHES+=( "${WORKDIR}/${GST_P}.patch" )
-               fi
-       fi
        if use staging; then
                ewarn "Applying the Wine-Staging patchset. Any bug reports to 
the"
                ewarn "Wine bugzilla should explicitly state that staging was 
used."

Reply via email to