aboutsummaryrefslogtreecommitdiff
path: root/multimedia/k9copy-kde4
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2012-02-26 15:22:37 +0000
committerJuergen Lock <nox@FreeBSD.org>2012-02-26 15:22:37 +0000
commitd613b75b1d87505cc967bc6f8b7a419b2d57be5b (patch)
treefb8dfa0620864eed2a359680644745507734b86a /multimedia/k9copy-kde4
parent448b972896fbb34deed41c2bf9c30b12c6b16bc6 (diff)
Notes
Diffstat (limited to 'multimedia/k9copy-kde4')
-rw-r--r--multimedia/k9copy-kde4/Makefile2
-rw-r--r--multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.cpp35
-rw-r--r--multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.h10
3 files changed, 46 insertions, 1 deletions
diff --git a/multimedia/k9copy-kde4/Makefile b/multimedia/k9copy-kde4/Makefile
index 6a90f6eceb97..8d1c7a593bfd 100644
--- a/multimedia/k9copy-kde4/Makefile
+++ b/multimedia/k9copy-kde4/Makefile
@@ -6,7 +6,7 @@
PORTNAME= k9copy
PORTVERSION= 2.3.4
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= multimedia kde
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-kde4/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
diff --git a/multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.cpp b/multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.cpp
new file mode 100644
index 000000000000..973346785aa9
--- /dev/null
+++ b/multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.cpp
@@ -0,0 +1,35 @@
+--- src/xine/k9xineplayer.cpp.orig
++++ src/xine/k9xineplayer.cpp
+@@ -260,8 +260,10 @@ void k9xinePlayer::init(WId _wid) {
+ event_queue = xine_event_new_queue(stream);
+ xine_event_create_listener_thread(event_queue, event_listener, this);
+
+- xine_gui_send_vo_data(stream, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) m_wid);
+- xine_gui_send_vo_data(stream, XINE_GUI_SEND_VIDEOWIN_VISIBLE, (void *) 1);
++ // xine_gui_send_vo_data(stream, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) m_wid);
++ // xine_gui_send_vo_data(stream, XINE_GUI_SEND_VIDEOWIN_VISIBLE, (void *) 1);
++ xine_port_send_gui_data(vo_port, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) m_wid);
++ xine_port_send_gui_data(vo_port, XINE_GUI_SEND_VIDEOWIN_VISIBLE, (void *) 1);
+ m_execute=true;
+
+ }
+@@ -284,7 +286,8 @@ void k9xinePlayer::quit() {
+ void k9xinePlayer::update() {
+ if (stream && !running ) {
+ if (m_mutex.tryLock()) {
+- xine_gui_send_vo_data(stream, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) m_wid);
++ // xine_gui_send_vo_data(stream, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) m_wid);
++ xine_port_send_gui_data(vo_port, XINE_GUI_SEND_DRAWABLE_CHANGED, (void *) m_wid);
+ m_mutex.unlock();
+ }
+ }
+@@ -317,7 +320,8 @@ void k9xineThread::run() {
+ case Expose:
+ if (xevent.xexpose.count != 0)
+ break;
+- xine_gui_send_vo_data(m_player->getStream(), XINE_GUI_SEND_EXPOSE_EVENT, &xevent);
++ // xine_gui_send_vo_data(m_player->getStream(), XINE_GUI_SEND_EXPOSE_EVENT, &xevent);
++ xine_port_send_gui_data(m_player->getPort(), XINE_GUI_SEND_EXPOSE_EVENT, &xevent);
+ break;
+ }
+ }
diff --git a/multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.h b/multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.h
new file mode 100644
index 000000000000..f17fdf090058
--- /dev/null
+++ b/multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.h
@@ -0,0 +1,10 @@
+--- src/xine/k9xineplayer.h.orig
++++ src/xine/k9xineplayer.h
+@@ -68,6 +68,7 @@ public:
+ int positionAbs() {return m_posabs ;}
+ int length() {return m_length;}
+ xine_stream_t *getStream() { return stream;}
++ xine_video_port_t *getPort() { return vo_port;}
+ bool isRunning() {return running;}
+ WId wid() const { return m_wid;}
+ QString title() const {return m_title;}