Difference between revisions of "Id3lib"

From CBLFS
Jump to navigationJump to search
(Move patch to CLFS server, add contents.)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
|http://prdownloads.sourceforge.net/id3lib/id3lib-{{Id3lib-Version}}.tar.gz
+
|-
 +
| http://prdownloads.sourceforge.net/id3lib/id3lib-{{Id3lib-Version}}.tar.gz
 
|-
 
|-
 
!Optional patches:
 
!Optional patches:
|http://svn.cross-lfs.org/svn/repos/patches/id3lib-3.8.3-UTF16/id3lib-3.8.3-UTF16-writing-bug-1.patch
+
|-
 +
| http://svn.cross-lfs.org/svn/repos/patches/id3lib/id3lib-{{Id3lib-Version}}-UTF16_writing_bug-1.patch
 +
|-
 +
| http://svn.cross-lfs.org/svn/repos/patches/id3lib/id3lib-{{Id3lib-Version}}-GCC43FIX-1.patch
 
|}
 
|}
  
Line 16: Line 20:
 
== Non-Multilib ==
 
== Non-Multilib ==
  
First to choose if you are going to apply an optional patch that fix a UTF16 writing bug. If so:
+
Apply a patch that fixes a UTF16 writing bug:
  
  patch -Np1 -i ../id3lib-{{Id3lib-Version}}-UTF16-writing-bug-1.patch
+
  patch -Np1 -i ../id3lib-{{Id3lib-Version}}-UTF16_writing_bug-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
  
 +
sed -i "s@iomanip.h@iomanip@g" ./configure &&
 +
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-GCC43FIX-1.patch &&
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 31: Line 37:
 
== Multilib ==
 
== Multilib ==
  
First to choose if you are going to apply an optional patch that fix a UTF16 writing bug. If so:
+
=== 32Bit ===
  
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-UTF16-writing-bug-1.patch
+
Apply a patch that fixes a UTF16 writing bug:
  
=== 32Bit ===
+
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-UTF16_writing_bug-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
  
 +
sed -i "s@iomanip.h@iomanip@g" ./configure &&
 +
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-GCC43FIX-1.patch &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 47: Line 55:
 
   
 
   
 
=== N32 ===
 
=== N32 ===
 +
 +
Apply a patch that fixes a UTF16 writing bug:
 +
 +
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-UTF16_writing_bug-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
  
 +
sed -i "s@iomanip.h@iomanip@g" ./configure &&
 +
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-GCC43FIX-1.patch &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 58: Line 72:
 
   
 
   
 
=== 64Bit ===
 
=== 64Bit ===
 +
 +
Apply a patch that fixes a UTF16 writing bug:
 +
 +
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-UTF16_writing_bug-1.patch
  
 
Configure and compile the package:
 
Configure and compile the package:
  
 +
sed -i "s@iomanip.h@iomanip@g" ./configure &&
 +
patch -Np1 -i ../id3lib-{{Id3lib-Version}}-GCC43FIX-1.patch &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
Line 85: Line 105:
  
 
=== Short Description ===
 
=== Short Description ===
 +
 +
[[Category:Media Libraries]]

Latest revision as of 16:25, 19 March 2009

Download Source:
http://prdownloads.sourceforge.net/id3lib/id3lib-3.8.3.tar.gz
Optional patches:
http://svn.cross-lfs.org/svn/repos/patches/id3lib/id3lib-3.8.3-UTF16_writing_bug-1.patch
http://svn.cross-lfs.org/svn/repos/patches/id3lib/id3lib-3.8.3-GCC43FIX-1.patch

Introduction to Id3lib

Id3lib is a library for reading, writing and manipulating ID3v1 and ID3v2 tags.

Project Homepage: Unknown

Dependencies

Non-Multilib

Apply a patch that fixes a UTF16 writing bug:

patch -Np1 -i ../id3lib-3.8.3-UTF16_writing_bug-1.patch

Configure and compile the package:

sed -i "s@iomanip.h@iomanip@g" ./configure &&
patch -Np1 -i ../id3lib-3.8.3-GCC43FIX-1.patch &&
./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Apply a patch that fixes a UTF16 writing bug:

patch -Np1 -i ../id3lib-3.8.3-UTF16_writing_bug-1.patch

Configure and compile the package:

sed -i "s@iomanip.h@iomanip@g" ./configure &&
patch -Np1 -i ../id3lib-3.8.3-GCC43FIX-1.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Apply a patch that fixes a UTF16 writing bug:

patch -Np1 -i ../id3lib-3.8.3-UTF16_writing_bug-1.patch

Configure and compile the package:

sed -i "s@iomanip.h@iomanip@g" ./configure &&
patch -Np1 -i ../id3lib-3.8.3-GCC43FIX-1.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Apply a patch that fixes a UTF16 writing bug:

patch -Np1 -i ../id3lib-3.8.3-UTF16_writing_bug-1.patch

Configure and compile the package:

sed -i "s@iomanip.h@iomanip@g" ./configure &&
patch -Np1 -i ../id3lib-3.8.3-GCC43FIX-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Directories: /usr/include/id3, /usr/share/doc/id3lib-3.8.3
Installed Programs: id3info, id3cp, id3convert, id3tag
Installed Libraries: libid3.a, libid3.la, libid3-3.8.so.3.0.0
Symlinks: /usr/lib/libid3-3.8.so.3 -> libid3-3.8.so.3.0.0, /usr/lib/libid3.so -> libid3-3.8.so.3.0.0

Short Description