ports/86069: new port: graphics/telak - Tool to draw pictures on your root window
Emanuel Haupt
ehaupt at critical.ch
Tue Sep 13 14:10:13 UTC 2005
>Number: 86069
>Category: ports
>Synopsis: new port: graphics/telak - Tool to draw pictures on your root window
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 13 14:10:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root at admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386
>Description:
new port: graphics/telak - Tool to draw pictures on your root window
Telak is a small tool to draw local or remote pictures on your root window.
This is very useful if you want to have RRD graphs drawn above your wallpaper.
- build problem on 4.x reported to author
(telak.h:33: error: field `tv' has incomplete type)
>How-To-Repeat:
>Fix:
--- telak.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# telak
# telak/Makefile
# telak/pkg-descr
# telak/distinfo
# telak/files
# telak/files/patch-Makefile
# telak/files/install-user
# telak/pkg-message
#
echo c - telak
mkdir -p telak > /dev/null 2>&1
echo x - telak/Makefile
sed 's/^X//' >telak/Makefile << 'END-of-telak/Makefile'
X# New ports collection makefile for: telak
X# Date created: 13 Sep 2005
X# Whom: Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME= telak
XPORTVERSION= 0.3
XCATEGORIES= graphics
XMASTER_SITES= http://julien.danjou.info/telak/
X
XMAINTAINER= ehaupt at critical.ch
XCOMMENT= Tool to draw pictures on your root window
X
XLIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl \
X idn.16:${PORTSDIR}/devel/libidn \
X gcrypt.13:${PORTSDIR}/security/libgcrypt \
X gpg-error:${PORTSDIR}/security/libgpg-error \
X Imlib2.3:${PORTSDIR}/graphics/imlib2
X
XUSE_GMAKE= yes
XUSE_X_PREFIX= yes
X
XALL_TARGET= ${PORTNAME}
X
XPLIST_FILES= bin/telak
XMAN1= telak.1
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XBROKEN= "Does not compile on FreeBSD 4.x"
X.endif
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
Xinstall-user:
X @${SH} ${FILESDIR}/install-user
X
X.include <bsd.port.post.mk>
END-of-telak/Makefile
echo x - telak/pkg-descr
sed 's/^X//' >telak/pkg-descr << 'END-of-telak/pkg-descr'
XTelak is a small tool to draw local or remote pictures on your root window.
XThis is very useful if you want to have RRD graphs drawn above your wallpaper.
X
XWWW: http://julien.danjou.info/telak.html
X
X- ehaupt
Xehaupt at critical.ch
END-of-telak/pkg-descr
echo x - telak/distinfo
sed 's/^X//' >telak/distinfo << 'END-of-telak/distinfo'
XMD5 (telak-0.3.tar.gz) = 5c213bc476bc3d2fe78c7267691cb2bd
XSIZE (telak-0.3.tar.gz) = 13949
END-of-telak/distinfo
echo c - telak/files
mkdir -p telak/files > /dev/null 2>&1
echo x - telak/files/patch-Makefile
sed 's/^X//' >telak/files/patch-Makefile << 'END-of-telak/files/patch-Makefile'
X--- Makefile.orig Tue Sep 13 11:09:57 2005
X+++ Makefile Tue Sep 13 11:11:11 2005
X@@ -2,7 +2,7 @@
X BIN = telak
X O = telak.o fetch.o image.o parse.o
X LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt
X-CFLAGS = -W -Wall $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\"" -g
X+CFLAGS += $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\""
X
X BINDIR=$(DESTDIR)/usr/bin
X MANDIR=$(DESTDIR)/usr/share/man/man1
END-of-telak/files/patch-Makefile
echo x - telak/files/install-user
sed 's/^X//' >telak/files/install-user << 'END-of-telak/files/install-user'
X#!/bin/sh
X#
X# Emanuel Haupt <ehaupt at critical.ch>
X#
X# $FreeBSD$
X
Xwriteconf()
X{
Xcat << "EOF" > $HOME/.telak/telakrc
X# telakrc - see telak(1) for more config options
X
X[example]
Xurl = http://www.critical.ch/telak/d-mon.gif
Xx = 15
Xy = 15
X
XEOF
X}
X
Xif [ ! -d $HOME/.telak/cache ]; then
X mkdir -p $HOME/.telak/cache
X if [ ! -f $HOME/.telak/telakrc ]; then
X writeconf
X echo "Example config successfully installed under $HOME/.telak/"
X else
X echo "$HOME/.telak/telakrc does already exist."
X fi
Xelse
X echo "$HOME/.telak does already exist."
Xfi
END-of-telak/files/install-user
echo x - telak/pkg-message
sed 's/^X//' >telak/pkg-message << 'END-of-telak/pkg-message'
X===============================================================================
XTo install an example config file type 'make install-user' as user
X===============================================================================
END-of-telak/pkg-message
exit
--- telak.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list