| Differences between
and this patch
- a/Tools/ChangeLog +11 lines
Lines 1-3 a/Tools/ChangeLog_sec1
1
2015-03-17  Csaba Osztrogonác  <ossy@webkit.org>
2
3
        [EFL] Bump gstreamer version to 1.4.4
4
        https://bugs.webkit.org/show_bug.cgi?id=142782
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        * efl/jhbuild.modules:
9
        * efl/patches/gst-plugins-bad-remove-gnustep-support.patch: Added.
10
        * efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch: Removed.
11
1
2015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
12
2015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
2
13
3
        [GTK] WebKitDOM objects leaking
14
        [GTK] WebKitDOM objects leaking
- a/Tools/efl/jhbuild.modules -32 / +30 lines
Lines 218-280 a/Tools/efl/jhbuild.modules_sec1
218
            md5sum="9c0cfef285d5c4a5c80d00904ddab380"/>
218
            md5sum="9c0cfef285d5c4a5c80d00904ddab380"/>
219
  </autotools>
219
  </autotools>
220
220
221
  <autotools id="gstreamer" autogen-sh="configure">
221
  <autotools id="gstreamer" autogenargs="--disable-gtk-doc">
222
    <branch repo="gstreamer"
222
    <branch module="gstreamer/gstreamer-1.4.4.tar.xz" version="1.4.4"
223
            module="gstreamer/gstreamer-1.2.1.tar.xz" version="1.2.1"
223
            repo="gstreamer"
224
            hash="sha256:a4523d2471bca6cd0059a32e3b042f50faa4dadc6439852af8b43ca3f17d1fc9"/>
224
            hash="sha256:f0e305d91a93d05bf9e332cd4256ca07d77f5186a4d73847b7ae6db218f2c237"
225
    <dependencies>
225
            md5sum="98f4a6d45a28dd195144baef0244ba38"/>
226
        <dep package="glib"/>
227
    </dependencies>
228
  </autotools>
226
  </autotools>
229
227
230
  <autotools id="gst-plugins-base"
228
  <autotools id="gst-plugins-base"
231
             autogen-sh="autogen.sh"
229
             autogen-sh="autogen.sh"
232
             autogenargs="--disable-examples --enable-theora --enable-vorbis">
230
             autogenargs="--disable-examples --disable-gtk-doc">
233
    <dependencies>
231
    <dependencies>
234
      <dep package="gstreamer"/>
232
      <dep package="gstreamer"/>
235
    </dependencies>
233
    </dependencies>
236
    <branch repo="gstreamer"
234
    <branch module="gst-plugins-base/gst-plugins-base-1.4.4.tar.xz" version="1.4.4"
237
            module="gst-plugins-base/gst-plugins-base-1.2.1.tar.xz" version="1.2.1"
235
            repo="gstreamer"
238
            hash="sha256:de2444a5c150d4e4b680364d7c0414cd8b015d95b305ff65d65a17683379532f">
236
            hash="sha256:49cd9e8f23c416b1607b43837a09833fa03e0106929d81ead2ddfde6c0ade44b"
239
        <patch file="gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch" strip="1"/>
237
            md5sum="0c42eca8f9e4efd56d2ce8e9249ce4a1">
240
    </branch>
238
    </branch>
241
  </autotools>
239
  </autotools>
242
240
243
  <autotools id="gst-plugins-good"
241
  <autotools id="gst-plugins-good" autogenargs="--disable-examples --disable-soup --disable-gtk-doc">
244
             autogen-sh="configure"
245
             autogenargs="--disable-examples --enable-pulse">
246
    <dependencies>
242
    <dependencies>
247
      <dep package="cairo"/>
248
      <dep package="gst-plugins-base"/>
243
      <dep package="gst-plugins-base"/>
249
    </dependencies>
244
    </dependencies>
250
    <branch repo="gstreamer"
245
251
            module="gst-plugins-good/gst-plugins-good-1.2.1.tar.xz" version="1.2.1"
246
    <branch module="gst-plugins-good/gst-plugins-good-1.4.4.tar.xz" version="1.4.4"
252
            hash="sha256:660fa02dbe01086fcf702d87acc0ba5dde2559d6a11ecf438874afe504c50517"/>
247
            repo="gstreamer"
248
            hash="sha256:2df90e99da45211c7b2525ae4ac34830a9e7784bd48c072c406c0cf014bdb277"
249
            md5sum="673cf9276952bd3937dafd817c9ead2b">
250
    </branch>
253
  </autotools>
251
  </autotools>
254
252
255
  <autotools id="gst-plugins-bad"
