Commit Graph

448 Commits

Author SHA1 Message Date
R. Bernstein
f215cad224 Make sure config.h or the copy of that gets included only once to reduce duplicate include
warnings.
2011-10-20 19:44:10 -04:00
R. Bernstein
b7203f5d6b Correct test for enable_cdda to accept either curses.h *or* ncurses.h
Add <strings.h> in more places that use bzero. Checks suggested by Blake Jones.

Add preprocessor symbol CDIO_CONFIG_H to <cdio_config.h>
2011-10-20 18:24:10 -04:00
R. Bernstein
273ce72a98 Add remake --task documentation 2011-10-20 06:39:18 -04:00
R. Bernstein
34dc6a0973 Add <strings.h> to pick up definition of bzero. 2011-10-19 22:38:48 -04:00
R. Bernstein
8002d97db8 Remove CVS $Id$ line which is no longer automatically updated.
ios9660.hpp under FS because of Solaris macro conflict as suggested by Thomas Schmitt.
cd-drive.c: add some casts to remove gcc warnings
src/cd-paranoia/Makefile.am: remove a GNU make idiom.
README.develop: note needing GNU make or remake
2011-10-19 22:01:37 -04:00
R. Bernstein
dced0a55c4 --no-header omits warranty. Patch from Martin von Gagem. Savannah #29307. 2011-10-04 04:28:36 -04:00
R. Bernstein
6d907afff7 Give CDDB info if *any* tracks are found to be audio tracks. 2011-09-12 21:41:41 -04:00
R. Bernstein
2a0747b6e2 Two more Coverty static analysis issues addressed by Honza Horak. 2011-05-31 14:30:26 -04:00
rocky
940b7cd848 patch from Honza Horak using Coverity's static analysis tool. 2011-05-30 15:19:22 -04:00
R. Bernstein
9be0980337 Change a number of sprintf's to snprintf. 2011-05-27 17:50:56 -04:00
R. Bernstein
7d23f847e6 Add git install instructions. Simplify and customize INSTALL. Add dependency to cause version.texi to get created. Update my email address. 2011-05-19 07:43:38 -04:00
rocky
f2438edcbc Add ISRC track info to cd-info output. Code from Scot C. Bontrager. 2011-05-18 09:48:03 -04:00
R. Bernstein
46876a2040 Correct wording in cdda-player comments. For Christopher Yeleighton,
among others.
2011-05-18 04:46:36 -04:00
R. Bernstein
ed6311426d Don't wrap-around volume adjustment for cdda-player. The rationale is that
folks might not look at the volume indicator or know what the max or min values are. See issue #33333 by Christopher Yeleighton.
2011-05-18 03:39:01 -04:00
rocky
bf7ce1606d Correct erroneous error message. Thanks to Bas Timmer via libcdio-help. 2011-02-24 09:09:05 -05:00
R. Bernstein
42534c91f6 Guard against not having S_ISLNK and S_ISSOCK. 2010-11-30 21:27:43 -05:00
R. Bernstein
efdd4e8179 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio 2010-05-30 01:25:22 -04:00
R. Bernstein
789a90472a Some of the patches from Thomash Schmitt on http://lists.gnu.org/archive/html/libcdio-devel/2010-05/msg00005.html. More later when I get back to the states. 2010-05-30 01:24:59 -04:00
R. Bernstein
ba610a0575 Silence another GCC warning. Thanks to Thomas Schmitt for this. 2010-05-11 13:34:27 -04:00
R. Bernstein
2d3b7d28b4 Add SCSI-MMC GET CONFIGURATION.
Add Frank Endres' disc type determination via MMC.
Be more careful to suffix with CDIO_MMC which I hope will reduce possible name conflicts.
2010-02-07 21:04:21 -05:00
R. Bernstein
d3a0ba06e1 Move more towards making MMC a library. Start to reorganize more to
break out 1-1 SCSI-MMC commands (in mmc_ll_cmds.c) from higher-level
commands which use the lower-level ones.
2010-02-07 18:35:47 -05:00
R. Bernstein
f93e673fd5 lib/driver/mmc.c - DRY code. Warning - might have introduced breakage here
*mmc*: mmc_start_stop_media -> mmc_start_stop_unit,
 CDIO_MMC_GPCMD_START_STOP -> CDIO_MMC_GPCMD_START_STOP_UNIT
