• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/webkit/webkit-0002-build-fix-for-gtklauncher.patch
Arnout VandecappelleArnout Vandecappelle committed 5bc39dcf41c24 Oct 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Make gstreamer support conditional
2
​
3
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
4
​
5
From f1055f61bce46eccf8dc0aa017113a08d3d71944 Mon Sep 17 00:00:00 2001
6
From: "commit-queue@webkit.org"
7
 <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
8
Date: Fri, 15 Mar 2013 07:13:51 +0000
9
Subject: [PATCH] Build fix for Tools/GtkLauncher/Programs_GtkLauncher-main.o
10
 if gstreamer is not installed https://bugs.webkit.org/show_bug.cgi?id=112394
11
​
12
Patch by Tobias Mueller <tobiasmue@gnome.org> on 2013-03-15
13
Reviewed by Philippe Normand.
14
​
15
* GtkLauncher/main.c:
16
(main): Guard using the gstreamer function with #ifdef WTF_USE_GSTREAMER
17
​
18
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19
---
20
 Tools/ChangeLog          | 10 ++++++++++
21
 Tools/GtkLauncher/main.c |  5 ++++-
22
 2 files changed, 14 insertions(+), 1 deletion(-)
23
​
24
diff --git a/Tools/GtkLauncher/main.c b/Tools/GtkLauncher/main.c
25
index 32baf4a..84c8833 100644
26
--- a/Tools/GtkLauncher/main.c
27
+++ b/Tools/GtkLauncher/main.c
28
@@ -28,7 +28,9 @@
29
 #include "autotoolsconfig.h"
30
 #include "LauncherInspectorWindow.h"
31
 #include <errno.h>
32
+#ifdef WTF_USE_GSTREAMER
33
 #include <gst/gst.h>
34
+#endif
35
 #include <gtk/gtk.h>
36
 #include <stdlib.h>
37
 #include <string.h>
38
@@ -489,8 +491,9 @@ int main(int argc, char* argv[])
39
     GOptionContext *context = g_option_context_new(0);
40
     g_option_context_add_main_entries(context, commandLineOptions, 0);
41
     g_option_context_add_group(context, gtk_get_option_group(TRUE));
42
+#ifdef WTF_USE_GSTREAMER
43
     g_option_context_add_group(context, gst_init_get_option_group());
44
-
45
+#endif
46
     webkitSettings = webkit_web_settings_new();
47
     g_object_set(webkitSettings, "enable-developer-extras", TRUE, NULL);
48
     if (!addWebSettingsGroupToContext(context, webkitSettings)) {
49
-- 
50
1.8.3.2
51
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.