Package Details: clementine-git 1.3.1.r235.ge5ab3e7-1

Git Clone URL: https://aur.archlinux.org/clementine-git.git (read-only)
Package Base: clementine-git
Description: A modern music player and library organizer
Upstream URL: http://www.clementine-player.org/
Licenses: GPL
Submitter: archdria
Maintainer: eduardosm
Last Packager: eduardosm
Votes: 78
Popularity: 1.541742
First Submitted: 2011-07-19 22:38
Last Updated: 2016-09-15 21:53

Dependencies (34)

Required by (0)

Sources (1)

Latest Comments

xiong.chiamiov commented on 2016-02-29 23:22

1.3 RC shouldn't matter, since this package builds from git HEAD. The version number is autogenerated from git-describe.

varlesh commented on 2016-02-06 21:11

1.3 RC version?
https://github.com/clementine-player/Clementine/releases/tag/1.3rc1

NOTtheMessiah commented on 2016-01-16 09:01

I'm getting issues when I try to compile with protobuf3:

../libclementine-tagreader/liblibclementine-tagreader.a(tagreader.cpp.o):tagreader.cpp:(.text+0x3861): more undefined references to `google::protobuf::internal::empty_string_[abi:cxx11]' follow
collect2: error: ld returned 1 exit status
ext/clementine-tagreader/CMakeFiles/clementine-tagreader.dir/build.make:159: recipe for target 'clementine-tagreader' failed
make[2]: *** [clementine-tagreader] Error 1
CMakeFiles/Makefile2:2293: recipe for target 'ext/clementine-tagreader/CMakeFiles/clementine-tagreader.dir/all' failed
make[1]: *** [ext/clementine-tagreader/CMakeFiles/clementine-tagreader.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

xiong.chiamiov commented on 2015-12-17 17:33

To get this working with Spotify, I had to pull the protobuf PKGBUILD out of ABS and add options=('staticlibs') to prevent it from stripping the static library that clementine wants.

Chocobozzz commented on 2015-05-05 10:18

The hack is not needed anymore, fixed in the master branch (https://github.com/clementine-player/Clementine/commit/082a1d3e94aee5deaef639cfc8f57348570816d0) :)

archdria commented on 2015-04-29 19:27

Updated, thanks :)

post-factum commented on 2015-04-29 18:32

Consider adding the following command to PKGBUILD (before calling make) to fix crypto++ issue:

===
sed -i 's/crypto++/cryptopp/g' ${srcdir}/Clementine/src/internet/spotify/spotifyblobdownloader.cpp
===

ryuzy commented on 2015-04-29 08:24

I think in src/internet/spotify/spotifyblobdownloader.cpp
#include <crypto++/pkcspad.h>
#include <crypto++/rsa.h>

Should be edited to:
#include <cryptopp/pkcspad.h>
#include <cryptopp/rsa.h>

ryuzy commented on 2015-04-29 08:17

I'm receiving this error:
/tmp/yaourt-tmp-ryuzaki/aur-clementine-git/src/Clementine/src/internet/spotify/spotifyblobdownloader.cpp:42:30: fatal error: crypto++/pkcspad.h: No such file or directory
#include <crypto++/pkcspad.h>
^
compilation terminated.
src/CMakeFiles/clementine_lib.dir/build.make:11347: recipe for target 'src/CMakeFiles/clementine_lib.dir/internet/spotify/spotifyblobdownloader.cpp.o' failed
make[2]: *** [src/CMakeFiles/clementine_lib.dir/internet/spotify/spotifyblobdownloader.cpp.o] Error 1

Am I the only one?

archdria commented on 2015-04-29 07:51

Updated dependencies :)

Chocobozzz commented on 2015-04-29 07:42

Yes QCA is replaced by crypto++

fettouhi commented on 2015-04-28 20:10

Seems like in order to build Clementine from git now you need crypto++ installed.

infernion commented on 2015-04-11 14:26

For add Vkontakte social network plugin need to add « -DENABLE_VK=ON \ » flag to « cmake "../Clementine" \ »

infernion commented on 2015-04-11 14:25

For add Vkontakte social network plugin need to add « -DENABLE_BOX=OFF \ » flag to « cmake "../Clementine" \ »

AlfredoRamos commented on 2015-02-20 22:22

@drog you need to install gst-plugins-bad, see optional dependencies.

drog commented on 2015-02-19 14:02

when i run clementine in terminal throws the next warning:
(gst-plugin-scanner:5419): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstkate.so': libkate.so.1: cannot open shared object file: No such file or directory
Maybe libkate must be a dependency (?)

archdria commented on 2015-02-11 07:44

@AbaddonOrmuz, fixed. Thank you!

AlfredoRamos commented on 2015-02-11 00:24

Can't compile without libechonest [1]

----------------
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ECHONEST_INCLUDE_DIRS
used as include directory in directory /tmp/yaourt-tmp-abaddon/aur-clementine-git/src/Clementine/src
used as include directory in directory /tmp/yaourt-tmp-abaddon/aur-clementine-git/src/Clementine/src
ECHONEST_LIBRARIES
linked by target "clementine_lib" in directory /tmp/yaourt-tmp-abaddon/aur-clementine-git/src/Clementine/src
_______
[1] https://aur.archlinux.org/packages/libechonest/

lycurgus commented on 2014-10-11 21:55

Apparently the master branch has been updated to use gstreamer 1.0, dependencies need an update to reflect it. I assume gst0.10 is not required anymore but a check is probably in order.

jdarnold commented on 2014-09-28 14:00

ffmpeg updated recently, so you probably have to "update" this package to rebuild it and get the new ffmpeg.

MightyPork commented on 2014-09-28 13:48

I keep getting this error (worked fine yesterday).

clementine: error while loading shared libraries: libavcodec.so.56: cannot open shared object file: No such file or directory

dumphblooz commented on 2014-02-02 14:00

Please, add russian lnaguage!

Knah-Tsaeb commented on 2014-01-22 10:28

Clementine require libcdio.so.14 but libcdio.so.15 are installed. I try to make symlink but clementine say "clementine: /usr/lib/libcdio.so.14: version `CDIO_14' not found (required by clementine)".

