You are not logged in.
Edit: See post #8 for solution
Hello.
When trying to compile conky with the --enable-audacious option, I get the following error.
checking for Audacious... configure: error: Package requirements (audacious >= 1.4.0 audclient dbus-glib-1 glib-2.0 gobject-2.0) were not met:
No package 'audclient' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables Audacious_CFLAGS
and Audacious_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
==> ERROR: A failure occurred in build().
Aborting...
My PKGBUILD is the one in the repos, with the addition of an --enable-audacious line. See below:
# $Id: PKGBUILD 205494 2014-02-06 05:24:01Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: James Rayner <james@archlinux.org>
# Contributor: Partha Chowdhury <kira.laucas@gmail.com>
pkgname=conky
pkgver=1.9.0
pkgrel=4
pkgdesc='Lightweight system monitor for X'
url='http://conky.sourceforge.net/'
license=('BSD' 'GPL')
arch=('i686' 'x86_64')
makedepends=('docbook2x')
depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('a8d26d002370c9b877ae77ad3a3bbd2566b38e5d')
backup=('etc/conky/'conky{,_no_x11}.conf)
options=('!emptydirs')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--enable-ibm \
--enable-curl \
--enable-rss \
--enable-weather-xoap \
--enable-imlib2 \
--enable-wlan \
--enable-audacious \
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
}
Note: While similar, I don't think this problem is the same as this one.
Last edited by Sudowoodo (2014-06-29 10:07:02)
archlinux
Sudowoodo!
Offline
Remove the "\" from the end of "--enable-audacious". Does it work now?
EDIT: Also, there's already a package for conky-audacious in the AUR.
Last edited by drcouzelis (2014-06-27 16:18:13)
Offline
Remove the "\" from the end of "--enable-audacious". Does it work now?
No, it's exactly the same.
EDIT: Also, there's already a package for conky-audacious in the AUR.
I tried it, that doesn't compile either, and its orphan & outdated.
For the record, its PKGBUILD is
Edit: Remove unnecessary text. See post #8 for solution.
and the error is the same:
Edit: Remove unnecessary text. See post #8 for solution.
Have you been able to reproduce the problem? I'm using an amd64 processor and trying to build with "makepkg -s". Thank you for replying.
Last edited by Sudowoodo (2014-06-28 12:13:28)
archlinux
Sudowoodo!
Offline
I'm not home at the moment... But I wonder if "audclient" is even needed anymore since Audacious comes with audtool.
Try removing the "audclient" dependency but keeping "--enable-audacious". Does that work?
Offline
makedepends=('docbook2x')
depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
No audclient at all.
Also, the error doesn't appear when compiling without --enable-audacious.
archlinux
Sudowoodo!
Offline
Audacious 3.5 does not contain audclient anymore.
See "Removed features" at http://audacious-media-player.org/news/ … 5-released.
Offline
Audacious 3.5 does not contain audclient anymore.
See "Removed features" at http://audacious-media-player.org/news/ … 5-released.
That's interesting. So... it's impossible to have audacious support, isn't? Downgrading isn't an option.
archlinux
Sudowoodo!
Offline
I have uploaded a separate libaudclient tarball. Here is a PKGBUILD.
http://pastebin.com/raw.php?i=SFJJ9sU0
Offline
I have uploaded a separate libaudclient tarball. Here is a PKGBUILD.
http://pastebin.com/raw.php?i=SFJJ9sU0
Thank you!! This solves everything!
Now conky compiles and works perfectly with support for audacious!
archlinux
Sudowoodo!
Offline