Id3lib: Difference between revisions

From CBLFS
Jump to navigationJump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 3 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://prdownloads.sourceforge.net/easytag/patch_id3lib_{{Id3lib-Version}}_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
|}
|}


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 ../patch_id3lib_{{Id3lib-Version}}_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 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 ../patch_id3lib_{{Id3lib-Version}}_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:


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 67: Line 87:


  make install
  make install
== Contents ==
{|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 15: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

Retrieved from "?title=Id3lib&oldid=17511"