archdria commented on 2014-01-07 15:49

Updated, thanks :)

M0Rf30 commented on 2014-01-07 15:18

Code moved to github ;D

lockheed commented on 2013-11-28 08:32

I keep getting this error even though I have ffmpeg:

clementine: error while loading shared libraries: libavcodec.so.54: cannot open shared object file: No such file or directory

ogghi commented on 2013-10-09 09:32

@TZ86, thanks for the hint with /etc/makepkg.conf :)

TZ86 commented on 2013-10-09 08:28

I think 'libgpod' can be removed from depends. Also may you move 'libmtp' and 'sparsehash' (which need only for the support of Dropbox, SkyDrive, Google Drive etc.) to makedepends & optdepends?

@ogghi
Just look into /etc/makepkg.conf.

ogghi commented on 2013-09-16 21:47

Here my patch to do so: On my machine it's building using all 4 cores, almost 1/4 the time ;)
http://pastebin.com/b3xAUzWF

ogghi commented on 2013-09-14 08:29

I'm just building this...and 1 idea: Wouldn't it be much faster if we include a nproc var to make on all available cores?

snuo commented on 2013-07-24 19:01

Not sure why gtest was added. Clementine builds perfectly fine without it installed, with no difference in features.
Also, the earlier build error with imobiledevice support has been patched as well, so no workaround is needed.

M0Rf30 commented on 2013-06-16 17:33

and update the PKGBUILD using the new VCS guidelines.thx

M0Rf30 commented on 2013-06-16 17:32

please add gtest as dep (not sure if as makedep)

snuo commented on 2013-05-21 10:28

Killing Apple iDevice transfer support wont affect Android support, and definitely not the remote component, which is totally separate. Maybe I'm misinterperting?

snuo commented on 2013-05-21 10:26

Killing Apple iDevice support wont affect Android support, and definitely not the remote component, which is totally separate. Myabe I'm misinterperting?

Anonymous comment on 2013-05-17 22:43

Thank you snuo. The problem is that I'm trying to use the git version especially for the mobile device. I need it to use clementine-remote.

snuo commented on 2013-05-17 04:36

To bypass the build-breaking portion (imobiledeviceconnection.cpp) you can disable iDevice support. Just add -DENABLE_IMOBILEDEVICE=OFF to the cmake arguments right before the Spotify flag.

-DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF
becomes
-DENABLE_IMOBILEDEVICE=OFF -DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF

snuo commented on 2013-05-17 04:18

To bypass the build-breaking portion (imobiledeviceconnection.cpp) you can disable iDevice support. Just add -DENABLE_IMOBILEDEVICE=OFF to the cmake arguments right before the Spotify flag.

-DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF
becomes
-DENABLE_IMOBILEDEVICE=OFF -DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF

Anonymous comment on 2013-05-14 12:42

No, it doesn't work yet.

build() {
cd "${srcdir}"
msg "Connecting to GIT server...."

if [[ -d "${_gitname}" ]]; then
cd "${_gitname}" && git pull origin
msg "The local files are updated."
else
git clone "${_gitroot}" "${_gitname}"
fi

msg "GIT checkout done or server timeout"
msg "Starting build..."

rm -rf "${srcdir}/${_gitname}-build"
git clone "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
cd "${srcdir}/${_gitname}-build"

sed -i 's/-Werror//g' src/CMakeLists.txt

cmake . -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
-DCMAKE_INSTALL_PREFIX=/usr -DBUILDBOT_REVISION=${pkgver} \
-DENABLE_SPOTIFY=OFF -DENABLE_SPOTIFY_BLOB=OFF #-DENABLE_GIO=OFF
make
}

