xgrab, xgrabsc: an X-Windows image grabber

This commit is contained in:
Jean-Marc Zucconi 1995-02-27 02:47:49 +00:00
parent 7f3fb9917e
commit 16670163d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1047
7 changed files with 64 additions and 0 deletions

8
x11/xgrab/Makefile Normal file
View File

@ -0,0 +1,8 @@
DISTNAME= xgrabsc.2_3
USE_IMAKE= yes
MASTER_SITES= ftp://ftp.sunet.se/pub/X11/R5contrib/
MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \
XAPPLOADDIR=${PREFIX}/lib/app-defaults -f
.include <bsd.port.mk>

1
x11/xgrab/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xgrabsc.2_3.tar.gz) = f6a0f087d78d1d1ba1614508d339dd55

19
x11/xgrab/files/patch-aa Normal file
View File

@ -0,0 +1,19 @@
*** Imakefile~ Mon Jun 28 18:14:48 1993
--- Imakefile Mon Feb 27 03:19:47 1995
***************
*** 21,27 ****
* DEFINES= $(SIGNAL_DEFINES) -DNO_RLE_CHECKS
*/
! XRDB=/usr/bin/X11/xrdb
CDebugFlags = -O
--- 21,27 ----
* DEFINES= $(SIGNAL_DEFINES) -DNO_RLE_CHECKS
*/
! XRDB=/usr/X11R6/bin/xrdb
CDebugFlags = -O

24
x11/xgrab/files/patch-ab Normal file
View File

@ -0,0 +1,24 @@
*** xgrabsc.c~ Mon Jun 28 18:14:49 1993
--- xgrabsc.c Mon Feb 27 03:17:58 1995
***************
*** 246,251 ****
--- 246,252 ----
int ScreenNumberOfScreen (scr)
register Screen *scr;
{
+ #ifdef BROKEN
register Display *dpy = scr->display;
register Screen *dpyscr = dpy->screens;
register int i;
***************
*** 254,259 ****
--- 255,263 ----
if (scr == dpyscr) return i;
}
return -1;
+ #else
+ return XScreenNumberOfScreen (scr);
+ #endif
}

1
x11/xgrab/pkg-comment Normal file
View File

@ -0,0 +1 @@
xgrab, xgrabsc: an X-Windows image grabber

3
x11/xgrab/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
xgrab lets you grab arbitrary rectangular images from an X server and
writes them to files or commands (such as lpr) in a variety of
formats.

8
x11/xgrab/pkg-plist Normal file
View File

@ -0,0 +1,8 @@
@cd /usr/local
@mode 755
bin/xgrab
bin/xgrabsc
@mode 444
lib/app-defaults/Xgrab
man/man1/xgrab.1.gz
man/man1/xgrabsc.1.gz