Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#16878 - [conky] add lua support

Attached to Project: Arch Linux
Opened by Arthur Gautier (superbaloo) - Wednesday, 28 October 2009, 11:06 GMT
Last edited by Giovanni Scafora (giovanni) - Thursday, 29 October 2009, 00:15 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Add lua support in conky

Additional info:
* Conky >= 1.7.2


PKGBUILD :
# $Id: PKGBUILD 56122 2009-10-19 19:54:11Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: James Rayner <james@archlinux.org>
# Contributor: Partha Chowdhury <kira.laucas@gmail.com>

pkgname=conky
pkgver=1.7.2
pkgrel=5
pkgdesc="An advanced, highly configurable system monitor for X based on torsmo"
arch=('i686' 'x86_64')
url="http://conky.sourceforge.net/"
license=('custom')
replaces=('torsmo')
depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2' 'toluapp')
makedepends=('pkgconfig')
backup=(etc/conky/conky.conf etc/conky/conky_no_x11.conf)
source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2
fix_hwmon_for_2.6.31.patch)
md5sums=('cf6f5d45d42ad68c618c00271813b80d'
'679475fc92700a90c0f38c393532ba1d')

build() {
cd ${srcdir}/${pkgname}-${pkgver}
#  FS#16584 
patch -Np1 -i ${srcdir}/fix_hwmon_for_2.6.31.patch || return 1
LUA51_LIBS='-llua -lm' ./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-wlan \
--enable-rss \
--enable-ibm \
--enable-imlib2 \
--enable-lua \
--enable-lua-cairo \
--enable-lua-imlib2
make || return 1
make DESTDIR=${pkgdir} install
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}

This permit this kind of things : http://blog.conky.be/2009/10/19/widgets-in-conky-it-can-be-done/
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Thursday, 29 October 2009, 00:15 GMT
Reason for closing:  Not a bug
Comment by Alessandro Doro (adoroo) - Wednesday, 28 October 2009, 19:27 GMT
Ahem. "--enable-lua-cairo" and "--enable-lua-imlib2" depend on the AUR package 'toluapp'.

Just a question. Why is lua disabled in the 1.7.2-5 package, going against the upstream default?

Loading...