Package Details: conky-lua 1.10.1-7

Git Clone URL: https://aur.archlinux.org/conky-lua.git (read-only)
Package Base: conky-lua
Description: Lightweight system monitor for X, with Lua support enabled
Upstream URL: http://github.com/brndnmtthws/conky
Keywords: conky conky-lua
Licenses: GPL3, BSD
Conflicts: conky
Provides: conky=1.10.1
Replaces: torsmo
Submitter: alexiobash
Maintainer: TidestManager1
Last Packager: TidestManager1
Votes: 29
Popularity: 5.467596
First Submitted: 2015-08-12 18:00
Last Updated: 2016-04-02 03:43

Latest Comments

argamanza commented on 2016-04-16 20:10

When i'm trying to install the package i get:

Scanning dependencies of target docs
[ 21%] Proccessing man page for docs
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl
doc/CMakeFiles/docs.dir/build.make:60: recipe for target 'doc/docs.html' failed
make[2]: *** [doc/docs.html] Error 4
make[2]: *** Deleting file 'doc/docs.html'
CMakeFiles/Makefile2:357: recipe for target 'doc/CMakeFiles/docs.dir/all' failed
make[1]: *** [doc/CMakeFiles/docs.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build conky-lua.

What's wrong and what can i do to repair it?

sdothum commented on 2016-04-01 19:21

Could you please add to the PKGBUILD

-D BUILD_WLAN=ON \

to the build() options? Would be a convenience for those of us monitoring wireless interfaces.

Thanks regardless, for the pkg.

ranger commented on 2016-03-31 08:51

Are you sure it builds correctly?

==> Retrieving sources...
-> Found v1.10.1.tar.gz
==> Validating source files with sha1sums...
v1.10.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting v1.10.1.tar.gz with bsdtar
==> Starting prepare()...
patch: **** Can't open patch file ../../fix_build.patch : No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...

TidestManager1 commented on 2016-03-31 00:51

Thanks for the fixed PKGBUILD @petrucci4prez. I've merged your changes along with the fix_build.patch into the source.

It doesn't seem to SEGFAULT anymore, so at least there's that.

petrucci4prez commented on 2016-03-29 08:24

use this PKGBUILD with the "fix_build_patch" from conky-lua-nv...no segfault :)

# Maintainer: alexiobash < me (at) alexiobash (dot) com >
# Co-Maintainer: TidestManager1 < michaelpulliam1 (at) gmail (dot) com >
pkgname=conky-lua
_pkgname=conky
pkgver=1.10.1
pkgrel=3
pkgdesc='Lightweight system monitor for X, with Lua support enabled'
url='http://github.com/brndnmtthws/conky'
license=('BSD' 'GPL3')
arch=('i686' 'x86_64')
options=('!emptydirs')
makedepends=('docbook2x' 'perl-xml-libxml' 'cmake' 'docbook-xsl' 'docbook-xml')
depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2' 'lua51' 'cairo' 'tolua++')
provides=('conky=1.10.1')
conflicts=('conky')
backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
source=("https://github.com/brndnmtthws/${_pkgname}/archive/v${pkgver}.tar.gz"
fix_build.patch)
sha1sums=('97b59ec1daf54126b30516e8663a9cf1f218d8ae'
'3ef0f96772410f975e815087509db9537edcd6e2')

replaces=('torsmo')

build() {
cd "${srcdir}/${_pkgname}-${pkgver}"

CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" LUA_LIBS="-llua5.1" LUA_CFLAGS="-I/usr/include/lua5.1" \
cmake \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D MAINTAINER_MODE=ON \
-D BUILD_CURL=ON \
-D BUILD_LUA_RSVG=ON \
-D BUILD_LUA_CAIRO=ON \
-D BUILD_LUA_IMLIB2=ON \
-D BUILD_IMLIB2=ON \
-D BUILD_RSS=ON \
-D BUILD_WEATHER_METAR=ON \
-D BUILD_WEATHER_XOAP=ON \
-D BUILD_XDBE=ON \
.


make
}

package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 LICENSE.BSD ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.BSD
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
}

prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -p1 -i ../fix_build.patch
}

lukasm commented on 2016-03-29 06:17

Thanks for confirming.

Additionally tolua++ is not only a make-dependency, but a dependency needed for running conky. So tolua++ should be in depends rather than in makedepends.

mcaceres commented on 2016-03-28 20:03

@lukasm I have the same problem that lua_load gives segmentation fault. Installing conky-lua-nv seems to be a workaround for me

lukasm commented on 2016-03-28 11:10

@all Yes that's a huge update because syntax changed. Here you find a rough overview over the needed changes (post #7):
https://bbs.archlinux.org/viewtopic.php?id=199217

In /usr/share/doc/conky.../... you also find an example and you may also try the convert.lua given there.

My problem is that currently lua_load does not work (segmentation fault). Can this be confirmed by anybody? And whose bug would that be?

TidestManager1 commented on 2016-03-27 23:36

@ata, I'm not exactly sure but it was a HUGE update.

ata commented on 2016-03-27 21:56

http://i.hizliresim.com/D2OVvz.gif

All comments