summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>1995-02-27 02:47:49 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>1995-02-27 02:47:49 +0000
commit16670163d28727f7273c82874abbc566d0dd24a5 (patch)
tree367077ada2603be6fcba2951f12cc53526c13975 /x11
parentCorrect the patch file so that the patches doesn't get rejected :-). (diff)
xgrab, xgrabsc: an X-Windows image grabber
Notes
Notes: svn path=/head/; revision=1047
Diffstat (limited to 'x11')
-rw-r--r--x11/xgrab/Makefile8
-rw-r--r--x11/xgrab/distinfo1
-rw-r--r--x11/xgrab/files/patch-aa19
-rw-r--r--x11/xgrab/files/patch-ab24
-rw-r--r--x11/xgrab/pkg-comment1
-rw-r--r--x11/xgrab/pkg-descr3
-rw-r--r--x11/xgrab/pkg-plist8
7 files changed, 64 insertions, 0 deletions
diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile
new file mode 100644
index 000000000000..347e384046ef
--- /dev/null
+++ b/x11/xgrab/Makefile
@@ -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>
diff --git a/x11/xgrab/distinfo b/x11/xgrab/distinfo
new file mode 100644
index 000000000000..2f65715b21a0
--- /dev/null
+++ b/x11/xgrab/distinfo
@@ -0,0 +1 @@
+MD5 (xgrabsc.2_3.tar.gz) = f6a0f087d78d1d1ba1614508d339dd55
diff --git a/x11/xgrab/files/patch-aa b/x11/xgrab/files/patch-aa
new file mode 100644
index 000000000000..5e61feaa88f2
--- /dev/null
+++ b/x11/xgrab/files/patch-aa
@@ -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
+
diff --git a/x11/xgrab/files/patch-ab b/x11/xgrab/files/patch-ab
new file mode 100644
index 000000000000..d0d0449d5a31
--- /dev/null
+++ b/x11/xgrab/files/patch-ab
@@ -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
+ }
+
+
diff --git a/x11/xgrab/pkg-comment b/x11/xgrab/pkg-comment
new file mode 100644
index 000000000000..545a5fbb14e1
--- /dev/null
+++ b/x11/xgrab/pkg-comment
@@ -0,0 +1 @@
+xgrab, xgrabsc: an X-Windows image grabber
diff --git a/x11/xgrab/pkg-descr b/x11/xgrab/pkg-descr
new file mode 100644
index 000000000000..2ed019d2c45c
--- /dev/null
+++ b/x11/xgrab/pkg-descr
@@ -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.
diff --git a/x11/xgrab/pkg-plist b/x11/xgrab/pkg-plist
new file mode 100644
index 000000000000..6a27e0ff78aa
--- /dev/null
+++ b/x11/xgrab/pkg-plist
@@ -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