diff options
author | bapt <bapt@FreeBSD.org> | 2013-10-03 05:57:39 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-10-03 05:57:39 +0800 |
commit | bd888def3d8fd475a70116faec6df33afe256fac (patch) | |
tree | ef107868a763535b1605af1027795f37d1bc7bbd /graphics | |
parent | 75f694885a824c29843c4e4fabd0b81e9e8d033f (diff) | |
download | freebsd-ports-gnome-bd888def3d8fd475a70116faec6df33afe256fac.tar.gz freebsd-ports-gnome-bd888def3d8fd475a70116faec6df33afe256fac.tar.zst freebsd-ports-gnome-bd888def3d8fd475a70116faec6df33afe256fac.zip |
The old gkrellm is not maintained upstream anymore, this plugin also has
a package name conflicting with its newer version.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/gkrellkam/Makefile | 32 | ||||
-rw-r--r-- | graphics/gkrellkam/distinfo | 2 | ||||
-rw-r--r-- | graphics/gkrellkam/files/patch-Makefile | 25 | ||||
-rw-r--r-- | graphics/gkrellkam/files/patch-gkrellkam.c | 134 | ||||
-rw-r--r-- | graphics/gkrellkam/pkg-descr | 4 |
6 files changed, 0 insertions, 198 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 03bfff5abcdc..550e76676bea 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -276,7 +276,6 @@ SUBDIR += gimp-save-for-web SUBDIR += gimpfx-foundry SUBDIR += giram - SUBDIR += gkrellkam SUBDIR += gkrellkam2 SUBDIR += gle SUBDIR += gle-graphics diff --git a/graphics/gkrellkam/Makefile b/graphics/gkrellkam/Makefile deleted file mode 100644 index 5a9e2f0d3293..000000000000 --- a/graphics/gkrellkam/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -# Created by: Patrick Li <pat@databits.net> -# $FreeBSD$ - -PORTNAME= gkrellkam -PORTVERSION= 0.3.4 -PORTREVISION= 9 -CATEGORIES= graphics -MASTER_SITES= SF -DISTNAME= ${PORTNAME}_${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= GKrellM plugin that display thumbnails of periodically updated images - -BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm -RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm - -NO_LATEST_LINK= yes - -WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} -USE_GNOME= imlib -USE_GMAKE= yes - -MAN5= gkrellkam-list.5 -PLIST_FILES= libexec/gkrellm/plugins/gkrellkam.so - -NO_STAGE= yes -do-install: - @${INSTALL_DATA} ${WRKSRC}/gkrellkam.so \ - ${PREFIX}/libexec/gkrellm/plugins - @${INSTALL_MAN} ${WRKSRC}/gkrellkam-list.5 ${MANPREFIX}/man/man5 - -.include <bsd.port.mk> diff --git a/graphics/gkrellkam/distinfo b/graphics/gkrellkam/distinfo deleted file mode 100644 index d18d8185ea98..000000000000 --- a/graphics/gkrellkam/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gkrellkam_0.3.4.tar.gz) = 77f79bfe5a444f01ca9ebb6d797fefb9d787e6251c694751906ce097f91b7c8b -SIZE (gkrellkam_0.3.4.tar.gz) = 27766 diff --git a/graphics/gkrellkam/files/patch-Makefile b/graphics/gkrellkam/files/patch-Makefile deleted file mode 100644 index 7c9e04268ebd..000000000000 --- a/graphics/gkrellkam/files/patch-Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- Makefile.orig Sat Sep 15 14:52:10 2001 -+++ Makefile Sat Sep 15 14:52:45 2001 -@@ -12,10 +12,9 @@ - # This should point to the GKrellM headers - GKRELLM_HDRS = /usr/include/gkrellm - --CC := gcc --GTKFLAGS := $(shell gtk-config --cflags) --IMLIBFLAGS := $(shell imlib-config --cflags-gdk) --CFLAGS := $(CFLAGS) -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I$(GKRELLM_HDRS) -+GTKFLAGS = `${GTK_CONFIG} --cflags` -+IMLIBFLAGS = `${IMLIB_CONFIG} --cflags-gdk` -+CFLAGS += -fPIC -Wall $(GTKFLAGS) $(IMLIBFLAGS) -I${LOCALBASE}/include/gkrellm - LDFLAGS := -shared -Wl - INST_DIR := $(DESTDIR)/usr/lib/gkrellm/plugins - USER_INST_DIR := $(DESTDIR)$(HOME)/.gkrellm/plugins -@@ -27,7 +26,7 @@ - all: $(TARGET).so - - %.so: %.o -- $(CC) $(LDFLAGS) -o $@ $< -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< - - clean: - -rm -f $(TARGET).so $(TARGET).o diff --git a/graphics/gkrellkam/files/patch-gkrellkam.c b/graphics/gkrellkam/files/patch-gkrellkam.c deleted file mode 100644 index 9c6b460b1388..000000000000 --- a/graphics/gkrellkam/files/patch-gkrellkam.c +++ /dev/null @@ -1,134 +0,0 @@ ---- gkrellkam.c.orig Fri Feb 1 16:41:26 2002 -+++ gkrellkam.c Sat Feb 2 01:05:50 2002 -@@ -146,8 +146,7 @@ - "_full_ filename in the \"Image Source\" box. To watch a webcam\n", - "or other online picture, or use an online list, just put its\n", - "address (beginning with http:// or ftp://) in the \"Image Source\n", --"box. Lists should end in \"-list\" or \".list\". You'll need GNU\n", --"wget installed to be able to get files from the internet.\n", -+"box. Lists should end in \"-list\" or \".list\".\n", - "Special case: when this field begins with \"-x\" followed by a\n", - "space and some more text, the remaining text is assumed to be a\n", - "script or other system commmand, and the whole path does not\n", -@@ -185,7 +184,6 @@ - "" - }; - --#define wget_opts "--cache=off" - #define BUFLEN 256 - #define MIN_NUMPANELS 0 - #define MAX_NUMPANELS 5 -@@ -691,11 +689,11 @@ - /* - start_img_dl () - -- Open a pipe and spawn wget. -+ Open a pipe and spawn fetch. - */ - static void start_img_dl (KKamPanel *p) - { -- gchar *wget_str; -+ gchar *fetch_str; - char tmpfile[] = TEMPTEMPLATE "XXXXXX"; - int tmpfd; - -@@ -711,16 +709,15 @@ - } - close (tmpfd); - -- wget_str = g_strdup_printf ("wget -q %s -O %s \"%s\"", -- wget_opts, tmpfile, -- panel_cursource (p)->img_name); -+ fetch_str = g_strdup_printf ("fetch -p -q -o %s \"%s\"", -+ tmpfile, panel_cursource (p)->img_name); - -- p->cmd_pipe = popen (wget_str, "r"); -- g_free (wget_str); -+ p->cmd_pipe = popen (fetch_str, "r"); -+ g_free (fetch_str); - if (p->cmd_pipe == NULL) - { - unlink (tmpfile); -- report_error (p, _("Couldn't start wget: %s"), strerror (errno)); -+ report_error (p, _("Couldn't start fetch: %s"), strerror (errno)); - return; - } - -@@ -820,7 +817,7 @@ - p->cmd_pipe = NULL; - - /* pclose will return a -1 on a wait4 error. If that happens, -- we have no way to know whether wget succeeded. Just try */ -+ we have no way to know whether fetch succeeded. Just try */ - if (ks->type == SOURCE_URL && code <= 0) - { - ks->next_dl = time (NULL) + ks->tlife; -@@ -828,7 +825,7 @@ - return 1; - } - -- report_error (p, _("Error: wget gave bad code or script died. code %d"), -+ report_error (p, _("Error: fetch gave bad code or script died. code %d"), - code); - return -1; - } -@@ -849,10 +846,10 @@ - } - else - { -- /* if we get here with wget, then wget said something. This is generally -+ /* if we get here with fetch, then fetch said something. This is generally - not good, since we passed -q. We'll have to wait for it to die */ - -- report_error (p, _("wget said: \"%s\""), buf); -+ report_error (p, _("fetch said: \"%s\""), buf); - return -1; - } - } -@@ -950,14 +947,14 @@ - code = 256; - - /* pclose will return a -1 on a wait4 error. If that happens, -- we have no way to know whether wget succeeded. Just try */ -+ we have no way to know whether fetch succeeded. Just try */ - if (code <= 0) - { - kkam_read_list (p, p->listurl_file, 0); - update_image (p); - } - else -- report_error (p, _("Error: wget listurl download died. code %d"), code); -+ report_error (p, _("Error: fetch listurl download died. code %d"), code); - - unlink (p->listurl_file); - g_free (p->listurl_file); -@@ -1631,7 +1628,7 @@ - - static void kkam_read_listurl (KKamPanel *p, char *source) - { -- gchar *wget_str; -+ gchar *fetch_str; - char tmpfile[] = TEMPTEMPLATE "-urllistXXXXXX"; - int tmpfd; - -@@ -1647,15 +1644,15 @@ - } - close (tmpfd); - -- wget_str = g_strdup_printf ("wget -q %s -O %s \"%s\"", -- wget_opts, tmpfile, source); -+ fetch_str = g_strdup_printf ("fetch -p -q -o %s \"%s\"", -+ tmpfile, source); - -- p->listurl_pipe = popen (wget_str, "r"); -- g_free (wget_str); -+ p->listurl_pipe = popen (fetch_str, "r"); -+ g_free (fetch_str); - if (p->listurl_pipe == NULL) - { - unlink (tmpfile); -- report_error (p, _("Couldn't start wget for list download: %s"), -+ report_error (p, _("Couldn't start fetch for list download: %s"), - strerror (errno)); - return; - } diff --git a/graphics/gkrellkam/pkg-descr b/graphics/gkrellkam/pkg-descr deleted file mode 100644 index 9ff7dd78475f..000000000000 --- a/graphics/gkrellkam/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -A plugin to GKrellM that displays thumbnails of periodically updated -images - -WWW: http://gkrellkam.sourceforge.net/ |