summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2021-09-02 20:36:49 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2021-09-02 20:36:49 +0200
commit5d1322d293091ebab68da07f5f9b585e46e214d3 (patch)
tree9a68c6213ac497d968eae1e01ad76ba00fb2db50
parent34c1bcf4d631a39b03bc7624b245332d4581a14e (diff)
add xmag 1.0.6
-rw-r--r--meta/xenocara/Makefile1
-rw-r--r--x11/xmag/Makefile30
-rw-r--r--x11/xmag/distinfo2
-rw-r--r--x11/xmag/pkg/DESCR19
-rw-r--r--x11/xmag/pkg/PLIST4
5 files changed, 56 insertions, 0 deletions
diff --git a/meta/xenocara/Makefile b/meta/xenocara/Makefile
index ddbdf5f..54ad74f 100644
--- a/meta/xenocara/Makefile
+++ b/meta/xenocara/Makefile
@@ -25,6 +25,7 @@ RUN_DEPENDS = \
x11/xlockmore-obsd \
x11/xlogo \
x11/xlsfonts \
+ x11/xmag \
x11/xmodmap \
x11/xrandr \
x11/xset \
diff --git a/x11/xmag/Makefile b/x11/xmag/Makefile
new file mode 100644
index 0000000..cf331c6
--- /dev/null
+++ b/x11/xmag/Makefile
@@ -0,0 +1,30 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+COMMENT = X Window System magnifier
+
+
+DISTNAME = xmag-1.0.6
+CATEGORIES = x11
+
+HOMEPAGE = https://gitlab.freedesktop.org/xorg/app/xmag
+
+MAINTAINER = xenocara@openbsd.org
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+WANTLIB = Xaw7 Xmu Xt X11 c m
+
+MASTER_SITES = ${MASTER_SITE_XORG:=app/}
+
+MODULES = xenocara
+
+BUILD_DEPENDS = devel/xorgproto
+
+LIB_DEPENDS = x11/libXaw
+
+SEPARATE_BUILD = Yes
+CONFIGURE_STYLE = gnu
+
+NO_TEST = Yes
+
+.include <bsd.port.mk>
diff --git a/x11/xmag/distinfo b/x11/xmag/distinfo
new file mode 100644
index 0000000..c6631f5
--- /dev/null
+++ b/x11/xmag/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xmag-1.0.6.tar.gz) = B8XskRQ3bc2aMwOjh3nnm5SdSG87gy1KQ4VQNX15eqU=
+SIZE (xmag-1.0.6.tar.gz) = 179275
diff --git a/x11/xmag/pkg/DESCR b/x11/xmag/pkg/DESCR
new file mode 100644
index 0000000..9bf6c50
--- /dev/null
+++ b/x11/xmag/pkg/DESCR
@@ -0,0 +1,19 @@
+The xmag program allows you to magnify portions of an X screen. If no
+explicit region is specified, a square with the pointer in the upper
+left corner is displayed indicating the area to be enlarged. The area
+can be dragged out to the desired size by pressing Button 2. Once a
+region has been selected, a window is popped up showing a blown up
+version of the region in which each pixel in the source image is
+represented by a small square of the same color. Pressing Button1 in
+the enlargement window shows the position and RGB value of the pixel
+under the pointer until the button is released. Typing ``Q'' or
+``^C'' in the enlargement window exits the program. The application
+has 5 buttons across its top. Close deletes this particular
+magnification instance. Replace brings up the rubber band selector
+again to select another region for this magnification instance. New
+brings up the rubber band selector to create a new magnification
+instance. Select puts the magnification image into the primary
+selection. Paste copies the primary selection buffer into xmag. Note
+that you can cut and paste between xmag and the bitmap program.
+Resizing xmag resizes the magnification area. xmag preserves the
+colormap, visual, and window depth of the source.
diff --git a/x11/xmag/pkg/PLIST b/x11/xmag/pkg/PLIST
new file mode 100644
index 0000000..d845dab
--- /dev/null
+++ b/x11/xmag/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $OpenBSD: PLIST,v$
+@bin bin/xmag
+@man man/man1/xmag.1
+share/X11/app-defaults/Xmag