Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  3 Nov 1999 16:00:00 -0800 (PST)
From:      ozz@FreeBSD.org.ru
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/14696: New port: wmGrabImage
Message-ID:  <19991104000000.B5A7E1529F@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         14696
>Category:       ports
>Synopsis:       New port: wmGrabImage
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov  3 16:10:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Osokin Sergey
>Release:        3.3-STABLE
>Organization:
http://www.freebsd.org.ru
>Environment:
3.3-STABLE
>Description:
New port: wmGrabImage-0.70
>How-To-Repeat:

>Fix:
echo c - wmGrabImage
mkdir -p wmGrabImage > /dev/null 2>&1
echo x - wmGrabImage/Makefile
sed 's/^X//' >wmGrabImage/Makefile << 'END-of-wmGrabImage/Makefile'
X# New ports collection makefile for: wmGrabImage
X# Version required: 1.0b1
X# Date created:                04 November 1999
X# Whom:                        Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
X#
X# $FreeBSD: Exp $
X#
X
XDISTNAME=      wmGrabImage-0.70
XCATEGORIES=    x11 windowmaker graphics
XMASTER_SITES=  http://nis-www.lanl.gov/~mgh/WindowMaker/
X
XMAINTAINER=    ozz@FreeBSD.org.ru
X
XLIB_DEPENDS=   Xpm.4:${PORTSDIR}/graphics/xpm
XRUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick
X
XWRKSRC=                ${WRKDIR}/${DISTNAME}/wmGrabImage
XUSE_GMAKE=     yes
XUSE_X_PREFIX=  yes
X
Xdo-install:
X               @ ${INSTALL_PROGRAM} ${WRKSRC}/wmGrabImage ${PREFIX}/bin
X               @ ${INSTALL_SCRIPT} ${WRKSRC}/GrabImage ${PREFIX}/bin
X               @ ${INSTALL_MAN} ${WRKSRC}/wmGrabImage.1 ${PREFIX}/man/man1
X
XMAN1=          wmGrabImage.1
X
X.include <bsd.port.mk>
END-of-wmGrabImage/Makefile
echo c - wmGrabImage/files
mkdir -p wmGrabImage/files > /dev/null 2>&1
echo c - wmGrabImage/patches
mkdir -p wmGrabImage/patches > /dev/null 2>&1
echo c - wmGrabImage/pkg
mkdir -p wmGrabImage/pkg > /dev/null 2>&1

echo x - wmGrabImage/files/md5
sed 's/^X//' >wmGrabImage/files/md5 << 'END-of-wmGrabImage/files/md5'
XMD5 (wmGrabImage-0.70.tar.gz) = f77223e45fbcb7056eb4ae9393c3f601
END-of-wmGrabImage/files/md5
echo x - wmGrabImage/patches/patch-aa
sed 's/^X//' >wmGrabImage/patches/patch-aa << 'END-of-wmGrabImage/patches/patch-aa'
X--- Makefile.orig      Thu Nov  4 01:07:27 1999
X+++ Makefile   Thu Nov  4 01:07:55 1999
X@@ -1,6 +1,6 @@
X CC     = gcc
X CFLAGS = -O2 -Wall
X-INCDIR = -I/usr/X11R6/include/X11
X+INCDIR = -I/usr/X11R6/include
X DESTDIR= /usr/X11R6
X LIBDIR = -L/usr/X11R6/lib
X # for linux
X@@ -12,7 +12,7 @@
X
X
X .c.o:
X-      $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
X+      $(CC) $(CFLAGS) -c $< -o $*.o $(INCDIR)
X
X
X all:  wmGrabImage.o wmGrabImage
END-of-wmGrabImage/patches/patch-aa
echo x - wmGrabImage/patches/patch-ab
sed 's/^X//' >wmGrabImage/patches/patch-ab << 'END-of-wmGrabImage/patches/patch-ab'
X--- GrabImage.orig     Thu Nov  4 01:44:43 1999
X+++ GrabImage  Thu Nov  4 01:46:12 1999
X@@ -52,7 +52,7 @@
X         #  I think some of these wget command line options may cause problems
X         #  for some people? Dont know why...
X         #
X-        $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmGrabImage/$ImageName $URL";
X+        $GrabCmd = "fetch -p -o $home/.wmGrabImage/$ImageName $URL";
X         system "$GrabCmd";
X
X     }
END-of-wmGrabImage/patches/patch-ab
echo x - wmGrabImage/patches/patch-ac
sed 's/^X//' >wmGrabImage/patches/patch-ac << 'END-of-wmGrabImage/patches/patch-ac'
X--- wmGrabImage.1.orig Thu Nov  4 02:20:22 1999
X+++ wmGrabImage.1      Thu Nov  4 02:20:58 1999
X@@ -47,7 +47,7 @@
X The original sized image and the thumbnail XPM image are both stored in
X ~/.wmGrabImage/ which gets created if it doesnt already exist.
X .SH SEE ALSO
X-wget and the ImageMagick convert utility.
X+fetch and the ImageMagick convert utility.
X .SH BUGS
X Who knows? -- its still Beta though. (Let me know if you find any). Oldish
X versions of the ImageMagick convert utility have a memory leak -- if you have
END-of-wmGrabImage/patches/patch-ac
echo x - wmGrabImage/pkg/COMMENT
sed 's/^X//' >wmGrabImage/pkg/COMMENT << 'END-of-wmGrabImage/pkg/COMMENT'
XMonitor your favorite web image.
END-of-wmGrabImage/pkg/COMMENT
echo x - wmGrabImage/pkg/DESCR 
sed 's/^X//' >wmGrabImage/pkg/DESCR << 'END-of-wmGrabImage/pkg/DESCR'
XwmGrabImage is a WindowMaker DockApp that maintains a small thumbnail copy of
Xyour favorite image from the WWW.  The image to monitor is specified via the
X"-url <Image URL>" command-line option and it gets updated approximately every
X5 minutes.  The update interval can be overridden via the "-delay <Time>"
Xcommand-line option (Time is in seconds).
X 
XEach of the three mouse buttons can be double clicked with the following effects;
X
XLeft Mouse:
XBrings up the full-sized image in xv.
X 
XMiddle Mouse:
XSends a URL (specified via the -http <URL> command-line option) to an already
Xrunning netscape process or in a new netscape process if there arent any
Xrunning.
X 
XRight Mouse: 
XUpdates the image immediately.
X
XAuthor: Michael G. Henderson <mghenderson@lanl.gov>
XPorted: Osokin Sergey aka oZZ <ozz@FreeBSD.org.ru>
END-of-wmGrabImage/pkg/DESCR
echo x - wmGrabImage/pkg/PLIST
sed 's/^X//' >wmGrabImage/pkg/PLIST << 'END-of-wmGrabImage/pkg/PLIST'
Xbin/wmGrabImage
Xbin/GrabImage  
END-of-wmGrabImage/pkg/PLIST
exit      


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991104000000.B5A7E1529F>