aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-01-06 03:57:02 +0800
committerade <ade@FreeBSD.org>2000-01-06 03:57:02 +0800
commit528d4cd60c47b0128668603b543535c0b9bd0f37 (patch)
treef08b0e99481c9463b34eca24218782b5ed44d957
parente9248f739482b77f05560d6d0dcd46640c1c6315 (diff)
downloadfreebsd-ports-gnome-528d4cd60c47b0128668603b543535c0b9bd0f37.tar.gz
freebsd-ports-gnome-528d4cd60c47b0128668603b543535c0b9bd0f37.tar.zst
freebsd-ports-gnome-528d4cd60c47b0128668603b543535c0b9bd0f37.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>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/wmgrabimage/Makefile30
-rw-r--r--graphics/wmgrabimage/distinfo1
-rw-r--r--graphics/wmgrabimage/files/patch-aa19
-rw-r--r--graphics/wmgrabimage/files/patch-ab11
-rw-r--r--graphics/wmgrabimage/files/patch-ac11
-rw-r--r--graphics/wmgrabimage/pkg-comment1
-rw-r--r--graphics/wmgrabimage/pkg-descr22
-rw-r--r--graphics/wmgrabimage/pkg-plist2
9 files changed, 98 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 3f71b0315425..00a8f3d402a7 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -140,6 +140,7 @@
SUBDIR += urt
SUBDIR += vcg
SUBDIR += whirlgif
+ SUBDIR += wmgrabimage
SUBDIR += wmicons
SUBDIR += xanim
SUBDIR += xaos
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