cdio++/mmc.hpp: Regularize Doxygen comment format.
2010-02-06 22:53:03 -05:00
R. Bernstein
1687e2633f Start to split off specific mmc commands from the lower-level internals. 2010-02-06 11:59:35 -05:00
R. Bernstein
b7ef82250e Assume nowadays Standard C is Standard C 2010-01-27 22:24:34 -05:00
R. Bernstein
9edd3db3d2 Better diagnostic messages for MS Window driver. 2010-01-23 21:59:43 -05:00
R. Bernstein
2b4a36f758 Remove more warnings. test/testnrg.c.in -> test/driver/nrg.c.in 2010-01-21 02:58:19 -05:00
R. Bernstein
273ba31e3a In 0.83git now. Fix minor leaks in libcdio 0.82 detected by cppcheck
via Eric Sesterhenn.
2009-10-27 21:00:51 -04:00
R. Bernstein
b2dda51f57 Ignore windows executables and stack dumps. 2009-10-21 12:47:50 -04:00
Nicolas Boullis
8e8b18e197 Remove all remaining uses of CDIO_MIN_DRIVER, CDIO_MAX_DRIVER, CDIO_MIN_DEVICE_DRIVER or CDIO_MAX_DEVICE_DRIVER. 2009-07-13 00:48:24 +02:00
R. Bernstein
b4e36da3e2 Removed cd-paranoia.c by accident. 2009-07-11 19:42:04 -04:00
R. Bernstein
5a0ab057c3 MOSTLYCLEANFILES subsumes MAINTAINERCLEANFILES. As Nicolas Boulis
points out, want only the latter.
2009-07-03 19:37:59 -04:00
R. Bernstein
2c804547f7 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio 2009-07-02 20:29:48 -04:00
R. Bernstein
2522c26ec8 Adapted from patches by Nicolas Boullis on Debian:
* alignment issues on sparc
 * "make check" failure when stderr is not a tty
 * wrong program name in manpages in tarball
 * build failure with hurd
 * "make check" failure on machines with no disc drive
 * make distclean fixes
2009-07-02 20:26:39 -04:00
R. Bernstein
bc634ba342 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio 2009-06-15 09:35:39 -04:00
R. Bernstein
7f8f0f806a Savannah bug #26808 - Multiple definitions of cddb_opts. Helps MinGW/MSys compilation. Patch courtesy of lrn. 2009-06-15 09:31:54 -04:00
rocky
cc08ce617f README.develop: add help2man. Rest - cosmetic changes 2009-05-16 23:01:39 -04:00
R. Bernstein
58d87158cf Add OS/2 driver courtesy of KO Myung-Hun. Security: Add "%s" to cdparanoia's fprintfs 2009-02-08 05:52:49 -05:00
R. Bernstein
37f248aa46 Fix manpage generation on platforms with non-empty EXEEXT,
and fix the VPATH build as well.
2008-12-28 23:11:29 -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
c02aa93af6 Nuke cddb disc ID if --no-cddb option is given. 2008-09-09 14:44:25 +00:00
rocky
1185f7d0f4 Allow compiling cd-info without cddb. Patch thanks to Fabrice Ménard. 2008-09-08 14:45:07 +00:00
flameeyes
a4b1427fe9 Use the LTLIBICONV variable rather than LIBICONV.
With this change, instead of using the fully qualified path to the
shared object (or the one that the configure think is the fully
qualified path), the path where the library is found will be added to
the search path and just a generic -liconv will be used.

The old variable would be fooled up when /usr/lib/libiconv.so is an LD
script that redirects to /lib/libiconv.so, causing failures with some
linkers.

Also, replace @LIBICONV@ for libcdio itself also with $(LTLIBICONV) or
it will fail to link against on uClibc.
2008-08-31 13:38:21 +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
3685c0d78e Mark variables and constant as static in source tools, examples and tests. Also replace some char pointers with char arrays. 2008-06-19 15:44:10 +00:00
rocky
49defd1cdc restore tab which got lost in cut-and-past. -- A pox on "make".
Thanks to Steve Schultz again for keeping us (more) honest.
2008-04-26 15:16:06 +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
karl
0e61f3de1a gplv3+ 2008-04-17 17:39:47 +00:00
karl
4f8b039943 gplv3+ 2008-04-14 17:30:26 +00:00
karl
431910a2c0 gplv3+ 2008-04-11 15:44:00 +00:00
karl
3b90a7dda4 update Makefiles to GPLv3+ 2008-03-20 19:02:37 +00:00