253
  <autotools id="gst-plugins-bad" autogenargs="--disable-examples --disable-gtk-doc">
256
             autogen-sh="configure"
257
             autogenargs="--disable-examples --enable-faad --enable-mpg123">
258
    <dependencies>
254
    <dependencies>
259
      <dep package="gst-plugins-base"/>
255
      <dep package="gst-plugins-base"/>
260
    </dependencies>
256
    </dependencies>
261
    <branch repo="gstreamer"
257
    <branch module="gst-plugins-bad/gst-plugins-bad-1.4.4.tar.xz" version="1.4.4"
262
            module="gst-plugins-bad/gst-plugins-bad-1.2.1.tar.xz" version="1.2.1"
258
            repo="gstreamer"
263
            hash="sha256:f33e7c81fcb742fe50b73ad87ef8a4baa7d6b59c5002a10bf63c8dee22404929"/>
259
            hash="sha256:e41b36105c0a13a2cb1ff9f559714e839b82dc3841484cd664790fb7947e55c7"
260
            md5sum="972c6e22dd2e44fcf0b04b9d810a56be">
261
      <patch file="gst-plugins-bad-remove-gnustep-support.patch" strip="1"/>
262
    </branch>
264
  </autotools>
263
  </autotools>
265
264
266
  <autotools id="gst-libav"
265
  <autotools id="gst-libav" autogenargs="--with-libav-extra-configure='--disable-yasm' --disable-gtk-doc">
267
             autogen-sh="configure"
268
             autogenargs="--with-libav-extra-configure='--disable-yasm'">
269
    <dependencies>
266
    <dependencies>
270
      <dep package="gst-plugins-base"/>
267
      <dep package="gst-plugins-base"/>
271
    </dependencies>
268
    </dependencies>
272
    <branch repo="gstreamer"
269
    <branch module="gst-libav/gst-libav-1.4.4.tar.xz" version="1.4.4"
273
            module="gst-libav/gst-libav-1.2.1.tar.xz" version="1.2.1"
270
            repo="gstreamer"
274
            hash="sha256:fd152b7aec56ae76ad58b9759913a8bfe1792bdf64f260d0acaba75b75076676">
271
            hash="sha256:2ec7285e5ec6731963b0955487cceb9eb04e285ca682f3ef575996c068cde8aa"
272
            md5sum="64a3e2cda2687132cadca4efdc63f3b4">
275
      <patch file="gst-libav.patch" strip="1"/>
273
      <patch file="gst-libav.patch" strip="1"/>
276
    </branch>
274
    </branch>
277
  </autotools> 
275
  </autotools>
278
276
279
  <autotools id="libseccomp" autogen-sh="configure">
277
  <autotools id="libseccomp" autogen-sh="configure">
280
      <branch module="libseccomp/libseccomp-2.1.1/libseccomp-2.1.1.tar.gz" version="2.1.1"
278
      <branch module="libseccomp/libseccomp-2.1.1/libseccomp-2.1.1.tar.gz" version="2.1.1"
- a/Tools/efl/patches/gst-plugins-bad-remove-gnustep-support.patch +325 lines
Line 0 a/Tools/efl/patches/gst-plugins-bad-remove-gnustep-support.patch_sec1
1
From 13c8517570c3550b5c46a3cb0ff7f8b7888a4ddf Mon Sep 17 00:00:00 2001
2
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
3
Date: Thu, 13 Nov 2014 11:58:07 +0100
4
Subject: gl/cocoa: Remove GNUStep support
5
6
Until gcc and GNUStep properly support Objective-C blocks and other
7
"new" features of Objective-C we can't properly support them without
8
making the code much more ugly.
9
10
https://bugzilla.gnome.org/show_bug.cgi?id=739152
11
12
diff --git a/configure.ac b/configure.ac
13
index fdb6c88..120cd44 100644
14
--- a/configure.ac
15
+++ b/configure.ac
16
@@ -611,7 +611,7 @@ AC_ARG_ENABLE([glx],
17
      esac],[NEED_GLX=auto])
18
 
19
 AC_ARG_ENABLE([cocoa],
20
-     [  --enable-cocoa          Enable Cocoa support (using GNUstep on non OS X platforms) @<:@default=auto@:>@],
21
+     [  --enable-cocoa          Enable Cocoa support @<:@default=auto@:>@],
22
      [case "${enableval}" in
23
        yes)  NEED_COCOA=yes ;;
24
        no)   NEED_COCOA=no ;;
25
@@ -653,7 +653,6 @@ save_LIBS="$LIBS"
26
 HAVE_GL=no
