ViewVC logotype

Contents of /libgig/trunk/README

Parent Directory Parent Directory | Revision Log Revision Log

Revision 530 - (show annotations) (download)
Mon May 9 14:09:16 2005 UTC (15 years, 5 months ago) by schoenebeck
File size: 4471 byte(s)
preparations for release 2.0.0

1 Content
2 =======
3 libgig actually consists of three parts:
5 - RIFF classes (RIFF.h, RIFF.cpp): Provides convenient methods to parse and
6 access arbitrary RIFF files.
7 - DLS classes (DLS.h, DLS.cpp): They're using the RIFF classes to parse
8 DLS (Downloadable Sounds) Level 1 and 2
9 files and provide abstract access to the
10 data.
11 - gig classes (gig.h, gig.cpp): These are based on the DLS classes and
12 provide the necessary extensions for
13 the Gigasampler file format.
15 Requirements
16 ============
17 I simply used automake & co this time so you will need to have automake,
18 autoconf and libtool installed. I used the following versions:
20 automake 1.6.3
21 autoconf 2.57
23 If you want to compile the 'gigextract' application that comes with these
24 sources then you will additionally need to have libaudiofile (>= 0.2.3)
25 or libsndfile (>= 1.0.2) installed. Note: for Windows systems only
26 libsndfile is available.
28 Non-POSIX systems
29 =================
30 If you don't have a POSIX system, you have to set 'POSIX' to '0' in RIFF.h.
31 Instead of using POSIX calls then standard C calls will be used for file
32 access. This applies e.g. to Windows systems. I would appreciate if
33 somebody sends me his MS Visual Studio / .NET, Borland C++ Builder or
34 Apple XCode project file! This might help others to conveniently compile
35 libgig on those platforms as well.
37 Compiling
38 =========
40 You can either compile the sources and install the library directly on
41 your system or you can create Redhat or Debian packages.
43 a) Compiling and installing directly
45 Use 'make -f Makefile.cvs && ./configure && make' to compile the library,
46 all tools, demo applications, documentation and install them with
47 'make install'. You can use 'make distclean && make -f Makefile.cvs clean'
48 to clean up everything again.
50 b) Creating Debian packages
52 Use 'make -f Makefile.cvs && dpkg-buildpackage -rfakeroot -b' to compile
53 and create the Debian packages. This will generate 3 Debian packages:
55 libgig: Contains the shared library files.
56 libgig-dev: Contains the header files and documentation for building
57 applications using libgig.
58 gigtools: Contains the tools and demo applications.
60 You can use 'fakeroot debian/rules clean && make -f Makefile.cvs clean'
61 to clean up everything again.
63 c) Creating Redhat packages
65 You need to have the rpmbuild tool installed and properly configured to
66 create RPM packages. To create the RPM packages do the following:
68 * Get .spec file generated by ./configure and edit it as appropriate.
70 * Copy the source tarball to "/usr/src/<rpmdir>/SOURCES" directory,
71 where <rpmdir> is dependent to the system you are using. For SuSE
72 <rmpdir> will be "packages", for Mandrake <rpmdir> is "RPM" and for
73 Redhat / Fedora <rpmdir> always equals "redhat".
75 * Build the rpm(s) by invoking 'rpmbuild -bb <specfile>' from the
76 command line.
78 On success, the resulting rpm(s) can usually be found under the proper
79 "/usr/src/<rpmdir>/RPMS/<arch>" directory.
81 Tools
82 =====
84 Beside the actual library there are four applications:
86 gigdump: Demo app that prints out the content of a .gig file.
87 gigextract: Extracts samples from a .gig file.
88 dlsdump: Demo app that prints out the content of a DLS file.
89 rifftree: Tool that prints out the RIFF tree of an arbitrary RIFF
90 file.
92 API Documentation
93 =================
95 If you have Doxygen installed you can generate the API documentation by
96 running 'make docs' in the sources' top level directory. The API
97 documentation will be generated in the 'doc' subdirectory.
99 Patches
100 =======
101 If you find bugs or have improvements, your patches are always welcome!
102 Send them either directly to me or to the LinuxSampler developer's mailing
103 list <linuxsampler-devel@lists.sourceforge.net>.
105 Credits
106 =======
107 The initial library was based on the reverse engineering effort of
108 Paul Kellett and Ruben van Royen. We owe current support for the quite new
109 Gigasampler v3 format to Andreas Persson. Please also have a look at the
110 ChangeLog for all those who contributed. Thanks for your great work!
112 Christian Schoenebeck <cuse@users.sourceforge.net>

  ViewVC Help
Powered by ViewVC