chenxiaolong commented on 2013-05-13 16:23

Hi ph11,

I just took a look at the build scripts. Adding this line before the cmake line should get things building again :)

sed -i 's/-Werror//g' src/CMakeLists.txt

Anonymous comment on 2013-05-12 21:30

Hi chenxiaolong,

Then, I've got this :

[ 75%] Building CXX object src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp: In constructor ‘iMobileDeviceConnection::iMobileDeviceConnection(const QString&)’:
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:46:79: erreur: cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘lockdownd_service_descriptor**’ for argument ‘3’ to ‘lockdownd_error_t lockdownd_start_service(lockdownd_client_t, const char*, lockdownd_service_descriptor**)’
lockdown_err = lockdownd_start_service(lockdown, "com.apple.afc", &afc_port_);
^
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:53:65: erreur: invalid conversion from ‘uint16_t {aka short unsigned int}’ to ‘lockdownd_service_descriptor_t {aka lockdownd_service_descriptor*}’ [-fpermissive]
afc_error_t afc_err = afc_client_new(device_, afc_port_, &afc_);
^
In file included from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.h:23:0,
from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:18:
/usr/include/libimobiledevice/afc.h:96:13: erreur: initializing argument 2 of ‘afc_error_t afc_client_new(idevice_t, lockdownd_service_descriptor_t, afc_client_private**)’ [-fpermissive]
afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t service, afc_client_t *client);
^
At global scope:
cc1plus: erreur: option "-Wno-unknown-warning-option" de la ligne de commande non reconnue [-Werror]
cc1plus: erreur: option "-Wno-unused-private-field" de la ligne de commande non reconnue [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o] Erreur 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Erreur 2
make: *** [all] Erreur 2

chenxiaolong commented on 2013-05-12 19:29

@ph11: Try adding:

export CXXFLAGS="${CXXFLAGS} -Wno-error"

before the "cmake ..." line in the PKGBUILD.

Anonymous comment on 2013-05-12 18:34

[ 75%] Building CXX object src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp: In constructor ‘iMobileDeviceConnection::iMobileDeviceConnection(const QString&)’:
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:46:79: erreur: cannot convert ‘uint16_t* {aka short unsigned int*}’ to ‘lockdownd_service_descriptor**’ for argument ‘3’ to ‘lockdownd_error_t lockdownd_start_service(lockdownd_client_t, const char*, lockdownd_service_descriptor**)’
lockdown_err = lockdownd_start_service(lockdown, "com.apple.afc", &afc_port_);
^
/tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:53:65: erreur: invalid conversion from ‘uint16_t {aka short unsigned int}’ to ‘lockdownd_service_descriptor_t {aka lockdownd_service_descriptor*}’ [-fpermissive]
afc_error_t afc_err = afc_client_new(device_, afc_port_, &afc_);
^
In file included from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.h:23:0,
from /tmp/yaourt-tmp-phil/aur-clementine-git/src/clementine-player-build/src/devices/imobiledeviceconnection.cpp:18:
/usr/include/libimobiledevice/afc.h:96:13: erreur: initializing argument 2 of ‘afc_error_t afc_client_new(idevice_t, lockdownd_service_descriptor_t, afc_client_private**)’ [-fpermissive]
afc_error_t afc_client_new(idevice_t device, lockdownd_service_descriptor_t service, afc_client_t *client);
^
At global scope:
cc1plus: erreur: option "-Wno-unknown-warning-option" de la ligne de commande non reconnue [-Werror]
cc1plus: erreur: option "-Wno-unused-private-field" de la ligne de commande non reconnue [-Werror]
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/clementine_lib.dir/devices/imobiledeviceconnection.cpp.o] Erreur 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Erreur 2
make: *** [all] Erreur 2

rtfreedman commented on 2013-04-14 21:40

https://code.google.com/p/clementine-player/issues/detail?id=3570
There is a working patch as a workaround: http://sprunge.us/cNTA

ravicious commented on 2013-04-03 12:58

I guess it's Clementine's devs error. Just wait a day or two and remember that this is a git version.

gyurman commented on 2013-04-03 12:32

/opt/tmp/yaourt-tmp-gyurmo/aur-clementine-git/src/clementine-player-build/src/playlist/playlist.h: In member function ‘bool Playlist::is_dynamic() const’:
/opt/tmp/yaourt-tmp-gyurmo/aur-clementine-git/src/clementine-player-build/src/playlist/playlist.h:187:36: error: cannot convert ‘const GeneratorPtr {aka const boost::shared_ptr<smart_playlists::Generator>}’ to ‘bool’ in return
make[2]: *** [src/CMakeFiles/clementine_lib.dir/core/application.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/clementine_lib.dir/all] Error 2
make: *** [all] Error 2

archdria commented on 2013-03-04 17:31

Fixed, sorry for that!

mbunkus commented on 2013-03-04 12:04