27
 HAVE_GLES2=no
28
 HAVE_GLU=no
29
-HAVE_GNUSTEP_COCOA=no
30
 HAVE_WAYLAND_EGL=no
31
 
32
 HAVE_EGL_RPI=no
33
@@ -744,35 +743,6 @@ case $host in
34
   ;;
35
 esac
36
 
37
-case $host in
38
-  *-darwin* ) ;;
39
-  *)
40
-    AC_PATH_PROG([GNUSTEP_CONFIG],[gnustep-config])
41
-    if test "x$GNUSTEP_CONFIG" != "x"; then
42
-      GNUSTEP_HOST="`$GNUSTEP_CONFIG --variable=GNUSTEP_HOST`"
43
-      case $host in
44
-        *-mingw* )
45
-          case $GNUSTEP_HOST in
46
-            *-mingw* )
47
-              HAVE_GNUSTEP_COCOA=yes
48
-            ;;
49
-          esac
50
-          ;;
51
-        * )
52
-          HAVE_GNUSTEP_COCOA=yes
53
-        ;;
54
-      esac
55
-    fi
56
-  ;;
57
-esac
58
-
59
-AC_MSG_CHECKING([for GNUstep])
60
-if test "x$HAVE_GNUSTEP_COCOA" = "xyes" ; then
61
-  AC_MSG_RESULT([yes])
62
-else
63
-  AC_MSG_RESULT([no])
64
-fi
65
-
66
 CPPFLAGS="$save_CPPFLAGS"
67
 LIBS="$save_LIBS"
68
 
69
@@ -1009,19 +979,6 @@ case $host in
70
         fi
71
       fi
72
     fi
73
-
74
-    dnl GNUstep provides the Cocoa API on unix
75
-    if test "x$NEED_COCOA" != "xno"; then
76
-      if test "x$HAVE_GNUSTEP_COCOA" = "xyes" ; then
77
-        GNUSTEP_OBJCFLAGS="`$GNUSTEP_CONFIG --objc-flags`"
78
-        GNUSTEP_LIBS="`$GNUSTEP_CONFIG --gui-libs`"
79
-        GL_LIBS="$GL_LIBS $GNUSTEP_LIBS -lgnustep-gui -lgnustep-base"
80
-        GL_OBJCFLAGS="$GL_OBJCFLAGS $GNUSTEP_OBJCFLAGS"
81
-
82
-        USE_COCOA=yes
83
-        HAVE_WINDOW_COCOA=yes
84
-      fi
85
-    fi
86
     ;;
87
   *-darwin*)
88
     if test "x$HAVE_IOS" = "xyes"; then
89
@@ -1114,17 +1071,6 @@ case $host in
90
         fi
91
       fi
92
     fi
93
-
94
-    dnl GNUstep provides the Cocoa API on win32
95
-    if test "x$HAVE_GNUSTEP_COCOA" = "xyes" ; then
96
-      GNUSTEP_CFLAGS="`$GNUSTEP_CONFIG --objc-flags`"
97
-      GNUSTEP_LIBS="`$GNUSTEP_CONFIG --gui-libs`"
98
-      GL_LIBS="$GL_LIBS $GNUSTEP_LIBS -lgnustep-gui -lgnustep-base"
99
-      GL_OBJCFLAGS="$OBJCFLAGS $GNUSTEP_CFLAGS"
100
-
101
-      USE_COCOA=yes
102
-      HAVE_WINDOW_COCOA=yes
103
-    fi
104
     ;;
105
   *)
