Here, there be dragons.

Submitted by illogic-al on Wed, 01/28/2009 - 15:30

Hey there. Last night, at apparently 10:41 p.m. KDE 4.2.0 went into macports. It is but a sudo port sync away. That's not really important though. :-)
The real reason for this entry is Dragon Player. It works. Much to my surprise - evidenced by the comment below in the kdemultimedia4 portfile.

default_variants    +no_dragon

variant no_dragon description "Do not install dragon player" {
# In the future when Ian cares about OS X (and we have robots)
# this won't have to be the default
    configure.args-delete   -DBUILD_dragonplayer=ON
    configure.args-delete   -DBUILD_dragonplayer=OFF
}

As you can see the no_dragon variant is set as the default. Imagine my surprise when I go to check the apps and see dragon.app sitting gleefully in the application folder. Wasting no time, and not bothering to figure out why it's even there, I fired it up.

KDE's Dragon Video Player in OS X

Having sated my curiosity I went back to the portfile to figure out what went wrong (or right in this case). As intended, the block of code which has the no_dragon variant was being activated. Upon closer inspection I realized that I was deleting the switch to turn dragon on, as well as the one meant to turn it off. This led to cmake's default logic kicking in (turn on X app, if Y dependency is present) quite fortuitously.
Lesson of the day? Copy-paste errors aren't always a bad thing :-)

So, I apologize Ian. And thank you for finally getting off your ass and moving dragon away from... um... Xlib wuzzit XCB? ;-) Now if I could only get the KsCD guys to move away from cdparanoia. Or port it. Sounds summer of code-ish...

P.S. xine-lib is nowhere on my system so this is all through phonon's Quicktime 7 backend.
I hereby dub Phonon "Super Pillar" and nominate it for Pillar of the Year Award.

P.P.S. I'm going to disable kmix installation on OS X via the CMakeLists.txt file since kmix on OS X is pretty much... y'know... useless. Speak now or forever hold yer peace.

I didn't do anything :D

Dragon Player has always compiled without Xine I think. I never tested this so I probably wasn't in a position to guarantee that at some point. Also back when it was required for subtitles I wanted to discourage xine-less Dragons.

Can you test with a DVD?

You didn't :-P

The without Xine fix was added by a guy named segato in August. It puts all Xine code in #if xine blocks. We had a Xine dependency last release.

haha explains thats mystery.

I knew I didn't do anything. :)

The Super-Pillar...

No need to make Phonon the "Super Pillar", at Akademy 2007 it has already been honored with the Akademy Award for the best non-application contribution :-)
http://www.kde.org/history/akademyawards/

Alex