1 MDB Installation Notes for FC3 (Draft)
4 The following packages are needed in order to compile MediaDatabase on your Linux box. All
5 packages are available in RPMs, so there should not be problem installing them.
9 3. The Configuration File Library (CFL) which could be found here http://www.nongnu.org/cfl/
10 4. GDSL - CFL needs GDSL library to work. GDSL could be found on http://www.nongnu.org/gdsl/
11 5. mysql-devel package
12 6. sqlite and sqlite-devel
14 MySQL-devel and SQLite packages are available for Fedora Core 3.
17 1.1 Setting up configuration file.
18 Copy the sample file from the src/ directory to your home folder.
20 Example: cp sample.conf ~/.mediadatabase
22 1.2 Setting up SQLite installation
23 To create the file execute:
24 sqlite /home/user/.media.db
26 To create the database
27 sqlite /home/lordross/.media.db < ../sql/mediadatabase-empty.sqlite
29 1.3 Setting up MySQL installation
30 Will not be documented for now
34 To fully run MDB you need to edit the configuration file for your user (see 1.1). The configuration will
35 be made from the file until the GTK configuration frontend is ready.
37 First you need to setup the mount, unmount and mount point options. Only one CD/DVD drive is
38 currently supported. They look like this:
40 mount = "/bin/mount /media/cdrecorder"
41 unmount = "/bin/umount /media/cdrecorder"
42 mountdir = "/media/cdrecorder"
44 Then you need to setup the database frontend. Uncomment the database you want to use:
46 # Which backend to use
50 For the SQLite database front end you need to properly setup the following lines.
53 dbfile = "/home/lordross/.media.db"
55 Note the full path for dbfile. Something like ~/.media.db will not work.
57 The dbfile is the file you created in 1.2.
68 1. GTK+ frontend currently only searches .png files in the directory where it resides.
69 2. MDB currently does not support adding AudioCDs.