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: 1.610549
First Submitted: 2015-08-12 18:00
Last Updated: 2016-04-02 03:43

Latest Comments

ata commented on 2016-07-25 21:52

hi alls m fix

download
https://aur.archlinux.org/cgit/aur.git/snapshot/conky-lua.tar.gz
and saıd makepkg -sri after

opened here
sudo gedit /usr/share/cmake-3.6/Modules/FindPkgConfig.cmake

and edit

# check whether version is given
if (_pkg_check_modules_pkg MATCHES "(.*[^><])(>=|=|<=)(.*)")
set(_pkg_check_modules_pkg_name "${CMAKE_MATCH_1}")
set(_pkg_check_modules_pkg_op "${CMAKE_MATCH_2}")
set(_pkg_check_modules_pkg_ver "${CMAKE_MATCH_3}")
else()
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
set(_pkg_check_modules_pkg_op)
set(_pkg_check_modules_pkg_ver)
endif()


delate itis
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
and try makepkg -sri

enjoy all

look at http://i.hizliresim.com/v4ryWz.



or u want tar.xz here

https://yadi.sk/d/FGqFymGGtZGXP

techMod commented on 2016-07-20 10:57

Doesn´t build, cmke.patch didn´t pass check for sha1sum

m3thodic commented on 2016-07-04 21:40

The following PKGBUILD fixes lua5.1 compilation issues as well as speeding up compilation time:

cmake.patch:
https://gist.github.com/tonylambiris/970ff0c90b89128a4b8f8385989df623

PKGBUILD:
https://gist.github.com/tonylambiris/bda0d69827c20d9beca7206888d3a85b

dbenque commented on 2016-06-23 21:58

@firekage, I had the same problem.
If lua51 is installed on your system next to lua5.3 then what you can do:

clone the github repo: http://github.com/brndnmtthws/conky

in the file cmake/ConkyPlatformChecks.cmake, modify the check and library settings for LUA in the following way (close to line 259):
---------------------------------------------------------------
if(WANT_TOLUA)
# If we need tolua++, we must compile against Lua 5.1
pkg_search_module(LUAAA REQUIRED lua51)
if(NOT LUAAA_VERSION VERSION_LESS 5.2.0)
message(FATAL_ERROR "Unable to find lua51: version '${LUAAA_VERSION}'")
endif(NOT LUAAA_VERSION VERSION_LESS 5.2.0)
else(WANT_TOLUA)
# Otherwise, use the most recent Lua version
pkg_search_module(LUA REQUIRED lua>=5.3 lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua>=5.1)
endif(WANT_TOLUA)
set(conky_libs ${conky_libs} ${LUAAA_LIBRARIES})
set(conky_includes ${conky_includes} ${LUAAA_INCLUDE_DIRS})
link_directories(${LUAAA_LIBRARY_DIRS})
---------------------------------------------------------------

Then follow the make and install procedure under the wiki of the project.
At config time set option ON for BUILD_LUA_CAIRO (or IMLIB2 or RSVG)

firekage commented on 2016-06-19 15:34

I cant install it:

checking for one of the modules 'lua=5.1;lua5.1;lua-5.1'
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:574 (message):
None of the required 'lua=5.1;lua5.1;lua-5.1' found
Call Stack (most recent call first):


I have lua installed in version 5.3, but it needs 5.1. Could somebody help?

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
}

All comments