Difference between revisions of "Id3lib"

From CBLFS
Jump to navigationJump to search
 
 
(13 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/id3lib/id3lib-3.8.3.tar.gz
+
|-
 +
| http://prdownloads.sourceforge.net/id3lib/id3lib-{{Id3lib-Version}}.tar.gz
 
|-
 
|-
 
!Optional patches:
 
!Optional patches:
| http://prdownloads.sourceforge.net/easytag/patch_id3lib_3.8.3_UTF16_writing_bug.diff?download
+
|-
 +
| 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
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|Id3lib is a library for reading, writing and manipulating ID3v1 and ID3v2 tags.}}
  
 
== Dependencies ==
 
== Dependencies ==
Line 14: 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 patch_id3lib_3.8.3_UTF16_writing_bug.diff
+
  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 29: 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 patch_id3lib_3.8.3_UTF16_writing_bug.diff
+
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:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
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 &&
 
  make
 
  make
  
Line 45: 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:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
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 &&
 
  make
 
  make
  
Line 56: 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:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
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 &&
 
  make
 
  make
  
Line 66: Line 88:
 
  make install
 
  make install
  
*[[Audio/Media]]
+
== Contents ==
*[[Main Page]]
+
{|style="text-align: left"
 +
|-valign="top"
 +
!Installed Directories:
 +
|/usr/include/id3, /usr/share/doc/id3lib-{{Id3lib-Version}}
 +
|-valign="top"
 +
!Installed Programs:
 +
|id3info, id3cp, id3convert, id3tag
 +
|-valign="top"
 +
!Installed Libraries:
 +
|libid3.a, libid3.la, libid3-3.8.so.3.0.0
 +
|-valign="top"
 +
!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 ===
 +
 
 +
[[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