Package Details: lastfm 2.1.36-1

Git Clone URL: https://aur.archlinux.org/lastfm.git (read-only)
Package Base: lastfm
Description: The official Last.fm desktop application suite
Upstream URL: http://www.last.fm/
Licenses: GPL3
Conflicts: lastfm-git, lastfm-mpd-cli, lastfm-msk, lastfm-msk-light
Provides: lastfm
Submitter: fzerorubigd
Maintainer: fzerorubigd
Last Packager: fzerorubigd
Votes: 23
Popularity: 0.078117
First Submitted: 2013-02-09 08:42
Last Updated: 2016-03-16 08:55

Latest Comments

fzerorubigd commented on 2016-03-16 08:54

@rookiejet fixed. there is some change in ffmpeg library and the lastfm-descktop project is almost dead.

rookiejet commented on 2016-03-15 20:38

compilation error:

Fingerprinter/LAV_Source.cpp: In member function ‘uint8_t* LAV_SourcePrivate::decodeOneFrame(int&, int&, int&)’:
Fingerprinter/LAV_Source.cpp:103:49: error: ‘avcodec_alloc_frame’ was not declared in this scope
AVFrame *decodedFrame = avcodec_alloc_frame();
^
Fingerprinter/LAV_Source.cpp: In member function ‘void LAV_Source::release()’:
Fingerprinter/LAV_Source.cpp:387:62: error: ‘CODEC_ID_NONE’ was not declared in this scope
if ( d->inCodecContext && d->inCodecContext->codec_id != CODEC_ID_NONE )
^
Makefile:1789: recipe for target '_build/LAV_Source.o' failed

fzerorubigd commented on 2015-12-13 16:13

just update the version to force recompile it.

geo909 commented on 2014-09-23 14:29

When I try to install this package, I get the following:
[code]
Project ERROR: Package libgpod-1.0 not found
[/code]
I get this error even if I manually install libgpod..

jorge_barroso commented on 2014-07-13 14:55

@fzerorubigd if lastfm-git is installed, or lastfm is installed, the other one won't be able to be installed.
By the way, could you add the languajes pack, I don't know where should the go so I can't make you a PR but it would be great if you could find out how to upload the whole package :D thanks

jorge_barroso commented on 2014-07-13 14:53

@fzerorubigd if lastfm-git is installed, or lastfm is installed, the other one won't be able to be installed.
By the way, could you add the languajes pack, I don't know where should the go so I can't make you a PR but it would be great.

fzerorubigd commented on 2014-07-13 06:53

@jorge_barroso please suggest the conflicts package. and also a PR in github is much better :) thank you.
https://github.com/fzerorubigd/archlinux-packages

jorge_barroso commented on 2014-07-12 23:41

Could you add a "provides" and "conflicts" line to the PKGBUILD to avoid problems due to a current installation of another "lastfm" package? Thanks in advance

fzerorubigd commented on 2014-05-03 10:15

@ValHue thanks, fixed.

ValHue commented on 2014-05-03 08:14

phonon-vlc is obsolete, has been replaced by phonon-qt4-vlc, please update dependencies.

ValHue commented on 2014-05-03 08:13

phonon-vlc is obsolete, has been replaced by phono-qt4-vlc, please update dependencies.

fzerorubigd commented on 2014-02-04 05:54

Fix this bug with : https://github.com/lastfm/lastfm-desktop/pull/44

And also there is a git for this package here : https://github.com/fzerorubigd/archlinux-packages

evilgnome commented on 2014-02-04 03:02

Can anyone compile this with current versions of packages?

evilgnome commented on 2014-01-22 02:44

This fails to compile: http://pastebin.com/8inKPb7Q

firekage commented on 2013-11-17 04:11

I forgot to mention - i don't have to add "qmake-qt4 -r" because in aur, with this build it is already on it.

firekage commented on 2013-11-17 04:10

I'm still having problem with sub-app-client-make_default-ordered. I have installed qtwebkit, also i installed all qt5 "dependancies", also i have ffmpeg and so on, but i can't finish building of lastfm. Could somebody point me in a right direction? What i'm still missing?

ifschleife commented on 2013-10-12 15:23

