290 Commits

Author SHA1 Message Date
R. Bernstein
ca23ec2ae5 Add check against GNU/Linux driver. More info in include/cdio/config. 2008-12-07 06:40:51 -05:00
R. Bernstein
f434186567 Makefile.am: Redo target for ChangeLog to use git2cl. NEWS: Note NetBSD driver added. Reset: git administrivia. 2008-12-06 20:04:23 -05:00
rocky
dbba9a7f6b Patch by Mike Frysinger to facilitate cross-compilation. sr #106338 2008-11-27 21:09:51 +00:00
rocky
afeb80aa49 Erroneous initialization. See sr #106271 2008-11-25 02:20:17 +00:00
rocky
a33fe3154a Treat uclinux like GNU/Linux. sr #106336 from Mike Frysinger. 2008-11-25 01:57:16 +00:00
rocky
088a2ec17c Remove bit-ordering test in configure.ac since we don't seem to use
this at compile time and it fouls up cross compilation.

cd-paranoia has tests at run-time. libcdio inherited this from
vcdimager which needs it in writing images. It is possible that when
libcdio does writing this may come back. Untill then, simplify.
2008-11-25 01:47:36 +00:00
rocky
48de04f1b6 Typo in comment 2008-10-29 09:55:22 +00:00
rocky
f81a660ef8 Bug fix to allow linker flags --as-needed and --no-undefined. Thanks to Götz Waschk 2008-10-29 09:53:00 +00:00
flameeyes
10e258de88 Don't use echo -n, use subshells instead.
echo -n is not working on all shells, in particular it does not seem
to work on Sun /bin/sh shell; instead use subshells to have the same
output everywhere.
2008-09-29 03:34:49 +00:00
rocky
82c7c09a97 Fixes for Mingw+MSYS and DLL support from Carlo Bramini
* configure.ac: Added AC_LIBTOOL_WIN32_DLL for enabling the creation of shared libraries.
* configure.ac: Added -I$(top_srcdir)/include to LIBCDIO_CFLAGS, it allows to build outside the source tree.
* configure.ac: Added LT_NO_UNDEFINED for adding '-no-undefined' switch to libtool when building win32 shared libraries.
* configure.ac: Check for Windows.h presence if under Mingw (included for using Sleep() function).
* configure.ac: Check for more missing functions: setenv(), unsetenv(), sleep(), gmtime_r(), localtime_r().

* example/cdchange.c: If sleep() function does not exist, it tries to emulate it with a similar code (require inclusion of Windows.h)

* src/cddb.c:
* lib/cdda_interface/scsi_interface.c: Compilation fails because u_int32_t is undefined. It has been changed to uint32_t to be compliant to all other parts of the libraries.
* lib/cdda_interface/Makefile.am:
* lib/iso9660/Makefile.am:
* lib/cdio++/Makefile.am:
* lib/paranoia/Makefile.am:
* lib/udf/Makefile.am:
* lib/driver/Makefile.am: added LT_NO_UNDEFINED to libtool flags.
* lib/iso9660/iso9660.c: Added replacements for setenv(), unsetenv(), gmtime_r\
(), localtime_r().
2008-06-25 08:01:53 +00:00
flameeyes
5d2dc434e3 Fix AC_ARG_WITH and AC_ARG_ENABLE call to use the un-translated option name (that is, using dash rather than underscore). 2008-06-19 13:41:40 +00:00
flameeyes
97831db455 Put all macros in the m4 directory, this avoids cluttering the main directory with libtool 2.2 (that split the macros in multiple files). 2008-06-16 22:36:09 +00:00
rocky
3709aca31e --disable-example-progs help text wording change
Ignore test/testpregap.c since that's now derived testpregap.c.in
2008-06-14 22:41:29 +00:00
rocky
a8e617dc7d Replace last vestige of non-reentrant gmtime with timegm. Problem
determination and fix again from Nicolas Boullis.
2008-05-31 12:18:33 +00:00
rocky
3f266b669b Changes to testpregap.c to allow to build outside of the source tree. 2008-05-05 23:58:28 +00:00
rocky
62d7731703 Patch from Peter Hartley to allow Cross-compiling to mingw32:
- MinGW doesn't have struct timespec, so udf_time.c doesn't compile
   (changes lib/udf/udf_time.c, configure.ac, config.h.in)

 - The configure test for bitfield ordering uses AC_TRY_RUN and thus
   doesn't work when cross-compiling; use sneakiness to try and
   determine it at compile time, falling back to the existing runtime
   check if the sneakiness doesn't work
   (changes configure.ac; tested on x86_64-linux-gnu and i586-mingw32
   which are bf_lsbf=1, plus sparc64-linux-gnu which is bf_lsbf=0)

 - The configure test for "extern long timezone" needlessly uses
   AC_TRY_RUN when in fact AC_LINK_IFELSE is all we need to know, and
   that latter works when cross-compiling
   (changes configure.ac)

 - MinGW sys/stat.h doesn't have the *GRP or *OTH macros, nor S_IFLNK
   or S_IFSOCK, nor S_ISUID etc
   (changes lib/udf/udf.c and lib/iso9660/xa.c)

 - MinGW doesn't have <sys/wait.h>, so even the header-inclusion bit
   of the Linux driver doesn't compile unless it's moved inside the
   "ifdef HAVE_LINUX_CDROM"
   (changes lib/driver/gnu_linux.c)

 - Because the man pages cd-info.1 etc depend on the binaries themselves
   (for help2man reasons), the configure options --without-cd-info etc
   don't actually stop them being compiled. Fixed by only depending on
   man pages for programs that are actually built, which also stops
   the installation of man pages of programs which aren't themselves
   installed
   (changes src/Makefile.am)
