ref: http://ubuntuforums.org/showpost.php?p=1714180
steps recorded:
1. install build env:
sudo apt-get install build-essential binutils cpp cpio dpkg-dev file gcc libc6-dev make patch perl dh-make debhelper devscripts fakeroot lintian
2. install all needed to build libid3
sudo apt-get build-dep libid3-3.8.3c2a
3. get sources
mkdir ~/build && cd build
apt-get source libid3-3.8.3c2a
4. edit the erring file:
vi id3lib3.8.3-3.8.3/src/io_helpers.cpp
change the line 368 from
unicode_t ch = (data[i] << 8) | data[i+1];
to
unicode_t ch = (static_cast<unsigned char>(data[i]) << 8) | static_cast<unsigned char>(data[i+1]);
5. change the debian package version
vi id3lib3.8.3-3.8.3/debian/changelog
change the version info of the first line, for
id3lib3.8.3 (3.8.3-5.1.0.0.jason.1) ...
6. build it !
cd id3lib3.8.3-3.8.3
dpkg-buildpackage -us -uc -rfakeroot
7. got the deb @ ~/build and install it...
2007-02-12
Easytag with unicode support
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment