summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/owl-video-widget
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/owl-video-widget')
-rw-r--r--meta/recipes-sato/owl-video-widget/owl-video/gtk_multithread_safe.patch40
-rw-r--r--meta/recipes-sato/owl-video-widget/owl-video/make-382.patch17
-rw-r--r--meta/recipes-sato/owl-video-widget/owl-video_git.bb8
3 files changed, 3 insertions, 62 deletions
diff --git a/meta/recipes-sato/owl-video-widget/owl-video/gtk_multithread_safe.patch b/meta/recipes-sato/owl-video-widget/owl-video/gtk_multithread_safe.patch
deleted file mode 100644
index 437f72be86..0000000000
--- a/meta/recipes-sato/owl-video-widget/owl-video/gtk_multithread_safe.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1Use gdk_threads_enter/gdk_threads_leave to ensure gtk multithread safe
2
3If the video player tries to play an unknown type file, it will enter
4the error_cb() function, which is called in another thread.
5Use gdk_threads_enter/gdk_threads_leave to ensure the safe of gtk
6multi-thread operation.
7
8Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
9
10Upstream-Status: Pending
11
12diff -ruN video-orig/src/video.c video/src/video.c
13--- video-orig/src/video.c 2010-10-15 16:07:26.522346398 +0800
14+++ video/src/video.c 2010-10-15 16:25:51.780296717 +0800
15@@ -96,6 +96,7 @@
16 {
17 GtkWidget *dialog;
18
19+ gdk_threads_enter();
20 dialog = gtk_message_dialog_new (data->window,
21 GTK_DIALOG_NO_SEPARATOR,
22 GTK_MESSAGE_ERROR,
23@@ -103,6 +104,7 @@
24 error->message);
25 gtk_dialog_run (GTK_DIALOG (dialog));
26 gtk_widget_destroy (dialog);
27+ gdk_threads_leave();
28 }
29
30 /**
31@@ -606,7 +608,9 @@
32
33 gtk_widget_show_all (GTK_WIDGET (data->window));
34
35+ gdk_threads_enter();
36 gtk_main ();
37+ gdk_threads_leave();
38
39 /**
40 * Cleanup.
diff --git a/meta/recipes-sato/owl-video-widget/owl-video/make-382.patch b/meta/recipes-sato/owl-video-widget/owl-video/make-382.patch
deleted file mode 100644
index d219c31858..0000000000
--- a/meta/recipes-sato/owl-video-widget/owl-video/make-382.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Make 3.82 is much stricter and demands tabs. Obey.
2
3JL - 15/12/10
4
5Upstream-Status: Inappropriate [configuration]
6
7Index: video/Makefile.am
8===================================================================
9--- video.orig/Makefile.am
10+++ video/Makefile.am
11@@ -4,5 +4,5 @@ SUBDIRS = src
12 MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub configure depcomp intltool-extract intltool-merge intltool-update install-sh ltmain.sh Makefile.in missing
13
14 snapshot:
15- $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
16+ $(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
17
diff --git a/meta/recipes-sato/owl-video-widget/owl-video_git.bb b/meta/recipes-sato/owl-video-widget/owl-video_git.bb
index bc63273641..ae083839f3 100644
--- a/meta/recipes-sato/owl-video-widget/owl-video_git.bb
+++ b/meta/recipes-sato/owl-video-widget/owl-video_git.bb
@@ -8,22 +8,20 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ac14b7ca45afea5af040da54db270eb0 \
8SECTION = "x11" 8SECTION = "x11"
9DEPENDS = "libowl-av" 9DEPENDS = "libowl-av"
10 10
11SRCREV = "f133472318970796fae1ea3e98ac062156768baf" 11SRCREV = "07ab48f331a5e6e0d169e4892c7eb1fc22dc0b9d"
12PV = "0.1+git${SRCPV}" 12PV = "0.1+git${SRCPV}"
13PR = "r1" 13PR = "r2"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
17SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ 17SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \
18 file://gtk_multithread_safe.patch \
19 file://owl-video-widget.png \ 18 file://owl-video-widget.png \
20 file://stock_media-play.png \ 19 file://stock_media-play.png \
21 file://stock_volume-0.png \ 20 file://stock_volume-0.png \
22 file://stock_volume-min.png \ 21 file://stock_volume-min.png \
23 file://stock_volume-med.png \ 22 file://stock_volume-med.png \
24 file://stock_volume-max.png \ 23 file://stock_volume-max.png \
25 file://owl-video-widget.desktop \ 24 file://owl-video-widget.desktop"
26 file://make-382.patch"
27 25
28inherit autotools pkgconfig 26inherit autotools pkgconfig
29 27