/[svn]/libgig/branches/release3_3_0/README
ViewVC logotype

Diff of /libgig/branches/release3_3_0/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2 by schoenebeck, Sat Oct 25 20:15:04 2003 UTC revision 650 by schoenebeck, Wed Jun 15 12:51:12 2005 UTC
# Line 9  Content Line 9  Content
9                                       files and provide abstract access to the                                       files and provide abstract access to the
10                                       data.                                       data.
11    - gig classes (gig.h, gig.cpp):    These are based on the DLS classes and    - gig classes (gig.h, gig.cpp):    These are based on the DLS classes and
12                                       provide the neccessary extensions for                                       provide the necessary extensions for
13                                       the Gigasampler file format.                                       the Gigasampler file format.
14    
15      Beside the actual library there are four example applications:
16    
17        gigdump:     Demo app that prints out the content of a .gig file.
18        gigextract:  Extracts samples from a .gig file.
19        dlsdump:     Demo app that prints out the content of a DLS file.
20        rifftree:    Tool that prints out the RIFF tree of an arbitrary RIFF
21                     file.
22    
23  Requirements  Requirements
24  ============  ============
   I simply used automake & co this time so you will need to have automake,  
   autoconf and libtool installed. I used the following versions:  
25    
26      automake  1.6.3    POSIX systems (e.g. Linux, OS X):
27      autoconf  2.57    ---------------------------------
28    
29    If you want to compile the 'gigextract' application that comes with these    You need at least to have libtool installed to be able to build the
30    sources then you will additionally need to have libaudiofile installed (I    library with "./configure && make".
   used version 0.2.3).  
31    
32  Non-POSIX systems    Additionally you need to have either libaudiofile (>= 0.2.3) or
33  =================    libsndfile (>= 1.0.2) installed which is mandatory to be able to compile
34      the 'gigextract' example application. But of course 'gigextract' is still
35      just an example application, so it would make sense to compile it only if
36      one of those libraries are available. That would remove that hard
37      dependency to those two libs. But that's not a priority for me now.
38      Note: for Windows systems only libsndfile is available.
39    
40      If you want to regenerate all autotools build files (that is configure,
41      Makefile.in, etc.) then you need to have automake (>= 1.5) and autoconf
42      installed.  
43    
44      Non-POSIX systems (e.g. Windows):
45      ---------------------------------
46      
47    If you don't have a POSIX system, you have to set 'POSIX' to '0' in RIFF.h.    If you don't have a POSIX system, you have to set 'POSIX' to '0' in RIFF.h.
48    Instead of using POSIX calls then standard C calls will be used for file    Instead of using POSIX calls then standard C calls will be used for file
49    access.    access. This applies e.g. to Windows systems. I would appreciate if
50      somebody sends me his MS Visual Studio / .NET, Borland C++ Builder or
51      Apple XCode project file! This might help others to conveniently compile
52      libgig on those platforms as well.
53    
54    Compiling
55    =========
56    
57      You can either compile the sources and install the library directly on
58      your system or you can create Redhat or Debian packages.
59    
60      a) Compiling and installing directly
61    
62      Call './configure && make' on the console to compile the library, all
63      tools and demo applications, documentation and install them with
64      'make install'. The latter has to be called as root.
65    
66      If you are compiling from CVS you have to call 'make -f Makefile.cvs'
67      to generate all autotools build files before calling
68      './configure && make'.
69    
70      You can use 'make distclean' and probably 'make -f Makefile.cvs clean'
71      to clean up everything again. The latter will also delete all automatic
72      generated autools build files.
73    
74  Compiling:    b) Creating Debian packages
 ==========  
  - Use 'CXXFLAGS=-pedantic ./configure && make all' to compile the library  
    and all tools and demo applications.  
75    
76   - Beside the actual library there are four applications:    Use 'dpkg-buildpackage -rfakeroot -b' to compile and create the Debian
77      packages. This will generate 3 Debian packages:
78    
79       gigdump:     Demo app that prints out the content of a .gig file.      libgig:      Contains the shared library files.
80       gigextract:  Extracts samples from a .gig file.      libgig-dev:  Contains the header files and documentation for building
81       dlsdump:     Demo app that prints out the content of a DLS file.                   applications using libgig.
82       rifftree:    Tool that prints out the RIFF tree of an arbitrary RIFF      gigtools:    Contains the tools and demo applications.
                   file.  
83    
84   - If you have Doxygen installed you can generate the API documentation by    You can use 'fakeroot debian/rules clean' to clean up everything again.
85     just running 'doxygen' in the sources' top level directory.  
86      c) Creating Redhat packages
87    
88      You need to have the rpmbuild tool installed and properly configured to
89      create RPM packages. To create the RPM packages do the following:
90    
91        * Get .spec file generated by ./configure and edit it as appropriate.
92    
93        * Copy the source tarball to "/usr/src/<rpmdir>/SOURCES" directory,
94          where <rpmdir> is dependent to the system you are using. For SuSE
95          <rmpdir> will be "packages", for Mandrake <rpmdir> is "RPM" and for
96          Redhat / Fedora <rpmdir> always equals "redhat".
97    
98        * Build the rpm(s) by invoking 'rpmbuild -bb <specfile>' from the
99          command line.
100    
101      On success, the resulting rpm(s) can usually be found under the proper
102      "/usr/src/<rpmdir>/RPMS/<arch>" directory.
103    
104    API Documentation
105    =================
106    
107   - 'make distclean' to clean up everything again   If you have Doxygen installed you can generate the API documentation by
108     running 'make docs' in the sources' top level directory. The API
109     documentation will be generated in the 'doc' subdirectory.
110    
111    Patches
112    =======
113      If you find bugs or have improvements, your patches are always welcome!
114      Send them either directly to me or to the LinuxSampler developer's mailing
115      list <linuxsampler-devel@lists.sourceforge.net>.
116    
117    Credits
118    =======
119      The initial library was based on the reverse engineering effort of
120      Paul Kellett and Ruben van Royen. We owe current support for the quite new
121      Gigasampler v3 format to Andreas Persson. Please also have a look at the
122      ChangeLog for all those who contributed. Thanks for your great work!
123    
124   Christian Schoenebeck <cuse@users.sourceforge.net>   Christian Schoenebeck <cuse@users.sourceforge.net>

Legend:
Removed from v.2  
changed lines
  Added in v.650

  ViewVC Help
Powered by ViewVC