Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

  1. #11
    Join Date
    Nov 2007
    Location
    Okieville, USA
    Beans
    3,178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    I just install amarok14 from the PPA and it runs fine. I also have to install the missing dependancy (libmysqlclient15off_5.0.32-7etch12_amd64.deb). I'm running Maverick.

    Code:
    http://ppa.launchpad.net/bogdanb/amarok14/ubuntu jaunty main
    Key:

    Code:
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0x1d7e9dd033e89ba781e32a24b9f1c432ae74ae63
    Update and do:

    Code:
    sudo apt-get install amarok14
    Last edited by theozzlives; October 20th, 2010 at 09:02 PM.
    MCP, A+/Linux+ Certified IT Technician
    System Specs | Dress up your "Super Button" FREE
    "If sometimes you can't be good, then be VERY good at being naughty!"

  2. #12

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    mmm...
    changed the dependencies of ruby in the #1 switched from ruby-8 to ruby; should the distribution now choose the version...
    I think it's fine specifying the dependency packages - atm 1.8 is the default for all recent ubuntu releases so your orig. was good also.

    I'd mentioned to prev. poster using the dep packages just in case he'd used a higher version or outside ppa packages.

    There now is a ppa for mav. that offers the 1.9.2 as an 'alternative' which is quite convenient
    So for Ex.
    doug@doug-laptop:~$ sudo update-alternatives --config ruby
    There are 2 choices for the alternative ruby (providing /usr/bin/ruby).

    Selection Path Priority Status
    ------------------------------------------------------------
    0 /usr/bin/ruby1.9.2 400 auto mode
    1 /usr/bin/ruby1.8 200 manual mode
    * 2 /usr/bin/ruby1.9.2 400 manual mode
    Press enter to keep the current choice[*], or type selection number:
    Before building I switch back to 1.8 - the various dev's and libs themselves can coexist, if amarok or pana had an issue running w/ 1.9.2 then I'd keep 1.8 as default and switch to 1.9.2 as needed...
    Last edited by mc4man; October 20th, 2010 at 09:04 PM.

  3. #13
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by theozzlives View Post
    I just install amarok14 from the PPA and it runs fine. I also have to install the missing dependancy (libmysqlclient15off_5.0.32-7etch12_amd64.deb). I'm running Maverick.

    Code:
    http://ppa.launchpad.net/bogdanb/amarok14/ubuntu jaunty main
    Key:

    Code:
    sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0x1d7e9dd033e89ba781e32a24b9f1c432ae74ae63
    Update and do:

    Code:
    sudo apt-get install amarok14
    Hi ozz,
    but on this version there are some crucial aspects that does not work, like wikipedia and lastfm; that's why the sources must be patched.
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  4. #14
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Quote Originally Posted by mc4man View Post
    I think it's fine specifying the dependency packages - atm 1.8 is the default for all recent ubuntu releases so your orig. was good also.

    I'd mentioned to prev. poster using the dep packages just in case he'd used a higher version or outside ppa packages.

    There now is a ppa for mav. that offers the 1.9.2 as an 'alternative' which is quite convenient
    So for Ex.

    Before building I switch back to 1.8 - the various dev's and libs themselves can coexist, if amarok or pana had an issue running w/ 1.9.2 then I'd keep 1.8 as default and switch to 1.9.2 as needed...
    Thx macman,
    actually I don't use Mav at the moment, again thanks for sharing
    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

  5. #15
    Join Date
    Mar 2007
    Beans
    2

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Muchas gracias - Thank you so much

  6. #16

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Small note - for lyrics I've found this plugin script to work quite well with amarok 1.4
    http://kde-apps.org/content/show.php...content=116725

    Just dl and put in Documents folder, no need to extract
    amarok - tools - script manager - Install Script will find and install, Then just highlight and click 'run'.

  7. #17

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Just a note on 11.04 and amarok14 -
    While a bit early to say it definitely can be used, atm amarok builds and works fine.
    Unity is very incomplete so was a bit of a hassle to get pinned.
    There is no notification (systray) area, how that will shake out don't know.

    On the positive side everything I tried so far works, the osd works and amarok keeps it's taskbar instead of ending up on the static one at top of screen like alot of other media players (whatever that thing is called.
    Was able to add an application icon, though when using amarok the one below w/ no icon shows up (amarokapp). Amarok will minimize to unity thru that icon.

    Basically same build instructions though one small change to source was needed
    In amarok-1.4.10/amarok/src/osd.h this line (40), needed the red removed
    Code:
    void show( const QString &text, QImage newImage = QImage::QImage() );
    So atm have 2 oldies still going well, totem-xine and amarok 1.4, though i fear the end for either one or both may be approaching..

    Edit: gave the 'classic' desktop a try in natty - atm far superior for multimedia use
    Attached Images Attached Images
    Last edited by mc4man; December 3rd, 2010 at 05:54 AM.

  8. #18

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    This is a modified version from what's on pg.1 to be used on 11.10 (Oneiric
    It will require using 5 packages from natty that are no longer available in 11.10, for the MP4/AAC tag write support there will be 4 additional packages needed, that's optional & not required to use Amarok

    To prevent broken packages when installing the natty packages the build-dep list is much larger, some may already be installed, doesn't matter, run the full list
    Should work fine if ALL the steps are carefully followed, the 2 gcc patches are absolutely required as is the fix header, don't skip

    This is set up to use the same terminal for all, only command not included is the cd to folder holding the downloaded packages

    So install the build-deps -

    Code:
    sudo apt-get install libgpod-common libgpod-dev libgpod4  libxine-dev \
    libtag1-dev libsqlite3-dev libtunepimp-dev libmysqlclient-dev libpq-dev \
    libvisual-0.4-dev libsdl1.2-dev libifp-dev libxine1 libxine1-ffmpeg \
    build-essential checkinstall ruby ruby-dev libruby libltdl-dev libxmu-dev \
    libjpeg-dev libmng-dev libcups2-dev libart-2.0-dev libacl1-dev libattr1-dev libaspell-dev \
    libbz2-dev libjasper-dev libopenexr-dev libpcre3-dev liblualib50-dev \
    libsasl2-dev libtiff4-dev libxml2-dev  gettext-kde libxslt1-dev  kdelibs5-data \
    libavahi-common-dev qt3-dev-tools python-scour pkg-kde-tools kdesdk-scripts
    Get the required natty packages -

    Go to each one of these 5 links, pick your arch at the bottom of the page, (or all deb on 1) & download, put all the .debs in an empty folder
    You must get all 5

    http://packages.ubuntu.com/natty/kdelibs4c2a
    http://packages.ubuntu.com/natty/kdelibs4-dev
    http://packages.ubuntu.com/natty/kdelibs-data
    http://packages.ubuntu.com/natty/libavahi-qt3-dev
    http://packages.ubuntu.com/natty/libavahi-qt3-1

    Optional for MP4/AAC Tag Write Support (not required
    If using then as above, place in same folder

    http://packages.ubuntu.com/natty/libmp4v2-0
    http://packages.ubuntu.com/natty/libmp4v2-dev
    http://packages.ubuntu.com/natty/libmpeg4ip-dev
    http://packages.ubuntu.com/natty/libmpeg4ip-0

    Then cd to the folder containing the downloaded packages in the terminal & run
    Code:
    sudo dpkg -i *.deb
    There should be no issues, if for some reason there are then that must be resolved before continuing

    Get the amarok source
    Code:
    cd; mkdir amarok_build; cd amarok_build
    Code:
    wget http://download.kde.org/stable/amarok/1.4.10/src/amarok-1.4.10.tar.bz2 && \
    tar -xvf amarok-1.4.10.tar.bz2 && \
    cd amarok-1.4.10
    PATCH FIX THE CODE (fix for GCC, Cover Manager and Wikipedia lookup)

    Code:
    wget http://yep.it/savedpatch/amarok-1.4.10-gcc44.patch -O amarok-1.4.10-gcc44.patch && \
    patch -p1 < amarok-1.4.10-gcc44.patch
    Code:
    wget http://yep.it/savedpatch/amarok-1.4.10-covermanager-fix.patch -O amarok-1.4.10-covermanager-fix.patch && \
    patch -p1 < amarok-1.4.10-covermanager-fix.patch

    Code:
    wget http://yep.it/savedpatch/amarok-1.4.10-wikipedia.patch -O amarok-1.4.10-wikipedia.patch && \
    patch -p1 < amarok-1.4.10-wikipedia.patch
    Additional ggc-4.6 Patch
    Attached below is a new required patch, download, extract & place in the amarok-1.4.10 folder, then
    Code:
    patch -p1 < gcc46-fix.patch
    All patches should & must complete without error

    Fix a header -

    In the same terminal (still @ the amarok-1.4.10$ prompt
    Code:
    cd amarok/src; sed -i -e 's/QImage::QImage/QImage/g' osd.h
    Code:
    cd ../..
    Configure
    Pre-configure ruby check
    In 11.10 one can have both ruby-1.8 & ruby-1.9 installed. When building amarok the default ruby must be set to 1.8, it likely will run with either
    To check & set if need be
    Code:
    sudo update-alternatives --config ruby
    If it returns no alternatives then you are fine. If it returns a list make sure it's set to 1.8, either manual or auto, no matter
    Ex.
    sudo update-alternatives --config ruby
    [sudo] password for doug:
    There are 2 choices for the alternative ruby (providing /usr/bin/ruby).

    Selection Path Priority Status
    ------------------------------------------------------------
    0 /usr/bin/ruby1.8 50 auto mode
    * 1 /usr/bin/ruby1.8 50 manual mode
    2 /usr/bin/ruby1.9.1 10 manual mode

    Press enter to keep the current choice[*], or type selection number:
    In this case it's good, i'd press enter and proceed

    Edit:
    MTP support is not avail., if libmtp-dev is installed amarok will try to enable & the build will fail. Make sure it's not installed or if it is a --without-libmtp needs to be in the configure before the LDFlags=


    If NOT using the MP4 packages then use this
    Code:
    ./configure --without-arts --enable-mysql LDFLAGS='-lkdecore -lDCOP -lkdefx -lkparts'
    If using the MP4 packages then use this instead
    Code:
    ./configure --without-arts --with-mp4v2 --enable-mysql LDFLAGS='-lkdecore -lDCOP -lkdefx -lkparts'
    After a good configure then build
    Code:
    make
    Install with checkinstall, (the new terminal behavior in 11.10 is to stop the cursor from blinking after about 12 seconds - checkinstall will pause at least once - just wait & let it finish
    Code:
    sudo checkinstall --pkgname amarok14 --pkgversion 1.4 --backup=no \
    --default --deldoc=yes --deldesc=yes --delspec=yes --fstrans=no
    EDIT: -forgot something-
    Best to run this after install
    Code:
    sudo ldconfig

    Systray icon in unity
    Amarok works best with a systray icon, in unity 'Amarok' must be added to the systray whitelist
    This can be done thru a gsettings command or in dconf-editor
    For dconf-editor install
    Code:
    sudo apt-get install dconf-tools
    Then start with
    dconf-editor

    Can be found under desktop > unity > panel
    To add click in the edit box until it turns white, then at end of string add
    Code:
    ,'Amarok'
    To set Do Not click out with mouse, press enter on the keyboard
    A restart of unity will add
    The systray icon is less than ideal, I don't know how to fix, needs a trans background. If any finds how to, either pre or post build, that would be great

    There are some additional scripts, ect. at the end of post 1, refer to
    Have checked this on both i386 & amd64, should be fine, am going to do a fresh install tonight & will d. check
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by mc4man; October 23rd, 2011 at 09:18 AM. Reason: clean up spelling; no MTP, remove libmtp-dev if installed; Run a ldconfig after install

  9. #19
    Join Date
    Jan 2008
    Beans
    11

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    hi,
    i installed amarok on ubuntu 10.10 following the procedure of the first post...
    it seems fine, but i can't get musicbrainz plugin to work properly: i installed the libtunepimp5-mp3 library, but if i click on "fill-in tags using musicbrainz" it gets stuck on "generating audio fingerprint" and the cpu goes 100%.

    can anybody help me?

  10. #20
    Join Date
    Oct 2005
    Location
    Milano, Italy
    Beans
    871
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: How-To: Compile Amarok 1.4.10 in Ubuntu 10.04

    Hi mc4man,

    what about to use Trinity Desktop packages for Oneiric?
    http://www.trinitydesktop.org/installation.php#ubuntu

    I'm waiting them with Precise version in order to start again the "resurrection" of Amarok 1.4

    Unfortunately their version of Amarok 1.4 (amarok-trinity) do not have the precious patches proposed here, so we need to compile it from the sources.


    ------------------------------------------------
    yep ”short and long URL„
    http://yep.it/
    ------------------------------------------------

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •