1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

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>
This commit is contained in:
Ade Lovett 2000-01-05 19:57:02 +00:00
parent 30593878f3
commit 0c5c4a5fb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24441
9 changed files with 98 additions and 0 deletions

View File

@ -140,6 +140,7 @@
SUBDIR += urt
SUBDIR += vcg
SUBDIR += whirlgif
SUBDIR += wmgrabimage
SUBDIR += wmicons
SUBDIR += xanim
SUBDIR += xaos

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (wmGrabImage-0.70.tar.gz) = f77223e45fbcb7056eb4ae9393c3f601

View File

@ -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

View File

@ -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";
}

View File

@ -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

View File

@ -0,0 +1 @@
Monitor your favorite web image.

View File

@ -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>

View File

@ -0,0 +1,2 @@
bin/wmGrabImage
bin/GrabImage