Commit Graph

55 Commits

Author SHA1 Message Date
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
karl
0a527dedaf gplv3 2008-03-24 15:30:55 +00:00
karl
3b90a7dda4 update Makefiles to GPLv3+ 2008-03-20 19:02:37 +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
f4438d5de5 . 2006-04-15 16:18:33 +00:00
rocky
3ccf07b429 iso3.cpp->isofile.cpp 2006-04-15 16:16:05 +00:00
rocky
3446755f9c iso1.cpp->isolist.cpp 2006-04-15 16:13:51 +00:00
rocky
eaab952ae5 iso1->isolist iso2->isofile2 iso3->isofile 2006-04-15 16:12:51 +00:00
rocky
b11191eb3a iso1->isolist iso2->isofile2 iso3->isofile 2006-04-15 15:47:05 +00:00
rocky
c3e6beb4c1 iso1.c->isolist.c iso2.c -> isofile2.c iso3.c -> isofile.c 2006-04-15 15:45:25 +00:00
rocky
dbc63b695a Yet another attempt to get "get_drives_with_cap" working in a rational
fashion.
2006-03-28 03:26:16 +00:00
rocky
10942d5ba3 One more time, go over logic of get_drives_with_cap. 2006-03-27 02:48:41 +00:00
rocky
926254ff8c . 2006-03-07 21:03:28 +00:00
rocky
29d414594d Change list of files from a list to a vector. read_pvd() for
ISO9660::FS works. iso4.cpp: show ISO 9660 info for CD-images (like
iso1 for ISO images).
2006-03-07 19:55:11 +00:00
rocky
67d4aa6fe9 Move code from devices.hpp and iso9660.hpp headers into external files -
cdio.cpp, device.cpp, iso9660.cpp

configure.ac, C++/OO/Makefile.am: Found some bugs libraries acces in doing the
above move.
2006-03-07 10:46:36 +00:00
rocky
789f24066b Cosmetic changes. 2006-03-06 22:15:35 +00:00
rocky
7a3ded9bd7 Add ISO9660::FS - the cdio portion of ISO9660 reading.
iso9600.h: another function rename to be more consistent.
2006-03-06 21:54:56 +00:00
rocky
42b0b841d0 iso9660.hpp, iso1.cpp get list iterators working.
rest: add _ to isachar and isadchar
2006-03-06 19:39:35 +00:00
rocky
b6da64e564 Start OO iso1.cpp.
iso3.cpp: valgrind lint.
iso1.cpp: tidy more.
2006-03-06 04:48:37 +00:00
rocky
5e2d4f6bdf Get first libiso9660++ OO program (iso3) working. 2006-03-06 01:34:22 +00:00
rocky
66d6e093aa lib/cdio++/Makeifle.am iso9660.hpp iso9660_stub.cpp: start C++ libiso9660 library
iso9660.h: documentation changes.
device.hpp: reduce number of methods

stub.cpp->cdio_stub.cpp
2006-03-05 06:52:15 +00:00
rocky
ad4aadc3cb iso1.c{,pp} Show PVD info as well.
README: revise for the programs we've got.
2006-03-02 18:57:31 +00:00
rocky
c2d5b7e0fe Simplify code. Add usage. 2006-03-02 18:46:30 +00:00
rocky
d4ea2bfcaf Some small changes inspired by correspoinding Perl programs. 2006-03-02 01:28:58 +00:00
rocky
29c25d8fb8 iso1.c, iso1.cpp: add p_ prefix to some pointers
iso1.cpp: add iso1.c improvements: allow for an optional ISO name.
2006-03-01 14:11:16 +00:00
rocky
97f00c4da9 Clean up code a little. 2006-02-09 18:16:29 +00:00
rocky
3f39a667b2 Move the device routines which don't refer to an object private info
(e.g. closign a tray) out of the Device class.
2006-01-25 07:21:52 +00:00
rocky
1aff2d5bfb Add routine to show drives attached. Not really OO, but it is a little
nicer than the corresponding C program.
2006-01-25 06:30:22 +00:00
rocky
22e3038b0f Add close status message. Remove uneeded driver_id parameter. Fix a
grammatical mistake.
2006-01-18 20:58:53 +00:00
rocky
1736ea9c4e Went the subclassed exception route (at the expense of lots of extra
code and possibly extra maintenance). It will match the Python
interface and it's I guess what Stroustrup recommends.
2006-01-17 02:09:32 +00:00
rocky
004152ec29 Convert routines in device.hpp into raising an exception rather than
giving a return code. Sort of a test. More may follow.
2006-01-15 10:39:15 +00:00
rocky
08143632ef Forgot to change (C) on that last change. 2006-01-14 10:47:12 +00:00
rocky
220d8d80d2 Add tests of opening/closing without specifying a drive. 2006-01-14 10:46:23 +00:00
rocky
ac5bd98c97 Add corresponding mmc2 OO C++ program. 2005-11-14 01:16:25 +00:00
rocky
baf2516278 Add C++ wrapper routines for MMC commands inside CdioDevice class.
Some comments/code in sample programs gone over and new onse added for
libcdio++.
2005-11-14 01:15:33 +00:00
rocky
91147fd391 include/cdio++ Add pre- and post- increment/decrement operators for
libcdio enums that it makes sense to iterate over.

example/C++/OO/*: use these
example/*: match up C and C++ programs better.
2005-11-11 12:26:57 +00:00
rocky
1e9751d827 Remove a couple of signed/unsigned comparisons. 2005-11-10 11:22:55 +00:00
rocky
75960f732e automake Makefile for new C++ OO programs. 2005-11-10 11:17:15 +00:00
rocky
d7dd4a6c8a First cut at a C++ wrapper for libcdio libcdio++. What's not done are
audio and MMC commands. No doubt it may be a little rough and I expect
further changes.
2005-11-10 11:11:15 +00:00
rocky
9834af4577 Add eject 2005-11-07 07:54:52 +00:00
rocky
142c1e9e33 C eject works as C++ too.
Makefile.am: Add some of the dependency tracking.
2005-11-07 07:53:40 +00:00
rocky
6f81e9252b Add interface to eject CD-ROM by device name.
eject.c: new routine to test/show this.
example/*.c iso2.cpp: Note in comment allowance of an optional argument.
2005-11-07 07:44:00 +00:00
rocky
cf5698997d Minor typographical misspellings in comment 2005-10-30 14:25:46 +00:00
rocky
37bb687ed2 Was building paranoia programs when --without-cd-paranoia was given. 2005-10-06 00:14:22 +00:00
rocky
2afad8d866 Move lower-level cdrom_drive_t from paranoia.h into cdda.h
This may cause some incompatibilty in applications that did
#include <cdio/cdda.h> without #include <cdio/paranoia.h>

As of now it's okay to just #include <cdio/paranoia.h> or include both,
but #includ'ing only <cdio/cdda.h> will be a problem.
2005-09-21 01:41:31 +00:00
rocky
d8826d36a2 Add --with-versioned-libs for libcdio_paranioa and libcdio_cdda Remove
use of "new" even in private C parts. Changes and patch from Nicholas
Boullis.
2005-09-20 00:42:14 +00:00
rocky
f6a5b4ad0b configure.ac: make it explicit that --without-cd-paranoia also means
without the library

If --without-cd-paranoia don't try to build paranoia programs in example and
example/C++.

Thanks to Elio Blanca for reporting the problems.
2005-09-16 09:31:38 +00:00
rocky
711dcdac7b Add C++ versions of paranoia.c and paranioa2.c 2005-08-27 14:29:12 +00:00
rocky
afffc36023 *** empty log message *** 2005-07-15 21:39:12 +00:00
rocky
92ccebfbc8 "Port" device.c into C++. 2005-07-15 21:38:57 +00:00