Package Details: clementine-git 1.3.1.r392.g83e860eab-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
Conflicts: clementine
Provides: clementine
Submitter: swiftscythe
Maintainer: JacobHenner
Last Packager: JacobHenner
Votes: 83
Popularity: 0.072518
First Submitted: 2011-07-19 22:38
Last Updated: 2017-11-17 11:12

Dependencies (33)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

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.