################################### # # # INSTALL file for EasyTag-0.21.1 # # # ################################### Last update: 2002/07/04 1.Requirements: =============== - GTK version highter than 1.2.7 (http://www.gtk.org) (Recommended: gtk+-1.2.10) - id3lib version highter than 3.7.12 (http://id3lib.sourceforge.net) (Recommended: id3lib-3.8.0pre2) - libogg and libvorbis (http://www.vorbis.com) (if not desactivated by './configure --disable-ogg') - libc 6 (glibc 2.1) or better - gettext (if not desactivated by './configure --disable-nls') 2.Compilation Instructions: =========================== 2.1. Before to compile EasyTAG you need to install some librairies. 2.1.1. To install id3lib : - recompile sources of id3lib (id3lib-3.x.x.tar.gz) (Recommended), - or install id3lib-3.x.x.i386.rpm and id3lib-devel-3.x.x.i386.rpm then run the command 'ldconfig' to update shared library symlinks. (Nota: to see if links have been updated, run the command 'ldconfig -p|grep libid3' if all is ok, it'll return lines like this: libid3.so (libc6) => /usr/lib/libid3.so libid3-3.8.so.0 (libc6) => /usr/lib/libid3-3.8.so.0 ) 2.1.2. To install libogg and libvorbis : Follow the same procedure as id3lib with the following packages : - http://vorbis.com/files/rc2/unix/libogg-1.0rc2.tar.gz - http://vorbis.com/files/rc2/unix/libogg-1.0rc2-2.i386.rpm - http://vorbis.com/files/rc2/unix/libogg-devel-1.0rc2-2.i386.rpm - http://vorbis.com/files/rc2/unix/libvorbis-1.0rc2.tar.gz - http://vorbis.com/files/rc2/unix/libvorbis-1.0rc2-2.i386.rpm - http://vorbis.com/files/rc2/unix/libvorbis-devel-1.0rc2-2.i386.rpm 2.2. Unpack the sources of EasyTAG with > tar xfvz easytag-x.y.z.tar.gz (x.y.z represents the version of package) 2.3. Change into the new directory > cd easytag-x.y.z/ 2.4. If you haven't gettext, edit Makefile and comment the line 'NLS=-DENABLE_NLS' by adding '#' at the beginning of this line. 2.5. Compile and install the program > ./configure > make # make install (You need root privileges) Notes : - If you want to compile EasyTAG with gcc3.x, you MUST install a version of id3lib compiled with the same version of the compiler. - If you have the both versions of gcc installed (2.9x and 3.x), use the command './configure CC=gcc3' for compiling with gcc3. You may now run the program by simply typing "easytag". (Of course the directory in which you installed it (usually /usr/local/bin) has to be in your PATH) 3.RPM Building Instructions (RedHat 6.x 7.x): ============================================= If you prefer manipulate a RPM, you can build it with the following commands: 3.1. Build the RPM # rpm -tb easytag-x.y.z.tar.gz or # rpm --rebuild easytag-x.y.z.src.rpm or copy easytag-x.y.z.tar.gz into directory /usr/src/redhat/SOURCES, get easytag.spec into tarball, and run: # rpm -bb easytag.spec 3.2. If succeed, you will found the rpm in /usr/src/redhat/RPM/i386/ 4.Addind a new translation file to EasyTAG: =========================================== All catalogs are placed into po/ directory and are named as the following: fr.po for France, de.po for Germany, and so on. The catalogs which will be compiled with EasyTAG are set into configure.in file, into field ALL_LINGUAS. If you have created a new translation file for your location, and want to test it, add the corresponding code (xx for file xx.po) to this field. Then run the script: ./autogen.sh before to recompile program (see instructions of paragraph 2). 5.Applying a patch: =================== 1. Unpack the sources, 2. Go into the directory where you unpack sources (the parent directory of easytag-x.y.z directory) 3. Put the patch file in this directory 4. Apply the patch: for example: > cat patch-0.4-0.4a | patch -p0 (if patch file was named: patch-0.4-0.4a) (Note: the pacth file (of above example) is a diff file made with command: diff -ruN easytag-0.4/ easytag-0.4a/ > patch-0.4-0.4a in the directory where are locate easytag-0.4 and easytag-0.4a directories) 5. Recompile program.