diff options
author | nox <nox@FreeBSD.org> | 2012-02-26 23:22:37 +0800 |
---|---|---|
committer | nox <nox@FreeBSD.org> | 2012-02-26 23:22:37 +0800 |
commit | 43ee86bbe02ddd769636f9076096c9871a4f8b95 (patch) | |
tree | deefe265cb512ac12217d02a6d9cf5f09e408e70 /multimedia/k9copy-kde4 | |
parent | 3d59b95822df4fff8ceaf461bcf666bc3ecd7e26 (diff) | |
download | freebsd-ports-graphics-43ee86bbe02ddd769636f9076096c9871a4f8b95.tar.gz freebsd-ports-graphics-43ee86bbe02ddd769636f9076096c9871a4f8b95.tar.zst freebsd-ports-graphics-43ee86bbe02ddd769636f9076096c9871a4f8b95.zip |
- Update multimedia/libxine to 1.2.1 with a commit merged from hg
to fix DVB support. (which still is broken for tuners using
hardware pid filtering, like when running webcamd with
"-m dvb-usb-init.force_pid_filter_usage=1".)
- Add patches to fix build of ports depending on libxine to:
audio/amarok,
graphics/gimageview [1], graphics/pornview [1],
graphics/osg [2], graphics/osg-devel [2],
multimedia/emotion,
x11/kdelibs4 [3],
multimedia/kmplayer,
multimedia/konverter,
multimedia/qdvdauthor [4],
multimedia/vdr-plugin-xineliboutput,
multimedia/xfce4-media [5],
multimedia/xine_artsplugin,
multimedia/k9copy-kde4 [6]
- Fix RUN_DEPENDS= xine... which should be LIB_DEPENDS for audio/atunes . [7]
- Mark multimedia/phonon-xine BROKEN which refuses to build with
libxine 1.2.x and is deprecated upstream. [3]
- Disable XINE knob for x11/eaglemode for which I don't have a fix. [2]
- Note: multimedia/kaffeine runs after rakuco's x11/kdelibs4 fix,
but it only shows a green window at least with mp4 or ts files.
(avi files and audio still work.) It seems the kaffeine developers
have found this too and are now switching away from libxine in
their git repo - so I guess we'll have a broken kaffeine at least
until they release a new version.
- Bump PORTREVISIONs for ports depending on libxine by default.
- Add optional libbluray support to multimedia/libxine and
multimedia/vdr-plugin-xineliboutput.
PR: ports/165057 [6]
Submitted by: nox (self) [6], rakuco [3]
Approved by: dinoex (maintainer, via irc) [1],
amdmi3 (maintainer, via private email) [2],
kde@ (rakuco, via irc) [3],
Phil Oleson <oz@nixil.net> (maintainer, via private email) [4],
xfce@ (rene, via irc) [5],
Eduardo Gielamo Oliveira <egoliveira@gmail.com> (maintainer) [6],
lme (maintainer, via irc) [7]
Thanx to: Darren Salt (upstream libxine maintainer) for a few
hints on irc to help with patching ports depending
on deprecated libxine features
Diffstat (limited to 'multimedia/k9copy-kde4')
-rw-r--r-- | multimedia/k9copy-kde4/Makefile | 2 | ||||
-rw-r--r-- | multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.cpp | 35 | ||||
-rw-r--r-- | multimedia/k9copy-kde4/files/patch-src-xine-k9xineplayer.h | 10 |
3 files changed, 46 insertions, 1 deletions
diff --git a/multimedia/k9copy-kde4/Makefile b/multimedia/k9copy-kde4/Makefile index 6a90f6eceb9..8d1c7a593bf 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 00000000000..973346785aa --- /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 00000000000..f17fdf09005 --- /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;} |