New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13331 (closed defect: fixed)

Opened 6 years ago

Last modified 4 years ago

libcdio-0.75 default config misses osx driver on Mac OS X 10.4 Tiger and 10.5 Leopard

Reported by: ulion2002@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: cdio cdda_identify Cc:
Port: libcdio

Description

Check the configure script file of libcdio-0.75:

====================

case $host_os in

aix*)

## Don't use AIX driver until starts to really work ## cd_drivers="${cd_drivers}, AIX" ## AC_DEFINE([HAVE_AIX_CDROM], [1], ## [Define 1 if you have AIX CD-ROM support]) ;;

darwin6*|darwin7*)

for ac_header in IOKit/IOKitLib.h CoreFoundation/CFBase.h do ====================

it only support up to darwin7 to use IOKits, Indeed, on 10.5 (darwin9), the IOKits works fine after I change the line to:

==================

darwin6*|darwin7*|darwin8*|darwin9*)

==================

Without this change, the libcdio will miss the osx driver to detect local cdroms, and will always fail when calling cdda_identify

On newest CVS of libcdio, it support to darwin8, but darwin9 is still missing, please update or patch libcdio.

Change History

comment:1 Changed 6 years ago by nox@…

  • Summary changed from BUG: libcdio-0.75 default config missed osx driver for 10.4 and 10.5 os. to libcdio-0.75 default config misses osx driver on Mac OS X 10.4 Tiger and 10.5 Leopard

comment:2 Changed 5 years ago by ryandesign@…

  • Owner changed from macports-dev@… to ryandesign@…

The configure file contains many checks for "darwin*" and just this one check for "darwin6*|darwin7*". I assume this is for a good reason. Have you already spoken with the developers of libcdio about this problem? Have they confirmed that this section of code also works on Leopard?

I see that the libcdio port is at version 0.75 but version 0.79 has been released, which expands the check to include darwin 8. I can start by updating the port to that version.

I would appreciate it if you could tell me a command I can run on the command line that demonstrates the problem, so that I can confirm that 0.79 fixes it (on Tiger, which I'm using). Then I can try the same on a Leopard system later.

comment:3 Changed 5 years ago by ulion2002@…

after config, check whether you got line

#define HAVE_DARWIN_CDROM 1

in config.h. Without this define, in lib/driver/device.c:

#elif HAVE_DARWIN_CDROM const driver_id_t cdio_os_driver = DRIVER_OSX; #elif ...

OSX driver will be missed.

For do real test, I compile mplayer with libcdio, it will only work when the OSX driver enabled and linked (play CD/DVD) here's my command line of mplayer ./mplayer -v -dvd-device=/dev/rdisk1 dvd://

comment:4 Changed 5 years ago by blb@…

  • Keywords libcdio removed
  • Status changed from new to closed
  • Resolution set to fixed
  • Port set to libcdio

Version 0.80 has darwin9 support natively, so the port's been updated in r40874.

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.