]> git.pld-linux.org Git - packages/mono-moonlight.git/commitdiff
- add moon_fix_gdk_pointer_size.patch from debian
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 16 Sep 2010 20:39:59 +0000 (20:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- direct autofoo invocation, update configure args

Changed files:
    mono-moonlight.spec -> 1.7
    moon_fix_gdk_pointer_size.patch -> 1.1

mono-moonlight.spec
moon_fix_gdk_pointer_size.patch [new file with mode: 0644]

index de82cfbd806ebb04e000e000b8f2a4659a856c86..a08a4d591491e0c364fd9e4691b9702986012148 100644 (file)
@@ -16,6 +16,7 @@ URL:          http://www.mono-project.com/Moonlight
 Source0:       http://ftp.novell.com/pub/mono/sources/moon/%{version}/moonlight-%{version}.tar.bz2
 # Source0-md5: 164c4a5068f85244a0019ce49a6ee629
 Patch0:                minizip.patch
+Patch1:                moon_fix_gdk_pointer_size.patch
 BuildRequires: alsa-lib-devel
 BuildRequires: cairo-devel >= 1.8.4
 BuildRequires: dotnet-gtk-sharp2
@@ -130,22 +131,29 @@ for Unix systems.
 %prep
 %setup -q -n moonlight-%{version}
 %patch0 -p1
+%patch1 -p1
 
 rm -r pixman cairo src/zip curl
 
 %build
-autoreconf -i -Wnone
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__automake}
 %configure \
+       --enable-dependency-tracking \
        --without-testing \
        --without-performance \
        --without-examples \
        --with-system-minizip=yes \
        --with-alsa=yes \
-       --with-cairo=yes \
+       --with-cairo=system \
+       --with-curl=system \
+       --with-ff3=yes \
        --with-ffmpeg=yes \
        --with-managed=no \
-       --with-curl=system \
        --with-pulse-audio=yes \
+       --with-pulseaudio=yes \
        --with-mcspath=%{_bindir} \
 
 #      --with-mcspath=%{_builddir}/mono-%{included_mono}/mcs \
diff --git a/moon_fix_gdk_pointer_size.patch b/moon_fix_gdk_pointer_size.patch
new file mode 100644 (file)
index 0000000..066f5ef
--- /dev/null
@@ -0,0 +1,14 @@
+Ensure that windowless.h loads glib.h, to ensure that 
+GLIB_SIZEOF_VOID_P is defined correctly on 64-bit platforms. This
+fixes a crashing bug when viewing fullscreen Silverlight sites
+
+--- moonlight-2.3/plugin/windowless.h~ 2010-06-22 20:04:44.000000000 +0300
++++ moonlight-2.3/plugin/windowless.h  2010-09-16 23:32:47.842349491 +0300
+@@ -14,6 +14,7 @@
+ #ifndef __MOON_WINDOWLESS__
+ #define __MOON_WINDOWLESS__
++#include <glib.h>
+ #include "moonlight.h"
+ #include "runtime.h"
+ #include "plugin.h"
This page took 0.06965 seconds and 4 git commands to generate.