You have a trailing whitespace at the end of the line "cmake . -DQT_QMAKE_EXECUTABLE=qmake-qt4 \ " which results in the line being processed by the shell immediately. Therefore cmake exists with an error,

CMake Error: The source directory "/tmp/yaourt-tmp-mbunkus/aur-clementine-git/src/clementine-player-build/ " does not exist.

mrbit commented on 2013-03-04 10:43

please cmake error
correct ---> cmake . -DQT_QMAKE_EXECUTABLE=qmake-qt4 \

mrbit commented on 2013-03-04 10:39

Cloning into '/tmp/yaourt-tmp-mrbit/aur-clementine-git/src/clementine-player-build'...
done.
CMake Error: The source directory "/tmp/yaourt-tmp-mrbit/aur-clementine-git/src/clementine-player-build/ " does not exist.

mrbit commented on 2013-03-04 10:38

Cloning into '/tmp/yaourt-tmp-mrbit/aur-clementine-git/src/clementine-player-build'...
done.
CMake Error: The source directory "/tmp/yaourt-tmp-mrbit/aur-clementine-git/src/clementine-player-build/ " does not exist.

chenxiaolong commented on 2013-03-03 21:56

Btw, yuyichao means add the following to the cmake line:

-DQT_QMAKE_EXECUTABLE=qmake-qt4 \

yuyichao commented on 2013-03-03 21:44

QT_QMAKE_EXECUTABLE

fuchs24 commented on 2013-03-01 11:34

Please replace `qt` with `qt4` in the dependencies. There's no more a 'qt' package. Thanks.

Ram-Z commented on 2012-09-26 16:01

You are shadowing your makedepends, running:
$ makedepends=('git' 'boost' 'cmake' 'mesa')
$ makedepends=(${makedepends} 'libspotify' 'libgpod' 'libimobiledevice')
$ echo ${makedepends[@]}
will result in "git libspotify libgpod libimobiledevice" with boost, cmake and mesa being lost.

Please use "makedepends+=('libspotify' [..])"

archdria commented on 2012-09-25 09:26

Updated!

bzt commented on 2012-09-25 08:30

Fails to build because of missing libgpod dependency. Please resolve, thanks.

archdria commented on 2012-09-23 22:13

Added support for Google Drive thanks to sumski

Jengajam3 commented on 2012-09-02 21:49

I receive an error while building: http://pastebin.com/AzD4rHy9

Anonymous comment on 2012-08-23 20:45

You can add sparsehash dep, it's not explicitly/visibly searched during cmake stage, but with it, you get google drive support :)
Taglib 1.8 beta/git is also needed
if(ENABLE_GOOGLE_DRIVE AND SPARSEHASH_INCLUDE_DIRS AND TAGLIB_VERSION VERSION_GREATER 1.7.999)
set(HAVE_GOOGLE_DRIVE ON)
endif()

archdria commented on 2012-08-01 22:13

Added chromaprint to deps

jdarnold commented on 2012-07-25 13:03

Nevermind - had a problem in the cmake folders that screwed up a recent cmake update. Cleaned it out, reinstalled cmake, and all better.

jdarnold commented on 2012-07-24 18:17

Problems getting it build today: http://pastebin.com/bHCKsdJJ

jdarnold commented on 2012-05-23 18:24

Sweet! That definitely fixes my hang-on-exit problem. Yay!

jdarnold commented on 2012-05-23 16:52

Great catch! I've been having this problem for quite some time. I'll let you know if a rebuild fixes it.

archdria commented on 2012-05-23 15:33

Added flag, thanks ;)

sxe commented on 2012-05-23 15:29

Hey,
on some machines clementine does not close correctly and freezes. See here: http://code.google.com/p/clementine-player/issues/detail?id=1728

This can be fixed by adding "-DENABLE_GIO=OFF".

Would be nice if you coud add it.

Thx

chenxiaolong commented on 2012-04-06 01:36

Wow, I never would have expected that a proxy would cause the problem! It's unfortunate that Google blocks access to their services from certain countries, but anyway, I'm glad you got it working :)

Pyruzan commented on 2012-04-06 00:35

@ chenxiaolong
Sometimes problems come from somewhere you can't even think of! Guess what was causing the problem? Proxychains! Since Google has restricted our (Iran) access to google-code (and some other services of theirs) we have to use proxy. I was using 'proxychains-git', removed it and now use 'proxychains'.

chenxiaolong commented on 2012-04-05 17:39

@Pyruzan: In that case, the only thing I can think of is to completely wipe the build directory and try changing the git URL from https to http.

Pyruzan commented on 2012-04-05 10:58

@ chenxiaolong
Yeah, I did a 'pacman -Rn git' and then reinstalled it but the error persists. My current git version is 1.7.9.6-1 and I also tired two previous versions, nothing changed though. I'd probably try even older versions of git...

chenxiaolong commented on 2012-04-05 06:43