106
     AC_MSG_WARN([Don't know how to check for OpenGL on your platform.])
107
diff --git a/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m b/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
108
index 94da0bc..84e3a99 100644
109
--- a/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
110
+++ b/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.m
111
@@ -40,7 +40,6 @@ static GstGLPlatform gst_gl_context_cocoa_get_gl_platform (GstGLContext * contex
112
 
113
 G_DEFINE_TYPE (GstGLContextCocoa, gst_gl_context_cocoa, GST_GL_TYPE_CONTEXT);
114
 
115
-#ifndef GNUSTEP
116
 static GMutex nsapp_lock;
117
 static GCond nsapp_cond;
118
 
119
@@ -96,16 +95,12 @@ gst_gl_window_cocoa_nsapp_iteration (gpointer data)
120
 
121
   return TRUE;
122
 }
123
-#endif
124
 
125
 static void
126
 gst_gl_context_cocoa_class_init (GstGLContextCocoaClass * klass)
127
 {
128
   GstGLContextClass *context_class = (GstGLContextClass *) klass;
129
-
130
-#ifndef GNUSTEP
131
   NSAutoreleasePool* pool = nil;
132
-#endif
133
 
134
   g_type_class_add_private (klass, sizeof (GstGLContextCocoaPrivate));
135
 
136
@@ -121,7 +116,6 @@ gst_gl_context_cocoa_class_init (GstGLContextCocoaClass * klass)
137
   context_class->get_gl_platform =
138
       GST_DEBUG_FUNCPTR (gst_gl_context_cocoa_get_gl_platform);
139
 
140
-#ifndef GNUSTEP
141
   pool = [[NSAutoreleasePool alloc] init];
142
 
143
   /* [NSApplication sharedApplication] will usually be
144
@@ -191,7 +185,6 @@ gst_gl_context_cocoa_class_init (GstGLContextCocoaClass * klass)
145
   }
146
 
147
   [pool release];
148
-#endif
149
 }
150
 
151
 static void
152
@@ -219,9 +212,7 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
153
   GstGLWindowCocoa *window_cocoa = GST_GL_WINDOW_COCOA (window);
154
   __block NSOpenGLContext *glContext = nil;
155
 
156
-#ifndef GNUSTEP
157
   priv->source_id = g_timeout_add (200, gst_gl_window_cocoa_nsapp_iteration, NULL);
158
-#endif
159
 
160
   priv->gl_context = nil;
161
   if (other_context)
162
@@ -243,9 +234,6 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
163
 
164
     pool = [[NSAutoreleasePool alloc] init];
165
 
166
-#ifdef GNUSTEP
167
-    [NSApplication sharedApplication];
168
-#endif
169
     rect.origin.x = 0;
170
     rect.origin.y = 0;
171
     rect.size.width = 320;
172
@@ -265,7 +253,6 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
173
 
174
     [window_handle setContentView:glView];
175
 
176
-#ifndef GNUSTEP
177
     glContext = [[NSOpenGLContext alloc] initWithFormat:fmt
178
       shareContext:context_cocoa->priv->external_gl_context];
179
 
180
@@ -275,10 +262,6 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
181
 
182
     [glContext setView:glView];
183
 
184
-#else
185
-    /* FIXME try to make context sharing work in GNUstep */
186
-    context_cocoa->priv->gl_context = glContext;
187
-#endif
188
     [pool release];
189
   });
190
 
191
@@ -300,11 +283,7 @@ gst_gl_context_cocoa_create_context (GstGLContext *context, GstGLAPI gl_api,
192
    */
193
   NS_DURING {
194
     if (glContext) {
195
-#ifdef GNUSTEP
196
-      const long swapInterval = 1;
197
-#else
198
       const GLint swapInterval = 1;
199
-#endif
200
       [glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval];
201
     }
202
   } NS_HANDLER {
203
diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
204
index 0771662..d776477 100644
205
--- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
206
+++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m
207
@@ -257,11 +257,9 @@ draw_cb (gpointer data)
208
       x += 20;
209
       y += 20;
210
 
211
-#ifndef GNUSTEP
212
       [priv->internal_win_id setFrame:windowRect display:NO];
213
       GST_DEBUG ("make the window available\n");
214
       [priv->internal_win_id makeMainWindow];
215
-#endif
216
 
217
       [priv->internal_win_id orderFrontRegardless];
218
 
219
@@ -457,17 +455,6 @@ close_window_cb (gpointer data)
220
 }
221
 
222
 - (void) applicationWillTerminate:(NSNotification *)aNotification {
223
-#ifdef GNUSTEP
224
-  /* fixes segfault with gst-launch-1.0 -e ... and sending SIGINT (Ctrl-C)
225
-   * which causes GNUstep to run a signal handler in the main thread.
226
-   * However that thread has never been 'registered' with GNUstep so
227
-   * the autorelease magic of objective-c causes a segfault from accessing
228
-   * a null NSThread object somewhere deep in GNUstep.
229
-   *
230
-   * I put it here because this is the first time we can register the thread.
231
-   */
232
-  GSRegisterCurrentThread();
233
-#endif
234
 }
235
 
236
 @end
237
@@ -488,9 +475,7 @@ close_window_cb (gpointer data)
238
 
239
   window_cocoa = window;
240
 
241
-#ifndef GNUSTEP
242
   [self setWantsLayer:NO];
243
-#endif
244
 
245
   /* Get notified about changes */
246
   [self setPostsFrameChangedNotifications:YES];
247
diff --git a/tests/examples/gl/cocoa/cocoa-videooverlay.m b/tests/examples/gl/cocoa/cocoa-videooverlay.m
248
index 683abe1..9c5fc9a 100755
249
--- a/tests/examples/gl/cocoa/cocoa-videooverlay.m
250
+++ b/tests/examples/gl/cocoa/cocoa-videooverlay.m
251
@@ -136,15 +136,8 @@ static void end_stream_cb(GstBus* bus, GstMessage* message, MainWindow* window)
252
 
253
 static gpointer thread_func (MainWindow* window)
254
 {
255
-#ifdef GNUSTEP
256
-  GSRegisterCurrentThread();
257
-#endif
258
-
259
   g_main_loop_run ([window loop]);
260
 
261
-#ifdef GNUSTEP
262
-  GSUnregisterCurrentThread();
263
-#endif
264
   return NULL;
265
 }
266
 
267
@@ -172,10 +165,6 @@ int main(int argc, char **argv)
268
   NSAutoreleasePool *pool=nil;
269
   NSRect rect;
270
   MainWindow *window=nil;
271
-  
272
-#ifdef GNUSTEP
273
-  GstState state;
274
-#endif
275
 
276
   g_print("app created\n");
277
 
278
@@ -203,18 +192,8 @@ int main(int argc, char **argv)
279
   if (!ok)
280
     g_warning("could not link videosrc to videosink\n");
281
 
282
-#ifdef GNUSTEP
283
-  gst_element_set_state (pipeline, GST_STATE_PAUSED);
284
-  state = GST_STATE_PAUSED;
285
-  gst_element_get_state (pipeline, &state, &state, GST_CLOCK_TIME_NONE);
286
-  g_print("pipeline paused\n");
287
-  GSRegisterCurrentThread();
288
-#endif
289
-
290
   pool = [[NSAutoreleasePool alloc] init];
291
-#ifndef GNUSTEP
292
   [NSApplication sharedApplication];
293
-#endif
294
 
295
   rect.origin.x = 0; rect.origin.y = 0;
296
   rect.size.width = width; rect.size.height = height;
297
@@ -236,7 +215,6 @@ int main(int argc, char **argv)
298
 
299
   [window orderFront:window];
300
 
301
-#ifndef GNUSTEP
302
   while (![window isClosed]) {
303
     NSEvent *event = [NSApp nextEventMatchingMask:NSAnyEventMask
304
       untilDate:[NSDate dateWithTimeIntervalSinceNow:1]
305
@@ -244,7 +222,6 @@ int main(int argc, char **argv)
306
     if (event)
307
       [NSApp sendEvent:event];
308
   }
309
-#endif
310
 
311
   g_thread_join (loop_thread);
312
 
313
@@ -252,9 +229,5 @@ int main(int argc, char **argv)
314
 
315
   [pool release];
316
 
317
-#ifdef GNUSTEP
318
-  GSUnregisterCurrentThread();
319
-#endif
320
-
321
   return 0;
322
 }
323
-- 
324
2.0.0.rc2
325
- a/Tools/efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch -34 lines
Lines 1-34 a/Tools/efl/patches/gst-prevent-neon-check-in-configure-from-passing-under-aarch64.patch_sec1
1
From ad090272c831b5c62f0b310c776e76e3b1ffc88d Mon Sep 17 00:00:00 2001
2
From: Iain Lane <iain.lane@canonical.com>
3
Date: Fri, 15 Nov 2013 14:17:03 +0000
4
Subject: [PATCH] Prevent the NEON check in configure from passing under
5
 aarch64.
6
7
The test verifies that the NEON C intrinsics work, but the rest of the
8
codebase uses lots of direct ARMv7 NEON assembly. The same intrinsics
9
work in A64, but the assembly is slightly different.
10
11
Prevent the check from passing so that we don't use this where it won't
12
work.
13
14
Patch originally by William Grant <wgrant@ubuntu.com>
15
16
https://bugzilla.gnome.org/show_bug.cgi?id=712367
17
---
18
 configure.ac | 1 +
19
 1 file changed, 1 insertion(+)
20
21
diff --git a/configure.ac b/configure.ac
22
index e5c223f..0495371 100644
23
--- a/configure.ac
24
+++ b/configure.ac
25
@@ -190,6 +190,7 @@ AC_LINK_IFELSE([
26
 AC_LANG_PROGRAM([[
27
   #include <arm_neon.h>
28
   int32x4_t testfunc(int16_t *a, int16_t *b) {
29
+      asm volatile ("vmull.s16 q0, d0, d0" : : : "q0");
30
       return vmull_s16(vld1_s16(a), vld1_s16(b));
31
   }
32
 ]])],
33
-- 
34
1.8.4.3

Return to Bug 142782