rbcdio 0.02 → 0.03
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +34 -1
 - data/INSTALL +26 -35
 - data/Makefile.am +17 -15
 - data/Makefile.in +54 -62
 - data/NEWS +6 -1
 - data/Rakefile +1 -1
 - data/VERSION +1 -1
 - data/config.guess +49 -43
 - data/config.sub +17 -7
 - data/configure +64 -91
 - data/configure.ac +3 -6
 - data/doc/created.rid +1 -1
 - data/example/audio.rb +13 -15
 - data/example/cd-read.rb +13 -15
 - data/example/cdchange.rb +14 -16
 - data/example/device.rb +13 -14
 - data/example/drivers.rb +13 -15
 - data/example/eject.rb +13 -14
 - data/example/iso1.rb +7 -8
 - data/example/iso2.rb +7 -8
 - data/example/iso3.rb +7 -8
 - data/example/tracks.rb +13 -14
 - data/ext/cdio/Makefile +24 -28
 - data/ext/cdio/rubycdio_wrap.c +1263 -183
 - data/ext/iso9660/Makefile +24 -28
 - data/ext/iso9660/rubyiso9660_wrap.c +1050 -176
 - data/install-sh +82 -266
 - data/lib/cdio.rb +45 -46
 - data/lib/iso9660.rb +13 -15
 - data/missing +27 -34
 - data/swig/audio.swg +12 -13
 - data/swig/compat.swg +12 -13
 - data/swig/device.swg +12 -14
 - data/swig/device_const.swg +12 -13
 - data/swig/disc.swg +12 -13
 - data/swig/read.swg +12 -14
 - data/swig/rubycdio.swg +12 -14
 - data/swig/rubyiso9660.swg +12 -14
 - data/swig/track.swg +12 -13
 - data/swig/types.swg +12 -13
 - metadata +47 -40
 
    
        data/ext/iso9660/Makefile
    CHANGED
    
    | 
         @@ -4,62 +4,58 @@ SHELL = /bin/sh 
     | 
|
| 
       4 
4 
     | 
    
         
             
            #### Start of system configuration section. ####
         
     | 
| 
       5 
5 
     | 
    
         | 
| 
       6 
6 
     | 
    
         
             
            srcdir = .
         
     | 
| 
       7 
     | 
    
         
            -
            topdir = /usr/lib/ruby/1.8/ 
     | 
| 
      
 7 
     | 
    
         
            +
            topdir = /usr/lib/ruby/1.8/i486-linux
         
     | 
| 
       8 
8 
     | 
    
         
             
            hdrdir = $(topdir)
         
     | 
| 
       9 
9 
     | 
    
         
             
            VPATH = $(srcdir):$(topdir):$(hdrdir)
         
     | 
| 
       10 
10 
     | 
    
         
             
            prefix = $(DESTDIR)/usr
         
     | 