@Pyruzan: Have you tried reinstalling git and renaming/moving the git configuration files? I did a search, but I can't find a single thing about git segfaulting :(

Pyruzan commented on 2012-04-05 06:04

It's been a while since I continue getting this error:

Unpacking objects: 100% (83/83), done.
Unexpected end of command stream
/usr/lib/git-core/git-pull: line 212: 12693 Segmentation fault git fetch $verbosity $progress $dry_run $recurse_submodules --update-head-ok "$@"
==> ERROR: A failure occurred in build().
Aborting...

Pyruzan commented on 2012-04-05 06:03

It's been a while since I continue getting this error:

Unpacking objects: 100% (83/83), done.
Unexpected end of command stream
/usr/lib/git-core/git-pull: line 212: 12693 Segmentation fault git fetch $verbosity $progress $dry_run $recurse_submodules --update-head-ok "$@"
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build clementine-git.

Pyruzan commented on 2012-04-05 06:02

It's been a while since I continue getting this error:

Unpacking objects: 100% (83/83), done.
[proxychains] DLL init
Unexpected end of command stream
/usr/lib/git-core/git-pull: line 212: 12693 Segmentation fault git fetch $verbosity $progress $dry_run $recurse_submodules --update-head-ok "$@"
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build clementine-git.

archdria commented on 2012-03-16 22:43

Updated, thanks :)

jdarnold commented on 2012-03-07 19:37

I could not get the latest build to compile with -DENABLE_REMOTE=ON so I took it out and it builds fine now. I'm going to bring it up on the mailing list.

Anonymous comment on 2012-02-22 09:28

In case it wasn't clear what xiong.chiamiov meant, the following PKGBUILD worked for me: http://pastie.org/pastes/3430618/text

chenxiaolong commented on 2012-01-30 02:00

@xiong.chiamiov: If it works, then I don't need the logs anymore. It would be nice if you posted the changes you made, though, so archdria can fix the PKGBUILD :)

Anonymous comment on 2012-01-29 23:01

package() was unhappy because cmake_install.cmake isn't in the directory that was listed there; I changed the sed line to correct that. Other than that, it worked - thanks!

Would you still like to see the logs?

chenxiaolong commented on 2012-01-27 08:08

@xiong.chiamiov: Could you try this PKGBUILD from a clean build directory and post the new logs: http://pastie.org/pastes/3261838/text

Anonymous comment on 2012-01-27 05:33

http://pastebin.com/wrJfJY2b
http://pastebin.com/hj2QbE2Q
http://pastebin.com/CTGe8YvD

chenxiaolong commented on 2012-01-13 23:35

@xiong.chiamiov: Actually, could you use these commands so that the stderr error messages are also logged?

makepkg 2>&1 | tee OUTPUT1.log
tree | tee OUTPUT2.log

chenxiaolong commented on 2012-01-13 23:34

@xiong.chiamiov: Could you post the build log of the package as well can a directory tree (the 'tree' package needs to be install) of the build directory?

makepkg | tee OUTPUT1.log
tree | tee OUTPUT2.log

This will allow me to see where the sed line is failing as well as the directory structure of the build directory, so I can change the filename for the sed line if needed.

Anonymous comment on 2012-01-13 07:34

I can't seem to get spotify support to work.

I uncommented libspotify from makedepends and optdepends. I changed the cmake line to have -DENABLE_SPOTIFY=ON -DENABLE_SPOTIFY_BLOB=ON. I tried uncommented the sed line, but it complained about the file not existing, so I recommented it.

When I launched Clementine, it asked me to download the Spotify plugin. I did so. When I try to do things with Spotify, I get errors like this in stderr:

23:33:19.205 INFO SpotifyService:306 Starting "/home/pearson/.config/Clementine/spotifyblob/version11-32bit/blob"
23:33:19.361 DEBUG SpotifyClient:77 Using: "/home/pearson/.cache/Clementine/spotify-cache" for Spotify cache
23:33:19.361 DEBUG SpotifyClient:79 Using: "/home/pearson/.config/Clementine/spotify-settings" for Spotify settings
23:33:19.361 DEBUG SpotifyClient:109 Connecting to port 52149
23:33:19.362 INFO SpotifyServer:50 Connection from port 36555
23:33:19.364 ERROR SpotifyService:193 Spotify blob process failed: 1

Ideas?

Anonymous comment on 2012-01-11 02:30

Works fine now, no probs with 20120110-1. Thanks for maintaining this package archdria.

mrbit commented on 2012-01-10 17:49

ok, thanks

mrbit commented on 2012-01-10 16:57

==> Starting build...
fatal: repository '/tmp/packerbuild-0/clementine-git/clementine-git/src/clementine-player' does not exist
==> ERRORE: Si è verificato un errore in build().

archdria commented on 2012-01-10 16:46

Fixed! Sorry!

mrbit commented on 2012-01-10 16:26