2008-04-24 07:28:00 +00:00
rocky
0e463dfc0d Start NetBSD driver 2008-03-27 17:40:50 +00:00
rocky
4d76632b8a Start a nrg image reading test. 2008-03-22 22:43:56 +00:00
rocky
51d9652c82 get_track_pregap_lba, get_track_pregap_lsn. Section on "CD-DA pregap" in libcdio manual.
All changes from Robert William Fuller.
2008-03-16 00:12:42 +00:00
rocky
6dcb2fa099 Assume darwin9 is like darwin8. 2008-03-15 17:45:17 +00:00
rocky
a1d15b9728 . 2008-03-09 18:41:27 +00:00
flameeyes
209f1d3358 Add a configure option to disable examples building (useful for distributions, as adding them to noinst will still build them during make all wasting build time. 2008-01-01 03:14:17 +00:00
rocky
05a512cfaa Build outside of source fixes for TEST. We're in 0.80 land now. 2007-12-28 02:11:01 +00:00
rocky
ddf569dbea Apply kfreebsd patch from Debian. 2007-12-15 22:36:35 +00:00
flameeyes
a9d358af67 Unbreak --enable/--disable joliet support. Use AS_HELP_STRING to pretty-print the help message. 2007-11-16 13:52:55 +00:00
rocky
83fb5978bf Final 0.79 release 2007-10-27 04:02:36 +00:00
rocky
4759107d7c libcdio cdparanoia doing the wrong thing on a single-sector read. Savannah patch #5999. 2007-10-16 15:32:02 +00:00
rocky
40c531fed9 Remove := in Makefiles for portability.
autoconf 1.10 complains about adding AM_PROC_CC_C_O - pander to it.
2007-10-15 04:53:59 +00:00
rocky
a33bb59a7f iso9660_fs.c: remove some (but not all) of the redundancy
testisocd2.c.in: a test of working with an ISO 9660 image.
2007-08-12 12:41:10 +00:00
flameeyes
48751a50f3 Borrow the eject code for OSX from xine-lib-1.2-macos branch, as contributed
by Matt Messier. This allows to eject disks on Mac OS X without having to
call an external utility.

Incidentally this fixes libcdio eject function on Mac OS X 10.4 and later, as
hditool was moved from /usr/sbin to /usr/bin.
2007-08-09 02:19:40 +00:00
rocky
cd266bbd19 Rename Japan locale to ja. Bug #19880. 2007-05-16 10:00:50 +00:00
rocky
9d516c174c Was chopping off HAVE_SYS_TYPES declaration. 2007-04-15 16:34:36 +00:00
rocky
07b1944cb6 Better strtol fix based on SMS's remark. 2007-03-05 11:49:24 +00:00
rocky
547d8387cb Typo in configure.ac reported by Gergely Szász, bug report #18522. 2006-12-14 00:19:58 +00:00
rocky
c7ad16607e Disable libvcdinfo - 2nd try. 2006-11-30 02:22:01 +00:00
rocky
a423fd5c59 Disable vcdinfo in cd-info by default. It causes too much of a hassle
for too many people.
2006-11-30 02:08:14 +00:00
gmerlin
efc2151bc1 * Better drive detection for Linux
* cdio_add_device_list() now adds devices with symlinks only once
2006-11-27 19:31:37 +00:00
rocky
84f194e780 We really are in 0.79cvs now. 2006-11-16 00:47:28 +00:00
rocky
6e9db51c5a A stray quote got inserted into the "cut". This time, for sure! 2006-10-30 13:02:37 +00:00
rocky
54dc0d8c13 Get reeady for 0.78.2 release? 2006-10-30 12:46:05 +00:00
flameeyes
d3d2c7dfdd Use cut rather than sed for removing the micro version. 2006-10-30 12:21:41 +00:00
rocky
2065348453 This time, for sure! (See previous.) 2006-10-29 05:11:08 +00:00
rocky
5bce55e343 Remove .1 in LIBCDIO_VERSION_NUM 2006-10-29 05:08:31 +00:00
rocky
a470acc5ab Prepare a release that doesn't have the .so problem. 2006-10-28 02:11:24 +00:00
rocky
56c17837f3 Make iconv more necessary. 2006-10-27 10:43:32 +00:00
rocky
24d4e4f19d Get ready for release. 2006-10-27 09:11:14 +00:00
rocky
12ac7c8a23 configure.ac: in 0.78cvs now
mmc2a.c: small changes from and synch with mmc-tool.
2006-04-12 09:38:45 +00:00
flameeyes
2f62a9c3fd Add a --disable-cxx configure parameter so that the C++ bindings can be skipped. 2006-03-30 10:47:51 +00:00
rocky
f2046d59cd We'll accept FreeBSD 7. 2006-03-25 00:22:47 +00:00
rocky
b8d69c67a2 iso9660.h: remove doxygen formatting warning.
configure.ac, NEWS: get ready for 0.77 release
2006-03-18 02:35:06 +00:00