diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-01-05 19:57:02 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-01-05 19:57:02 +0000 |
commit | 0c5c4a5fb73f6412c12451e2a35d8ecfcbda711e (patch) | |
tree | 96b452dc73711187ec3f9391aa2b84fda6834940 /graphics/wmgrabimage | |
parent | 30593878f378c88b4af4c50e83cc79a3e0634897 (diff) | |
download | ports-0c5c4a5fb73f6412c12451e2a35d8ecfcbda711e.tar.gz ports-0c5c4a5fb73f6412c12451e2a35d8ecfcbda711e.zip |
A windowmaker DockApp that maintains a small thumbnail copy
of your favorite image from the WWW.
PR: 14696
Submitted by: Osokin Sergey <ozz@FreeBSD.org.ru>
Notes
Notes:
svn path=/head/; revision=24441
Diffstat (limited to 'graphics/wmgrabimage')
-rw-r--r-- | graphics/wmgrabimage/Makefile | 30 | ||||
-rw-r--r-- | graphics/wmgrabimage/distinfo | 1 | ||||
-rw-r--r-- | graphics/wmgrabimage/files/patch-aa | 19 | ||||
-rw-r--r-- | graphics/wmgrabimage/files/patch-ab | 11 | ||||
-rw-r--r-- | graphics/wmgrabimage/files/patch-ac | 11 | ||||
-rw-r--r-- | graphics/wmgrabimage/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/wmgrabimage/pkg-descr | 22 | ||||
-rw-r--r-- | graphics/wmgrabimage/pkg-plist | 2 |
8 files changed, 97 insertions, 0 deletions
diff --git a/graphics/wmgrabimage/Makefile b/graphics/wmgrabimage/Makefile new file mode 100644 index 000000000000..1a3f419518ca --- /dev/null +++ b/graphics/wmgrabimage/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: wmGrabImage +# Version required: 0.70 +# Date created: 4th November 1999 +# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru> +# +# $FreeBSD$ +# + +DISTNAME= wmGrabImage-0.70 +CATEGORIES= graphics windowmaker +MASTER_SITES= http://nis-www.lanl.gov/~mgh/WindowMaker/ + +MAINTAINER= ozz@FreeBSD.org.ru + +LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm +RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick + +WRKSRC= ${WRKDIR}/${DISTNAME}/wmGrabImage + +USE_GMAKE= YES +USE_X_PREFIX= YES + +MAN1= wmGrabImage.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/wmGrabImage ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/GrabImage ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/wmGrabImage.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/graphics/wmgrabimage/distinfo b/graphics/wmgrabimage/distinfo new file mode 100644 index 000000000000..9cfd002816e3 --- /dev/null +++ b/graphics/wmgrabimage/distinfo @@ -0,0 +1 @@ +MD5 (wmGrabImage-0.70.tar.gz) = f77223e45fbcb7056eb4ae9393c3f601 diff --git a/graphics/wmgrabimage/files/patch-aa b/graphics/wmgrabimage/files/patch-aa new file mode 100644 index 000000000000..70686c05bc63 --- /dev/null +++ b/graphics/wmgrabimage/files/patch-aa @@ -0,0 +1,19 @@ +--- Makefile.orig Thu Nov 4 01:07:27 1999 ++++ Makefile Thu Nov 4 01:07:55 1999 +@@ -1,6 +1,6 @@ + CC = gcc + CFLAGS = -O2 -Wall +-INCDIR = -I/usr/X11R6/include/X11 ++INCDIR = -I/usr/X11R6/include + DESTDIR= /usr/X11R6 + LIBDIR = -L/usr/X11R6/lib + # for linux +@@ -12,7 +12,7 @@ + + + .c.o: +- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR) ++ $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR) + + + all: wmGrabImage.o wmGrabImage diff --git a/graphics/wmgrabimage/files/patch-ab b/graphics/wmgrabimage/files/patch-ab new file mode 100644 index 000000000000..d7f451a44fde --- /dev/null +++ b/graphics/wmgrabimage/files/patch-ab @@ -0,0 +1,11 @@ +--- GrabImage.orig Thu Nov 4 01:44:43 1999 ++++ GrabImage Thu Nov 4 01:46:12 1999 +@@ -52,7 +52,7 @@ + # I think some of these wget command line options may cause problems + # for some people? Dont know why... + # +- $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmGrabImage/$ImageName $URL"; ++ $GrabCmd = "fetch -p -q -o $home/.wmGrabImage/$ImageName $URL"; + system "$GrabCmd"; + + } diff --git a/graphics/wmgrabimage/files/patch-ac b/graphics/wmgrabimage/files/patch-ac new file mode 100644 index 000000000000..bea27352d3d9 --- /dev/null +++ b/graphics/wmgrabimage/files/patch-ac @@ -0,0 +1,11 @@ +--- wmGrabImage.1.orig Thu Nov 4 02:20:22 1999 ++++ wmGrabImage.1 Thu Nov 4 02:20:58 1999 +@@ -47,7 +47,7 @@ + The original sized image and the thumbnail XPM image are both stored in + ~/.wmGrabImage/ which gets created if it doesnt already exist. + .SH SEE ALSO +-wget and the ImageMagick convert utility. ++fetch and the ImageMagick convert utility. + .SH BUGS + Who knows? -- its still Beta though. (Let me know if you find any). Oldish + versions of the ImageMagick convert utility have a memory leak -- if you have diff --git a/graphics/wmgrabimage/pkg-comment b/graphics/wmgrabimage/pkg-comment new file mode 100644 index 000000000000..29b1449951cc --- /dev/null +++ b/graphics/wmgrabimage/pkg-comment @@ -0,0 +1 @@ +Monitor your favorite web image. diff --git a/graphics/wmgrabimage/pkg-descr b/graphics/wmgrabimage/pkg-descr new file mode 100644 index 000000000000..b45d61319176 --- /dev/null +++ b/graphics/wmgrabimage/pkg-descr @@ -0,0 +1,22 @@ +wmGrabImage is a WindowMaker DockApp that maintains a small thumbnail copy of +your favorite image from the WWW. The image to monitor is specified via the +"-url <Image URL>" command-line option and it gets updated approximately every +5 minutes. The update interval can be overridden via the "-delay <Time>" +command-line option (Time is in seconds). + +Each of the three mouse buttons can be double clicked with the +following effects: + +Left Mouse: +Brings up the full-sized image in xv. + +Middle Mouse: +Sends a URL (specified via the -http <URL> command-line option) to an already +running netscape process or in a new netscape process if there arent any +running. + +Right Mouse: +Updates the image immediately. + +Author: Michael G. Henderson <mghenderson@lanl.gov> +Ported: Osokin Sergey aka oZZ <ozz@FreeBSD.org.ru> diff --git a/graphics/wmgrabimage/pkg-plist b/graphics/wmgrabimage/pkg-plist new file mode 100644 index 000000000000..f00b42079f07 --- /dev/null +++ b/graphics/wmgrabimage/pkg-plist @@ -0,0 +1,2 @@ +bin/wmGrabImage +bin/GrabImage |