fatal: repository '/tmp/packerbuild-0/clementine-git/clementine-git/src/clementine-player' does not exist
==> ERRORE: Si è verificato un errore in build().

archdria commented on 2012-01-10 11:07

Added two flags to disable spotify support, as I guess most of us don't have a premium account...

swanson commented on 2012-01-10 10:03

Commenting out the sed line works for me, the suggested does not, unfortunately. But isn't it possible to add a configure line like; --disable-spotify to the build in PKGBUILD? (For us that don't use spotify)

chenxiaolong commented on 2012-01-09 23:10

Looks like they did some moving of the files in this commit: http://code.google.com/p/clementine-player/source/detail?r=9041117867b081c978f1e6122aa2a67e77786d6b

Here's a new sed line that should work with the new directory structure:

sed -i -e '/"\/.*version[[:digit:]]*[-]*[[:digit:]]*bit/ s//"${CMAKE_INSTALL_PREFIX}\/bin/' -e '/clementine-spotifyblob/ s/$ENV{DESTDIR}//g' ext/clementine-spotifyblob/cmake_install.cmake

archdria commented on 2012-01-09 22:21

fixed by commenting the sed line out... But I don't like it...

Anonymous comment on 2012-01-09 22:18

[100%] Built target clementine
==> Entering fakeroot environment...
==> Starting package()...
sed: can't read spotifyblob/blob/cmake_install.cmake: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...

chenxiaolong commented on 2012-01-08 21:59

Thanks :D

archdria commented on 2012-01-08 15:46

You're right, chenxiaolong, now it's fixed :D Thanks!

chenxiaolong commented on 2012-01-08 15:30

Nice :D One little problem though: what you did for the makedepends should also be done in the optdepends installing the optdepends without compiling them won't enable the extra features. Here's what I mean:

optdepends=('gstreamer0.10-base-plugins: for more open formats'
'gstreamer0.10-good-plugins: for use with "Good" plugin libraries'
'gstreamer0.10-bad-plugins: for use with "Bad" plugin libraries'
'gstreamer0.10-ugly-plugins: for use with "Ugly" plugin libraries'
)
makedepends=('git' 'boost' 'cmake' 'mesa')
# Uncomment next line to enable more features
#makedepends=(${makedepends} 'libspotify' 'libgpod' 'libimobiledevice')
#optdepends=('libspotify: for Spotify support'
'libgpod: for iPode support'
'libimobiledevice: for iPhone and iPod Touch support'
)

Those three optdepends can only be used when those features are compiled in :)

archdria commented on 2012-01-08 14:41

Updated the way clementine handles dependencies. Look at the PKGBUILD :)

chenxiaolong commented on 2011-12-30 23:04

Both are good ideas, however, archdria's idea is how the packages in the official repos are compiled: compile with all features, but make them optional when installing.

It doesn't hurt to include 2 depends lines in the PKGBUILD though. Not building features could save some build time.

axil42 commented on 2011-12-30 22:46

Another option is to add 2 arrays of depends, one with bare minimum requirements and the other with all optdependencies included. Leave the minimum uncommented (more KISS) :p
Here is my PKGBUILD [1], I followed the prerequisites stated here [2].

[1] https://github.com/markelos/pkgbuilds/blob/master/clementine-git/PKGBUILD
[2] https://code.google.com/p/clementine-player/wiki/CompilingFromSource#Prerequisites

archdria commented on 2011-12-30 21:57

Yes, maybe I should move those dependencies to makedeps, and then readd them in the optdeps array... Then, you can remove the apps from the makedeps if you don't want that feature... What do you think?

chenxiaolong commented on 2011-12-30 21:32

@ianux: The problem with that is that users don't see the optdepends until the package is installed. If the user wants a feature provided by one of the optional dependencies, he or she will need to rebuild the package. I think a better method would be to put a comment in the PKGBUILD that says what dependencies are optional.

ianux commented on 2011-12-30 20:23

Things like libgpod, libplist, libmtp, libimobiledevice or libspotify should be in optdepends, clementine compile perfectly fine without them (even without the settings given by skydrome). At most, users without libspotify (how many archers own a premium account?) should comment the sed line.

skydrome commented on 2011-12-23 20:40

anyone looking for a more 'minimalistic' build can use these cmake options:
CC=gcc CXX=g++ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILDBOT_REVISION=${pkgver} \
-DSTATIC_SQLITE=0 \
-DENABLE_GIO=OFF \ # this fixed build failures from the latest git at the time, you may want to try this if it fails for you too.
-DENABLE_AUDIOCD=OFF \
-DENABLE_BREAKPAD=OFF \
-DENABLE_IMOBILEDEVICE=OFF \
-DENABLE_VISUALISATIONS=OFF \
-DENABLE_LIBGPOD=OFF \
-DENABLE_LIBLASTFM=OFF \
-DENABLE_REMOTE=OFF \
-DENABLE_SPOTIFY=OFF \
-DENABLE_WIIMOTEDEV=OFF

chenxiaolong commented on 2011-12-08 18:21

@archdria: Here's a new sed line that fixes the problem from the latest git:

sed -i -e '/"\/.*version[[:digit:]]*[-]*[[:digit:]]*bit/ s//"${CMAKE_INSTALL_PREFIX}\/bin/' -e '/clementine-spotifyblob/ s/$ENV{DESTDIR}//g' spotifyblob/blob/cmake_install.cmake

The blob is stored in a directory named "version11" instead of "version7" now, so I've updated the regex to match multiple digits.

chenxiaolong commented on 2011-12-01 17:49

@wodim: Yep. Namcap output:

clementine-git W: Dependency libcdio detected but optional (libraries ['usr/lib/libcdio.so.12'] needed in files ['usr/bin/clementine'])

wodim commented on 2011-12-01 15:59

I'd say this depends on libcdio.

chenxiaolong commented on 2011-11-18 20:24

@laserbeam: Great! I'm glad you got it working. Also, anything you can change in /etc/makepkg.conf can also be added to the PKGBUILD. So, instead of modifying the CXXFLAGS, you can add it the the PKGBUILD you need it for :)

Anonymous comment on 2011-11-18 17:03

aw... crap... yeah... I forgot... I added -std=gnu++0x to CXXFLAGS at some point... another package needed it. Although as far as I remembered, I added that before I tried compiling clementine-git the first time.

Anyway, thanks. Removed it, works now.

chenxiaolong commented on 2011-11-18 15:02

@laserbeam: Have you ever modified /etc/makepkg.conf (i.e. changing cflgas,optimizations)? You're cmake output is almost identical to mine, so I don't think it's something wrong with package. Can you try download the PKGBUILD from here and compiling with that? I'll install packer and try to test with that.

Anonymous comment on 2011-11-18 10:20

Guys... I'm having some trouble building this. It gets stuck when compiling libprojectm and I don't really know where to look after that point... so here's the output of
packer -S clementine-git --noedit --noconfirm

http://pastie.org/2882442

Thanks.

archdria commented on 2011-11-17 18:00

Updated with chenxiaolong's PKGBUILD, Thank you.
I may move all the dependencies to optdeps and makedeps if you think it is better :)

chenxiaolong commented on 2011-11-17 00:39

Here's my PKGBUILD with a gigantic sed line that fixes the problem :) http://pastie.org/2875310

axil42 commented on 2011-11-16 23:48

Personally I am against adding all these ipod dependencies. They should be optdependencies instead. Check here what the devs point as optional deps [1].
I don't think that a hickup caused by an optional dependency should affect all the users. I don't have an ipod to check libspotify, but when I build using this PKGBUILD [2] in a chroot (check my previous comments) I don't get any errors at all and it installs just fine. I'll do some more investigation tomorrow.

[1] http://code.google.com/p/clementine-player/wiki/CompilingFromSource
[2] https://gitorious.org/arch-linux-greece/arch-linux-greece/blobs/master/list-of-sources/adslgr64/clementine-git/PKGBUILD

mrbit commented on 2011-11-16 23:47

/tmp/packerbuild-0/clementine-git/clementine-git/PKGBUILD: line 53: ${$pkgdir}: bad substitution
errore: 'clementine-git-*.pkg.tar.xz':can not open the package

axil42 commented on 2011-11-16 23:45

Personally I am against adding all these ipod dependencies. They should be optdependencies instead. Check here what the devs point as optional deps http://code.google.com/p/clementine-player/wiki/CompilingFromSource.
I don't think that a hickup caused by an optional dependency should affect all the users. I don't have an ipod to check libspotify, but when I build using this PKGBUILD in a chroot (check my previous comments) I don't get any errors at all and it installs just fine. I'll do some more investigation tomorrow.

archdria commented on 2011-11-16 22:55

I don't know how to fix it... I added a command to delete the unwanted fileas after make install, but it doesn't work, so any help is welcome. I think it is a problem of the cmake install rule, maybe that should be reported and fixed upstream, as I'm not an expert on cmake... Sorry :(

Anonymous comment on 2011-11-16 19:43

I get the same issue as chenxiaolong when I run pacman -Ql clemetine-git. Here's some additional output from installation:

Proceed with installation? [Y/n]
(1/1) checking package integrity [###################################] 100%
(1/1) checking for file conflicts [###################################] 100%
(1/1) upgrading clementine-git [###################################] 100%
warning: directory permissions differ on tmp/
filesystem: 1777 package: 755
rm: cannot remove `/tmp/yaourt-tmp-rezero/aur-clementine-git/src/build/spotify/version7-64bit/blob': Permission denied
rezero@Icarus:~$ pacman -Ql c

chenxiaolong commented on 2011-11-15 15:27

Thanks for the reply, but unfortunately, it still has the same problem: part of the build directory is included in the package.

┌─(chenxiaolong@cxl-4270cto)─────────────────(Tue, 15 Nov 2011 10:13:04 -0500)─┐
├─────────────────(/home/chenxiaolong/sources/clementine-git)──────────────────┘
└─⇒ $ yaourt -Ql clementine-git | grep /home
clementine-git /home/
clementine-git /home/chenxiaolong/
clementine-git /home/chenxiaolong/sources/
clementine-git /home/chenxiaolong/sources/clementine-git/
clementine-git /home/chenxiaolong/sources/clementine-git/src/
clementine-git /home/chenxiaolong/sources/clementine-git/src/build/
clementine-git /home/chenxiaolong/sources/clementine-git/src/build/spotify/
clementine-git /home/chenxiaolong/sources/clementine-git/src/build/spotify/version7-64bit/
clementine-git /home/chenxiaolong/sources/clementine-git/src/build/spotify/version7-64bit/blob

archdria commented on 2011-11-15 14:20

I've just rebuilt the package and don't have this issue with tmp directory...
Does it happen if you download the PKGBUILD manually and run makepkg?

chenxiaolong commented on 2011-11-14 23:48

For some reason, part of the build directory gets included in the package, could you fix this?

Package contents on my computer:

┌─(chenxiaolong@cxl-4270cto)─────────────────(Mon, 14 Nov 2011 18:46:20 -0500)─┐
├────────────────────────────────────(/tmp)────────────────────────────────────┘
└─⇒ $ yaourt -Ql clementine-git | grep /tmp
clementine-git /tmp/
clementine-git /tmp/yaourt-tmp-chenxiaolong/
clementine-git /tmp/yaourt-tmp-chenxiaolong/aur-clementine-git/
clementine-git /tmp/yaourt-tmp-chenxiaolong/aur-clementine-git/src/
clementine-git /tmp/yaourt-tmp-chenxiaolong/aur-clementine-git/src/build/
clementine-git /tmp/yaourt-tmp-chenxiaolong/aur-clementine-git/src/build/spotify/
clementine-git /tmp/yaourt-tmp-chenxiaolong/aur-clementine-git/src/build/spotify/version7-64bit/
clementine-git /tmp/yaourt-tmp-chenxiaolong/aur-clementine-git/src/build/spotify/version7-64bit/blob

archdria commented on 2011-11-14 22:07

Added protobuf to get spotify support, thanks ropez :)

Anonymous comment on 2011-11-14 22:00

I had to install 'protobuf' to get it to build with spotify support, which wasn't pulled in by the dependencies.

archdria commented on 2011-09-20 17:50

Updated, thanks :)

ravicious commented on 2011-09-20 15:58

Looks like they've added QJson to dependencies.

http://code.google.com/p/clementine-player/source/detail?r=0431d8b7339f1ee3662ed45d1f0d4ced1618d9c8
http://code.google.com/p/clementine-player/source/detail?r=7a98d5969797ebf0a2db18b6c6f3d30e0c41f8d5

axil42 commented on 2011-08-19 16:58

Good to hear :)

HNKNTA commented on 2011-08-19 16:54

markelos, thanks one more time, in chroot it build and working

axil42 commented on 2011-08-19 16:01

One hint. Install devtools and build your package in a chroot.
I always build packages I maintain for the public that way.
For more info check https://wiki.archlinux.org/index.php/DeveloperWiki:PKGBUILD.com

HNKNTA commented on 2011-08-19 15:45

markelos, thanks for your help. your PKGBUILD doesn't work, but the compiled pkg is starting without problem. Seems like my system has a broken package(s)

axil42 commented on 2011-08-19 15:19

I use this PKGBUILD [1] (it's more KISS :p) and works fine for me.
You can grab my complied pkg [2] to see if the problem is fixed.

[1] http://pastebin.com/KFBWeX6H
[2] http://archlinuxgr.tiven.org/archlinux/x86_64/clementine-git-20110819-1-x86_64.pkg.tar.xz

HNKNTA commented on 2011-08-19 13:55

this not helped =(

axil42 commented on 2011-08-19 12:35

Try removing libimobiledevice from dependencies and build again.

HNKNTA commented on 2011-08-19 12:15

I re-build it but with same result. I try to install clementine from repo but I get same error
extra/gnutls 3.0.0-2 [installed]
multilib/lib32-gnutls 2.12.2-1 [installed]

axil42 commented on 2011-08-19 12:07

You have to build it again due to new version of gnutls ;)

HNKNTA commented on 2011-08-19 11:35

only I have this problem? (x86_64)
clementine: error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or directory

HNKNTA commented on 2011-08-19 11:34

only me have this problem? (x86_64)
clementine: error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or directory

archdria commented on 2011-07-20 11:56

+markelos, thanks :)

axil42 commented on 2011-07-19 23:12

Would it be better if you added

replaces=('clementine-svn')

??