Package Details: conky-cli 1.10.1-1

Git Clone URL: https://aur.archlinux.org/conky-cli.git (read-only)
Package Base: conky-cli
Description: Lightweight system monitor for X, without X11 dependencies
Upstream URL: https://github.com/brndnmtthws/conky
Keywords: conky
Licenses: GPL, BSD
Conflicts: conky
Provides: conky
Submitter: karc
Maintainer: Archer777
Last Packager: Archer777
Votes: 98
Popularity: 0.788535
First Submitted: 2007-07-02 00:53
Last Updated: 2015-12-01 14:56

Dependencies (9)

Required by (1)

Sources (2)

Latest Comments

sekret commented on 2016-02-05 19:57

Could you please add 'armv7h' to the arch line? It builds just fine on my Raspberry Pi 2 :)

Most probably it builds just fine for armv6h too (e.g. Raspberry Pi 1), but I cannot confirm...

Archer777 commented on 2015-12-01 14:58

Updated to 1.10.1

knezi commented on 2015-12-01 13:22

@haawda this one works.

haawda commented on 2015-11-30 23:44

This one builds here:

# Maintainer: Archer777 <NAME at gmx dot com>
# Contributor: Army
# Contributor: Dave Reisner <d@falconindy.com>
# Contributor: Karol Cichy <slothck@gmail.com>

_pkgname=conky
pkgname=conky-cli
pkgver=1.10.1
pkgrel=1
pkgdesc="Lightweight system monitor for X, without X11 dependencies"
url='http://conky.sourceforge.net/'
license=('BSD' 'GPL')
arch=('i686' 'x86_64')
provides=('conky')
conflicts=('conky')
makedepends=('cmake' 'docbook2x' 'docbook-xml' 'docbook-xsl' 'man-db')
depends=('curl' 'lua' 'wireless_tools' 'libxml2')
source=("https://github.com/brndnmtthws/${_pkgname}/archive/v${pkgver}.tar.gz"
'ascii.patch'
'lua53.patch'
)
sha1sums=('97b59ec1daf54126b30516e8663a9cf1f218d8ae'
'96cdbc38e8706c8a3120601983df5c7265716128'
'a3a74542b6524e5663ad37aaba292b48e8bea3b1')

prepare() {
cd "${srcdir}/${_pkgname}-${pkgver}"
patch -p1 -i ../ascii.patch # db2x_manxml fails on non-ascii chars
patch -p1 -i ../lua53.patch # lua_gettable returns an int in lua-5.3
}

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

cmake \
-D CMAKE_BUILD_TYPE=Release \
-D MAINTAINER_MODE=ON \
-D BUILD_HDDTEMP=OFF \
-D BUILD_PORT_MONITORS=OFF \
-D BUILD_WEATHER_METAR=ON \
-D BUILD_WEATHER_XOAP=ON \
-D BUILD_X11=OFF \
-D BUILD_XDAMAGE=OFF \
-D BUILD_XFT=OFF \
-D BUILD_WLAN=ON \
-D CMAKE_INSTALL_PREFIX=/usr .
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
}

haawda commented on 2015-11-30 23:36

Did you guys try 1.10.1?

tthanh commented on 2015-11-28 06:52

I got same error with @knezi, error log file show something wrong with pthreads when cmake compile
Determining if the pthread_create exist failed with the following output: Change Dir: /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a7488/fast" /usr/bin/make -f CMakeFiles/cmTC_a7488.dir/build.make CMakeFiles/cmTC_a7488.dir/build make[1]: Entering directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -o CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o -c /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_a7488 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a7488.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o -o cmTC_a7488 -rdynamic CMakeFiles/cmTC_a7488.dir/CheckSymbolExists.c.o: In function main': CheckSymbolExists.c:(.text.startup+0x6): undefined reference topthread_create' collect2: error: ld returned 1 exit status CMakeFiles/cmTC_a7488.dir/build.make:97: recipe for target 'cmTC_a7488' failed make[1]: *** [cmTC_a7488] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_a7488/fast' failed make: *** [cmTC_a7488/fast] Error 2
File /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */
include <pthread.h>

int main(int argc, char** argv) { (void)argv;
ifndef pthread_create

return ((int*)(&pthread_create))[argc];
else

(void)argc; return 0;
endif

}
Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: /tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_cd1b4/fast" /usr/bin/make -f CMakeFiles/cmTC_cd1b4.dir/build.make CMakeFiles/cmTC_cd1b4.dir/build make[1]: Entering directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cd1b4.dir/CheckFunctionExists.c.o /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_cd1b4.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.4/Modules/CheckFunctionExists.c Linking C executable cmTC_cd1b4 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cd1b4.dir/link.txt --verbose=1 /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DCHECK_FUNCTION_EXISTS=pthread_create -Wl,-O1,--sort-common,--as-needed,-z,relro CMakeFiles/cmTC_cd1b4.dir/CheckFunctionExists.c.o -o cmTC_cd1b4 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status CMakeFiles/cmTC_cd1b4.dir/build.make:97: recipe for target 'cmTC_cd1b4' failed make[1]: *** [cmTC_cd1b4] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-smt/aur-conky-cli/src/conky-1.10.0/CMakeFiles/CMakeTmp' Makefile:126: recipe for target 'cmTC_cd1b4/fast' failed make: *** [cmTC_cd1b4/fast] Error 2

knezi commented on 2015-11-27 16:54

Hi,
getting error while compiling:
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
CMake Error at cmake/ConkyPlatformChecks.cmake:29 (check_include_files):
Unknown CMake command "check_include_files".
Call Stack (most recent call first):
CMakeLists.txt:37 (include)


-- Configuring incomplete, errors occurred!
See also "/tmp/conky-cli/src/conky-1.10.0/CMakeFiles/CMakeOutput.log".
See also "/tmp/conky-cli/src/conky-1.10.0/CMakeFiles/CMakeError.log".
==> CHYBA: Došlo k chybě v build().
Rušení...
Any ideas? Thanks.

jose1711 commented on 2015-09-22 12:30

could you please consider adding a patch like this?

$ cat ipv6_compile_time.patch
--- old/cmake/ConkyPlatformChecks.cmake.orig 2015-06-22 02:49:06.000000000 +0200
+++ new/cmake/ConkyPlatformChecks.cmake 2015-09-22 14:21:35.205079622 +0200
@@ -105,7 +105,8 @@
if(BUILD_IPV6)
find_file(IF_INET6 if_inet6 PATHS /proc/net)
if(NOT IF_INET6)
- message(FATAL_ERROR "/proc/net/if_inet6 unavailable")
+ message("You requested IPV6 but /proc/net/if_inet6 is unavailable, I'll disable ipv6 instead of just bailing out.")
+ set(BUILD_IPV6 0)
endif(NOT IF_INET6)
endif(BUILD_IPV6)

jose1711 commented on 2015-09-21 19:45

the ipv6 issue at compile time is still present:

CMake Error at cmake/ConkyPlatformChecks.cmake:108 (message):
/proc/net/if_inet6 unavailable
Call Stack (most recent call first):
CMakeLists.txt:37 (include)

cippaciong commented on 2015-09-20 07:47

Thanks!

All comments