Fixing the dependencies is not the only problem. I also switched to the lastfm releases that are found on github which are newer than the one from the official website which is used here. Hence the name lastfm-git.
The lastfm-git package does not need the glibfix patch anymore, I installed all files where they belong and I changed the startup shell script which set LD_LIBRARY_PATH for some dubious reason.

I don't know at which point a second package is warranted.
And again those changes could be integrated here, IF the maintainer wants to switch to lastfm's github releases.

acrox999 commented on 2013-10-12 15:17

Any missing dependencies can just be added into the PKGBUILD. The maintainer need to update the PKGBUILD himself.

And no, they can't be merged. Git versions can stay where it is at.

acrox999 commented on 2013-10-12 15:14

Any missing dependencies can just be added into the PKGBUILD. The maintainer need to update the PKGBUILD himself.

You don't need to upload a new package as it's not necessary at all.

acrox999 commented on 2013-10-12 15:03

Also, you're only supposed to create a 'git' version of a package if there's really a git repo of it, and in this case, an official one. You're free to set up and publish your own, however, if you're planning to update the codes yourself.

That's why we don't have any package for lastfm-git. But if you really do plan on updating the source codes, it'd be great. This application is far from complete. It doesn't detect any of my music players (VLC, mainly).

acrox999 commented on 2013-10-12 14:59

Any missing dependencies can just be added into the PKGBUILD, as everything is already defined in the code itself. The maintainer need to update the PKGBUILD himself.

Forking the whole code isn't necessary.

ifschleife commented on 2013-10-12 12:55

It didn't work for me because lastfm needs pulseaudio to run. So this is missing as a dependency as well. I've made my own package now which uses lastfm's latest release from github: https://aur.archlinux.org/packages/lastfm-git/

All package files can be found here: https://github.com/ifschleife/lastfm-git

Maybe these two could be merged? Or is this supposed to stay at the version that is released via lastfm's website?

fzerorubigd commented on 2013-10-11 11:12

@acrox999 thank you.

Updated with new patch and desktop entry

acrox999 commented on 2013-10-11 10:59

Updated PKGBUILD, plus patch and also 'desktop shortcut.'

PKGBUILD: http://nopaste.info/2f097400a3.html
LAV_Source_fix.patch: http://nopaste.info/17dce1c6cb.html
lastfm-scrobbler.desktop: http://nopaste.info/30d12a63c1.html

Maintainer (fzerorubigd), please update your package.

acrox999 commented on 2013-10-11 10:17

Some fixes for this package.

PKGBUILD: http://nopaste.info/45c420e579.html
LAV_Source_fix.patch: http://nopaste.info/192fdb751c.html

Maintainer (@fzerorubigd), please update the package or orphan it if you wish to not to do so anymore.

ifschleife commented on 2013-10-09 09:49

Thank you. So ffmpeg is missing as a build dependency. It's also missing the qtwebkit dependency.
After installing both I was now able to build and install the package with dront78's patch. I can start the program, log in and everything but I can't hear any music. Any ideas?

And why is it installing all files into /opt ?

ifschleife commented on 2013-10-09 09:41

Thank you. So ffmpeg is missing as a build dependency. It's also missing the qtwebkit dependency.
After installing both I was now able to build and install the package with dront78's patch. But when I try to start it nothing happens. It's running but does not open a window.

And why is it installing all files into /opt ?

Nattgew commented on 2013-10-09 00:55

I believe libavformat is provided by the ffmpeg package:
https://www.archlinux.org/packages/extra/i686/ffmpeg/files/

ifschleife commented on 2013-10-08 07:24

On a newly set up Archlinux system I can't even get so far as to add the patch by dront78.
Build fails with "Project ERROR: Package libavformat not found"
What package exactly does it want?

dront78 commented on 2013-09-22 14:28

compile could be fixed by patching
app/client/Fingerprinter/LAV_Source.cpp

replacing
AVCODEC_MAX_AUDIO_FRAME_SIZE
to
192000

source
http://www.mail-archive.com/arch-commits@archlinux.org/msg141328.html

Anonymous comment on 2013-09-01 19:08

Build fails (version 2.1.30-3)
http://pastebay.com/1290848

gourdcaptain commented on 2013-08-01 18:43

After updates today to ffmpeg-compat, this program crashes with the error:
bin/Last.fm Scrobbler: error while loading shared libraries: libavformat.so.54: cannot open shared object file: No such file or directory

