You are not logged in.
Pages: 1
I have been trying to make a PKGBUILD for xfwpcnm (A timer that changes xfce's wallpaper).
The package builds but when i launch the app i get the error:
(xfwpcnm:6235): Gtk-WARNING **: Error loading icon from file 'xfwpc_icon.png':
Failed to open file 'xfwpc_icon.png': No such file or directoryThe tray icon doesn't appear.
At first i thought it was a permission problem so i tried different values. but i still get the error.
the PKGBUILD at the moment.
pkgname=xfwpcnm
pkgver=1.0
pkgrel=4
pkgdesc="Xfce Wallpaper Changer Non-Mono Edition"
arch=('i686' 'x86_64')
url="http://code.google.com/p/xfwpc/"
depends=("gtk2>=2.0")
conflicts=()
license=('MIT License')
source=(http://xfwpc.googlecode.com/files/${pkgname}_1-0.tar.gz)
md5sums=('59b023aa55f82dd98d9a1f6f751797b2')
build() {
cd "$srcdir/"
gcc $pkgname.c -o $pkgname `pkg-config --cflags --libs gtk+-2.0`
}
package() {
cd "$srcdir/"
install -Dm755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/xfwpc_icon.png" "${pkgdir}/usr/bin/xfwpcnm_icon.png"
}Yes. i know i am moving the icon to /usr/bin. but the readme said the icon must be in the same directory as the binary
Last edited by raijin (2011-06-24 02:37:10)
Offline
Error message says it's looking for xfwpc_icon.png.
Offline
Pages: 1