graphics/telak: Update to 0.7

- Update WWW
- Update URL to sample config
This commit is contained in:
Emanuel Haupt 2022-03-03 10:05:08 +01:00
parent 546f158ae9
commit ae0a77505b
7 changed files with 15 additions and 34 deletions

View File

@ -1,11 +1,9 @@
# Created by: Emanuel Haupt <ehaupt@critical.ch> # Created by: Emanuel Haupt <ehaupt@critical.ch>
PORTNAME= telak PORTNAME= telak
PORTVERSION= 0.6 PORTVERSION= 0.7
PORTREVISION= 8 DISTVERSIONPREFIX= v
CATEGORIES= graphics CATEGORIES= graphics
MASTER_SITES= http://julien.danjou.info/telak/ \
LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Tool to draw pictures on your root window COMMENT= Tool to draw pictures on your root window
@ -17,11 +15,14 @@ LIB_DEPENDS= libcurl.so:ftp/curl \
libImlib2.so:graphics/imlib2 libImlib2.so:graphics/imlib2
USES= gmake xorg USES= gmake xorg
USE_GITHUB= yes
GH_ACCOUNT= jd
USE_XORG= x11 USE_XORG= x11
ALL_TARGET= ${PORTNAME} ALL_TARGET= ${PORTNAME}
PLIST_FILES= bin/telak man/man1/telak.1.gz PLIST_FILES= bin/telak \
man/man1/telak.1.gz
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

View File

@ -1,2 +1,3 @@
SHA256 (telak-0.6.tar.gz) = 6737e15307b580ce61e3b4293c7a68ff46998f1e44051c83920f072c365ec22e TIMESTAMP = 1646293024
SIZE (telak-0.6.tar.gz) = 18425 SHA256 (jd-telak-v0.7_GH0.tar.gz) = 864c0de98434138058471b91f3ab3a40dca859cb2878b731a11befbab9929ee0
SIZE (jd-telak-v0.7_GH0.tar.gz) = 144237

View File

@ -8,7 +8,7 @@ cat << "EOF" > $HOME/.telak/telakrc
# telakrc - see telak(1) for more config options # telakrc - see telak(1) for more config options
[example] [example]
url = http://www.critical.ch/telak/d-mon.gif url = https://critical.ch/telak/d-mon.png
x = 15 x = 15
y = 15 y = 15

View File

@ -1,13 +1,13 @@
--- Makefile.orig 2008-03-20 15:05:59 UTC --- Makefile.orig 2021-11-19 07:48:49 UTC
+++ Makefile +++ Makefile
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
VERSION = $(shell grep '^Version' ChangeLog | head -n 1 | cut -d' ' -f2 | tr -d ' ') VERSION = $(shell grep '^Version' ChangeLog | head -n 1 | cut -d' ' -f2 | tr -d ' ')
BIN = telak BIN = telak
O = telak.o fetch.o image.o parse.o toon.o O = telak.o fetch.o image.o parse.o toon.o
-LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt -LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt -lX11
-CFLAGS = -pg -W -Wall $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\"" -g -CFLAGS = -pg -W -Wall $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\"" -g
+LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt -lX11 +LDFLAGS += $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt -lX11
+CFLAGS += $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\"" +CFLAGS += -pg -W -Wall $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\""
BINDIR=$(DESTDIR)/usr/bin BINDIR=$(DESTDIR)/usr/bin
MANDIR=$(DESTDIR)/usr/share/man/man1 MANDIR=$(DESTDIR)/usr/share/man/man1

View File

@ -1,11 +0,0 @@
--- toon.c.orig 2008-02-25 16:41:19 UTC
+++ toon.c
@@ -95,6 +95,8 @@
#include <stdio.h>
#include <string.h>
+char toon_message[TOON_MESSAGE_LENGTH];
+
/* Time to throw up. Here is a kludgey function that recursively calls
* itself (up to a limit) to find the window ID of the KDE desktop to
* draw on. It works with KDE 2.0, but since KDE 2.0 is less stable

View File

@ -1,10 +0,0 @@
--- toon.h.orig 2008-02-25 16:41:19 UTC
+++ toon.h
@@ -1,6 +1,6 @@
#include <X11/Xlib.h>
#define TOON_MESSAGE_LENGTH 128
-char toon_message[TOON_MESSAGE_LENGTH];
+/* char toon_message[TOON_MESSAGE_LENGTH]; */
Window ToonGetRootWindow(Display *display, int screen, Window *clientparent);

View File

@ -1,4 +1,4 @@
Telak is a small tool to draw local or remote 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. This is very useful if you want to have RRD graphs drawn above your wallpaper.
WWW: http://julien.danjou.info/projects/telak WWW: https://github.com/jd/telak