It also won't build properly, resulting in the error:
Fingerprinter/LAV_Source.cpp:86:23: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
uint8_t outBuffer[AVCODEC_MAX_AUDIO_FRAME_SIZE*4];
^
Fingerprinter/LAV_Source.cpp:87:22: error: ‘AVCODEC_MAX_AUDIO_FRAME_SIZE’ was not declared in this scope
uint8_t overflow[AVCODEC_MAX_AUDIO_FRAME_SIZE*4];
^
Fingerprinter/LAV_Source.cpp: In member function ‘uint8_t* LAV_SourcePrivate::decodeOneFrame(int&, int&, int&)’:
Fingerprinter/LAV_Source.cpp:181:35: error: ‘outBuffer’ was not declared in this scope
uint8_t *pOutBuffer = outBuffer;
^
Fingerprinter/LAV_Source.cpp:275:12: error: ‘outBuffer’ was not declared in this scope
return outBuffer;
^
Fingerprinter/LAV_Source.cpp: In member function ‘virtual int LAV_Source::updateBuffer(short int*, size_t)’:
Fingerprinter/LAV_Source.cpp:478:29: error: ‘class LAV_SourcePrivate’ has no member named ‘overflow’
memcpy( pBuffer, d->overflow, d->overflowSize );
^
Fingerprinter/LAV_Source.cpp:499:24: error: ‘class LAV_SourcePrivate’ has no member named ‘overflow’
memcpy( d->overflow, out + bytesToBuffer, d->overflowSize);
^
make[1]: *** [_build/LAV_Source.o] Error 1

lz3060 commented on 2013-06-03 12:46

qtwebkit is another dependency.

Anonymous comment on 2013-05-08 13:15

I'm not sure if this happens with any other desktop environment but on Mate this package has to be manually added to the menu. - /usr/bin/lastfm-scrobbler

skogler commented on 2013-03-25 10:26

To make it work for people with both qt4 and qt installed,
change the line where it says

"qmake -r"
to
"qmake-qt4 -r"

skogler commented on 2013-03-25 10:25

To make it work for people with both qt4 and qt installed,
change the line where it says

"qmake -r" ...something
to
"qmake-qt4 -r" ...something

Anonymous comment on 2013-03-22 09:02

I'm getting the following error:

compiling MainWindow.cpp
MainWindow.cpp:33:20: fatal error: QWebView: No such file or directory
compilation terminated.
make[1]: *** [_build/MainWindow.o] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-andy/aur-lastfm/src/lastfm-desktop-2.1.30/app/client'
make: *** [sub-app-client-make_default-ordered] Error 2

morxa commented on 2013-03-02 14:24

Please change dependency to 'qt4' (https://www.archlinux.org/news/qt4-replaces-qt/)

py_crash commented on 2013-03-01 15:09

there's no more 'qt' package in [extra] so Please replace 'qt¡ with 'qt4' from the depends array.

stepo commented on 2013-02-13 17:32

The compilation ends with the following error:

uic Dialogs/ProxyDialog.ui
compiling AudioscrobblerSettings.cpp
compiling Application.cpp
Application.cpp: In constructor ‘audioscrobbler::Application::Application(int&, char**)’:
Application.cpp:116:14: error: ‘class lastfm::NetworkAccessManager’ has no member named ‘setUserProxy’
make[1]: *** [_build/Application.o] Error 1
make[1]: Leaving directory `/tmp/packerbuild-1000/lastfm/lastfm/src/lastfm-desktop-2.1.30/app/client'
make: *** [sub-app-client-make_default-ordered] Error 2

Anyone experiencing the same issue?

bwaynej commented on 2012-12-04 08:41

I have updated the PKGBUILD as well as updated the version, hope you enjoy

Hidi commented on 2012-11-18 12:20

Two things:

1. You don't need bsd2targz. I think it's more easy to use "ar x *.deb" to extract the files.

2. After installing i can't find a executable! No *.desktop-file to launch and so on.

Anonymous comment on 2012-10-26 08:45

Several questions: Why backup=('etc/yaourtrc') ? Why does it depend on pacman?! Looks like you used the PKGBUILD of yaourt and began modifying it for your package. It's ALWAYS better to use the official demo PKGBUILD files. You find those in the package "abs" in the folder /usr/share/pacman.

So please update your PKGBUILD!