At december 21, 2006 package media-libs/gdk-pixbuf was removed from portage (due to gnome 1 removal). Sadly, this was also the end to artwork support for iPods, since media-libs/libgpod (library that supports ipods on linux) uses gdk-pixbuf to manipulate images. The solution to get artwork work again with iPod is to get back gdk-pixbuf on your system:
1) Create portage overlay (if you dont have it already). Add
Code: Select all
PORTDIR_OVERLAY="/usr/local/portage/"
Code: Select all
/usr/local/portage/
/usr/local/portage/media-libs/
/usr/local/portage/media-libs/gdk-pixbuf/
/usr/local/portage/media-libs/gdk-pixbuf/files/
Code: Select all
cd /usr/local/portage/media-libs/gdk-pixbuf
wget http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-libs/gdk-pixbuf/gdk-pixbuf-0.22.0-r5.ebuild?rev=1.6
Code: Select all
gdk-pixbuf-0.22.0-bmp_reject_corrupt.patch gdk-pixbuf-0.22.0-loaders.patch
gdk-pixbuf-0.22.0-bmp_secure.patch gdk-pixbuf-0.22.0-m4.patch
Code: Select all
>=gnome-base/gnome-libs-1.4.1.2-r1"
Code: Select all
RDEPEND="media-libs/jpeg
media-libs/tiff
=x11-libs/gtk+-1.2*
>=media-libs/libpng-1.2.1
amd64? ( sys-libs/db )
!amd64? ( <sys-libs/db-2 )"
# >=gnome-base/gnome-libs-1.4.1.2-r1"
5) libgpod ebuild present in portage patches out use of gdk-pixbuf. We need to fix that. Edit /usr/portage/media-libs/libgpod/libgpod-0.4.0.ebuild removing line:
Code: Select all
epatch ${FILESDIR}/libgpod-0.4.0-test-nogdk.patch
7) Reemerge libgpod and amarok. Make sure libgpod has gtk useflag turned on. Amarok should have ipod useflag obviously.
8 ) After succesfull emerge you need to do one more, important thing. Mount your iPod (I've mounted mine at /media/ipod directory). Use gtkpod (app-pda/gtkpod) to setup /media/ipod/iPod_Control/Device/SysInfo file on your iPod (this file is used by libgpod to determine which iPod model is connected). After this step /media/ipod/iPod_Control/Device/SysInfo file should look like
Code: Select all
ModelNumStr: xA426
9) Go to amarok. Mount your ipod. Right click on ipod dir structure in amarok, choose "Fix iPod->Refresh album art". After you disconnect your ipod you should see album covers when playing on ipod.
Cheers,
tmf