| 
       11 
     | 
    
         
            -
            exec_prefix = $( 
     | 
| 
       12 
     | 
    
         
            -
            sitedir = $( 
     | 
| 
      
 11 
     | 
    
         
            +
            exec_prefix = $(prefix)
         
     | 
| 
      
 12 
     | 
    
         
            +
            sitedir = $(DESTDIR)/usr/local/lib/site_ruby
         
     | 
| 
       13 
13 
     | 
    
         
             
            rubylibdir = $(libdir)/ruby/$(ruby_version)
         
     | 
| 
       14 
14 
     | 
    
         
             
            docdir = $(datarootdir)/doc/$(PACKAGE)
         
     | 
| 
       15 
15 
     | 
    
         
             
            dvidir = $(docdir)
         
     | 
| 
       16 
16 
     | 
    
         
             
            datarootdir = $(prefix)/share
         
     | 
| 
       17 
17 
     | 
    
         
             
            archdir = $(rubylibdir)/$(arch)
         
     | 
| 
       18 
     | 
    
         
            -
            sbindir = $( 
     | 
| 
      
 18 
     | 
    
         
            +
            sbindir = $(exec_prefix)/sbin
         
     | 
| 
       19 
19 
     | 
    
         
             
            psdir = $(docdir)
         
     | 
| 
       20 
     | 
    
         
            -
            vendordir = $(libdir)/ruby/vendor_ruby
         
     | 
| 
       21 
20 
     | 
    
         
             
            localedir = $(datarootdir)/locale
         
     | 
| 
       22 
21 
     | 
    
         
             
            htmldir = $(docdir)
         
     | 
| 
       23 
     | 
    
         
            -
            datadir = $( 
     | 
| 
       24 
     | 
    
         
            -
            includedir = $( 
     | 
| 
       25 
     | 
    
         
            -
            infodir = $( 
     | 
| 
      
 22 
     | 
    
         
            +
            datadir = $(datarootdir)
         
     | 
| 
      
 23 
     | 
    
         
            +
            includedir = $(prefix)/include
         
     | 
| 
      
 24 
     | 
    
         
            +
            infodir = $(prefix)/share/info
         
     | 
| 
       26 
25 
     | 
    
         
             
            sysconfdir = $(DESTDIR)/etc
         
     | 
| 
       27 
     | 
    
         
            -
            mandir = $( 
     | 
| 
       28 
     | 
    
         
            -
            libdir = $( 
     | 
| 
       29 
     | 
    
         
            -
            sharedstatedir = $( 
     | 
| 
      
 26 
     | 
    
         
            +
            mandir = $(prefix)/share/man
         
     | 
| 
      
 27 
     | 
    
         
            +
            libdir = $(exec_prefix)/lib
         
     | 
| 
      
 28 
     | 
    
         
            +
            sharedstatedir = $(prefix)/com
         
     | 
| 
       30 
29 
     | 
    
         
             
            oldincludedir = $(DESTDIR)/usr/include
         
     | 
| 
       31 
30 
     | 
    
         
             
            pdfdir = $(docdir)
         
     | 
| 
       32 
31 
     | 
    
         
             
            sitearchdir = $(sitelibdir)/$(sitearch)
         
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
            bindir = $(DESTDIR)/usr/bin
         
     | 
| 
      
 32 
     | 
    
         
            +
            bindir = $(exec_prefix)/bin
         
     | 
| 
       35 
33 
     | 
    
         
             
            localstatedir = $(DESTDIR)/var
         
     | 
| 
       36 
     | 
    
         
            -
            vendorlibdir = $(vendordir)/$(ruby_version)
         
     | 
| 
       37 
34 
     | 
    
         
             
            sitelibdir = $(sitedir)/$(ruby_version)
         
     | 
| 
       38 
     | 
    
         
            -
            libexecdir = $( 
     | 
| 
      
 35 
     | 
    
         
            +
            libexecdir = $(prefix)/lib/ruby1.8
         
     | 
| 
       39 
36 
     | 
    
         | 
| 
       40 
     | 
    
         
            -
            CC =  
     | 
| 
      
 37 
     | 
    
         
            +
            CC = cc
         
     | 
| 
       41 
38 
     | 
    
         
             
            LIBRUBY = $(LIBRUBY_SO)
         
     | 
| 
       42 
39 
     | 
    
         
             
            LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
         
     | 
| 
       43 
     | 
    
         
            -
            LIBRUBYARG_SHARED = - 
     | 
| 
      
 40 
     | 
    
         
            +
            LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
         
     | 
| 
       44 
41 
     | 
    
         
             
            LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
         
     | 
| 
       45 
42 
     | 
    
         | 
| 
       46 
43 
     | 
    
         
             
            RUBY_EXTCONF_H = 
         
     | 
| 
       47 
     | 
    
         
            -
            CFLAGS   =  -fPIC - 
     | 
| 
      
 44 
     | 
    
         
            +
            CFLAGS   =  -fPIC -fno-strict-aliasing -g -g -O2  -fPIC 
         
     | 
| 
       48 
45 
     | 
    
         
             
            INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
         
     | 
| 
       49 
46 
     | 
    
         
             
            CPPFLAGS =  
         
     | 
| 
       50 
47 
     | 
    
         
             
            CXXFLAGS = $(CFLAGS) 
         
     | 
| 
       51 
     | 
    
         
            -
            DLDFLAGS = -L. 
     | 
| 
      
 48 
     | 
    
         
            +
            DLDFLAGS = -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic  
         
     | 
| 
       52 
49 
     | 
    
         
             
            LDSHARED = $(CC) -shared
         
     | 
| 
       53 
50 
     | 
    
         
             
            AR = ar
         
     | 
| 
       54 
51 
     | 
    
         
             
            EXEEXT = 
         
     | 
| 
       55 
52 
     | 
    
         | 
| 
       56 
     | 
    
         
            -
            RUBY_INSTALL_NAME =  
     | 
| 
       57 
     | 
    
         
            -
            RUBY_SO_NAME =  
     | 
| 
       58 
     | 
    
         
            -
            arch =  
     | 
| 
       59 
     | 
    
         
            -
            sitearch =  
     | 
| 
       60 
     | 
    
         
            -
            vendorarch = i586-linux
         
     | 
| 
      
 53 
     | 
    
         
            +
            RUBY_INSTALL_NAME = ruby1.8
         
     | 
| 
      
 54 
     | 
    
         
            +
            RUBY_SO_NAME = ruby1.8
         
     | 
| 
      
 55 
     | 
    
         
            +
            arch = i486-linux
         
     | 
| 
      
 56 
     | 
    
         
            +
            sitearch = i486-linux
         
     | 
| 
       61 
57 
     | 
    
         
             
            ruby_version = 1.8
         
     | 
| 
       62 
     | 
    
         
            -
            ruby = /usr/bin/ 
     | 
| 
      
 58 
     | 
    
         
            +
            ruby = /usr/bin/ruby1.8
         
     | 
| 
       63 
59 
     | 
    
         
             
            RUBY = $(ruby)
         
     | 
| 
       64 
60 
     | 
    
         
             
            RM = rm -f
         
     | 
| 
       65 
61 
     | 
    
         
             
            MAKEDIRS = mkdir -p
         
     | 
| 
         @@ -73,17 +69,17 @@ COPY = cp 
     | 
|
| 
       73 
69 
     | 
    
         
             
            preload = 
         
     | 
| 
       74 
70 
     | 
    
         | 
| 
       75 
71 
     | 
    
         
             
            libpath = . $(libdir)
         
     | 
| 
       76 
     | 
    
         
            -
            LIBPATH =  -L 
     | 
| 
      
 72 
     | 
    
         
            +
            LIBPATH =  -L"." -L"$(libdir)"
         
     | 
| 
       77 
73 
     | 
    
         
             
            DEFFILE = 
         
     | 
| 
       78 
74 
     | 
    
         | 
| 
       79 
     | 
    
         
            -
            CLEANFILES = 
         
     | 
| 
      
 75 
     | 
    
         
            +
            CLEANFILES = mkmf.log
         
     | 
| 
       80 
76 
     | 
    
         
             
            DISTCLEANFILES = 
         
     | 
| 
       81 
77 
     | 
    
         | 
| 
       82 
78 
     | 
    
         
             
            extout = 
         
     | 
| 
       83 
79 
     | 
    
         
             
            extout_prefix = 
         
     | 
| 
       84 
80 
     | 
    
         
             
            target_prefix = 
         
     | 
| 
       85 
81 
     | 
    
         
             
            LOCAL_LIBS = -L/usr/local/lib -liso9660 -lcdio -lm  
         
     | 
| 
       86 
     | 
    
         
            -
            LIBS = $(LIBRUBYARG_SHARED)  -ldl -lcrypt -lm   -lc
         
     | 
| 
      
 82 
     | 
    
         
            +
            LIBS = $(LIBRUBYARG_SHARED)  -lpthread -ldl -lcrypt -lm   -lc
         
     | 
| 
       87 
83 
     | 
    
         
             
            SRCS = rubyiso9660_wrap.c
         
     | 
| 
       88 
84 
     | 
    
         
             
            OBJS = rubyiso9660_wrap.o
         
     | 
| 
       89 
85 
     | 
    
         
             
            TARGET = rubyiso9660
         
     |