Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 8e5f7ea451819265a666feec8bc92654 > files > 6

easytag-0.17-1mdk.i586.rpm

###################################
#                                 #
# INSTALL file for EasyTag-0.15.5 #
#                                 #
###################################
Last update: 2001/12/18


1.Requirements:
===============

 - GTK version highter than 1.2.7 (http://www.gtk.org)
 - 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
 - autoconf and automake
 - 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 id3'
          if all is ok, it'll return lines like this:
             libid3.so (libc6) => /usr/local/lib/libid3.so
             libid3-3.7.so.13 (libc6) => /usr/local/lib/libid3-3.7.so.13 )

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)

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.