[arch-general] Amarok 2.2rc1
Amarok 2.2 rc1 was released today. It needs taglib 1.6 with asf support. I tried to build taglib 1.6, using this patch to add ASF support : --- CMakeLists.txt 2009-09-08 10:52:57.000000000 +0200 +++ CMakeLists2.txt 2009-09-23 18:43:12.767847589 +0200 @@ -8,8 +8,8 @@ OPTION(BUILD_EXAMPLES "Build the examples" OFF) OPTION(NO_ITUNES_HACKS "Disable workarounds for iTunes bugs" OFF) -OPTION(WITH_ASF "Enable ASF tag reading/writing code" OFF) -OPTION(WITH_MP4 "Enable MP4 tag reading/writing code" OFF) +OPTION(WITH_ASF "Enable ASF tag reading/writing code" ON) +OPTION(WITH_MP4 "Enable MP4 tag reading/writing code" ON) add_definitions(-DHAVE_CONFIG_H) After building an ASF enabled taglib 1.6 and installing it, Amarok is still not being built : Début de la compilation... mkdir: ne peut créer le répertoire `build': Le fichier existe -- Taglib found: -L/usr/lib -ltag CMake Error at CMakeLists.txt:27 (message): TagLib does not have ASF support compiled in. What to do to get Amarok 2.2 rc1 and of course 2.2 final on archlinux ? -- Frederic Bezies fredbezies@gmail.com
On 23/09/2009 18:49, Frederic Bezies wrote:
Amarok 2.2 rc1 was released today.
It needs taglib 1.6 with asf support.
I tried to build taglib 1.6, using this patch to add ASF support :
--- CMakeLists.txt 2009-09-08 10:52:57.000000000 +0200 +++ CMakeLists2.txt 2009-09-23 18:43:12.767847589 +0200 @@ -8,8 +8,8 @@ OPTION(BUILD_EXAMPLES "Build the examples" OFF)
OPTION(NO_ITUNES_HACKS "Disable workarounds for iTunes bugs" OFF) -OPTION(WITH_ASF "Enable ASF tag reading/writing code" OFF) -OPTION(WITH_MP4 "Enable MP4 tag reading/writing code" OFF) +OPTION(WITH_ASF "Enable ASF tag reading/writing code" ON) +OPTION(WITH_MP4 "Enable MP4 tag reading/writing code" ON)
add_definitions(-DHAVE_CONFIG_H)
After building an ASF enabled taglib 1.6 and installing it, Amarok is still not being built :
Début de la compilation... mkdir: ne peut créer le répertoire `build': Le fichier existe -- Taglib found: -L/usr/lib -ltag CMake Error at CMakeLists.txt:27 (message): TagLib does not have ASF support compiled in.
What to do to get Amarok 2.2 rc1 and of course 2.2 final on archlinux ?
Looks like I found the answer with taglib-svn aur package : "Comment by: amirs on Wed, 23 Sep 2009 08:31:30 +0000 needs "-DWITH_MP4=ON -DWITH_ASF=ON" for it to work amarok 2.2rc1" Will try this and report it to see if it works for me ;) -- Frederic Bezies - fredbezies@gmail.com
On 23/09/2009 18:49, Frederic Bezies wrote:
Amarok 2.2 rc1 was released today.
It needs taglib 1.6 with asf support.
I tried to build taglib 1.6, using this patch to add ASF support :
--- CMakeLists.txt 2009-09-08 10:52:57.000000000 +0200 +++ CMakeLists2.txt 2009-09-23 18:43:12.767847589 +0200 @@ -8,8 +8,8 @@ OPTION(BUILD_EXAMPLES "Build the examples" OFF)
OPTION(NO_ITUNES_HACKS "Disable workarounds for iTunes bugs" OFF) -OPTION(WITH_ASF "Enable ASF tag reading/writing code" OFF) -OPTION(WITH_MP4 "Enable MP4 tag reading/writing code" OFF) +OPTION(WITH_ASF "Enable ASF tag reading/writing code" ON) +OPTION(WITH_MP4 "Enable MP4 tag reading/writing code" ON)
add_definitions(-DHAVE_CONFIG_H)
After building an ASF enabled taglib 1.6 and installing it, Amarok is still not being built :
Début de la compilation... mkdir: ne peut créer le répertoire `build': Le fichier existe -- Taglib found: -L/usr/lib -ltag CMake Error at CMakeLists.txt:27 (message): TagLib does not have ASF support compiled in.
What to do to get Amarok 2.2 rc1 and of course 2.2 final on archlinux ?
I have amarok successfully built. Need to build 3 packages : Taglib 1.5 => 1.6 Taglib-extras 0.1.7 => 1.0.1 And of course amarok. Here are modified PKGBUILD that worked for me : 1) Taglib : # $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=taglib pkgver=1.6 pkgrel=1 pkgdesc="library for reading and editing the meta-data of several popular audio formats." arch=('i686' 'x86_64') url="http://ktown.kde.org/~wheeler/taglib.html" license=('GPL2') depends=('zlib' 'gcc-libs') makedepends=('cmake' 'pkgconfig') # svn snapshot: svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib source=(http://ktown.kde.org/~wheeler/files/src/taglib-$pkgver.tar.gz #ftp://ftp.archlinux.org/other/kde/$pkgname-$pkgver.tar.bz2 #http://belnet.dl.sourceforge.net/sourceforge/soprano/soprano-1.97.1-beta4.ta... ) options=(!libtool) build() { # start building cd $startdir/src/$pkgname-$pkgver cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DWITH_MP4=ON -DWITH_ASF=ON make VERBOSE=1 || return 1 make DESTDIR=$startdir/pkg install || return 1 } md5sums=('5ecad0816e586a954bd676a86237d054') 2) Taglib-extras : # $Id$ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> pkgname=taglib-extras pkgver=1.0.1 pkgrel=1 pkgdesc="Additional taglib plugins for KDE" arch=("i686" "x86_64") url="http://developer.kde.org/~wheeler/taglib.html" license=('LGPL') depends=('taglib>=1.5') makedepends=('pkgconfig' 'cmake' 'automoc4') source=(http://www.kollide.net/~jefferai/${pkgname}-${pkgver}.tar.gz) build() { cd $srcdir/$pkgname-$pkgver mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON || return 1 make || return 1 make DESTDIR=$pkgdir install } md5sums=('e973ca609b18e2c03c147ff9fd9e6eb8') 3) Amarok : # $Id: PKGBUILD 52359 2009-09-18 19:49:27Z giovanni $ # Contributor: damir <damir@archlinux.org> pkgname=amarok replaces=('amarok-base' 'amarok-engine-xine' 'amarok-base-mysqlfree') pkgver=2.1.90 pkgrel=1 pkgdesc="A media player for KDE" arch=("i686" "x86_64") url="http://amarok.kde.org" license=('GPL2' 'LGPL2' 'FDL') depends=('mysql>=5.1.37' 'kdebase-runtime>=4.3' 'libmtp>=0.3.7' 'libgpod>=0.7.2' 'libmp4v2' 'qtscriptgenerator>=0.1.0' 'taglib-extras>=0.1.7' 'liblastfm>=0.3.0' 'loudmouth>=1.4.3' 'hicolor-icon-theme') makedepends=('pkgconfig' 'automoc4' 'cmake') install=amarok.install source=("http://download.kde.org/unstable/${pkgname}/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2") md5sums=('ec727ed72c5d371fb659ce0c3c1e6136') build() { cd ${srcdir} mkdir build cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \ -DCMAKE_INSTALL_PREFIX=/usr make || return 1 make DESTDIR=${pkgdir} install || return 1 } Good build time ;) Hope it helps. -- Frederic Bezies - fredbezies@gmail.com
On 23/09/2009, Frederic Bezies <fredbezies@gmail.com> wrote:
Amarok 2.2 rc1 was released today.
It needs taglib 1.6 with asf support.
I tried to build taglib 1.6, using this patch to add ASF support : I am building amarok 2.1.90 now, and I am using taglib-1.6 with ASF support and taglib-extras-1.0.1 how devs wrote on Amarok's changelog. Thanks for your work.
-- Andrea `bash` Scarpino Arch Linux Developer
participants (2)
-
Andrea Scarpino
-
Frederic Bezies