pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add glazier: user request



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Feb 13 13:22:59 2022 +0100
Changeset:	5e104e27aea42fdc5bb3046423dd6c5a18df77a6

Modified Files:
	Makefile
Added Files:
	glazier/DESCR
	glazier/Makefile
	glazier/PLIST
	glazier/TODO
	glazier/distinfo

Log Message:
Add glazier: user request

Currently fails to build, see log in TODO.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5e104e27aea42fdc5bb3046423dd6c5a18df77a6

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  1 +
 glazier/DESCR    | 15 +++++++++++++++
 glazier/Makefile | 37 +++++++++++++++++++++++++++++++++++++
 glazier/PLIST    |  4 ++++
 glazier/TODO     | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 glazier/distinfo |  5 +++++
 6 files changed, 118 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a6e091f646..89eaf0d9d3 100644
--- a/Makefile
+++ b/Makefile
@@ -1157,6 +1157,7 @@ SUBDIR+=	givaro
 SUBDIR+=	gjots2
 SUBDIR+=	gksu
 SUBDIR+=	gl2ps
+SUBDIR+=	glazier
 SUBDIR+=	gleam
 SUBDIR+=	gleam-stdlib
 SUBDIR+=	glib-java
diff --git a/glazier/DESCR b/glazier/DESCR
new file mode 100644
index 0000000000..a9712c9124
--- /dev/null
+++ b/glazier/DESCR
@@ -0,0 +1,15 @@
+X windows manipulator.
+
+Windows are manipulated using the mouse, and can be moved/resized in
+multiple ways. This utility is better used in combination with others like
+[wmutils][0] and [sxhkd][1] which leverage the keyboard interface,
+rather than mouse usage.
+
+Features
+- Floating window management
+- Sloppy Focus
+- All manipulations done with the mouse
+- Cool operations like teleport, inflate/deflate
+- 100% compatible with wmutils(1)
+- Optional EWMH support through ewmh(1)
+- Multi-monitor support through Xrandr(3)
diff --git a/glazier/Makefile b/glazier/Makefile
new file mode 100644
index 0000000000..a45a306d9f
--- /dev/null
+++ b/glazier/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME=	glazier-1.0
+CATEGORIES=	wm
+MASTER_SITES=	https://dl.z3bra.org/releases/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	hpkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://z3bra.org/glazier/
+COMMENT=	X windows manipulator
+LICENSE=	isc
+
+MAKE_FILE=	makefile
+
+MAKE_FLAGS+=	PREFIX=${PREFIX}
+MAKE_FLAGS+=	MANPREFIX=${PREFIX}/${PKGMANDIR}
+
+SUBST_CLASSES+=		configmk
+SUBST_MESSAGE.configmk=	Adjust comfig.mk
+SUBST_STAGE.configmk=	pre-configure
+SUBST_FILES.configmk+=	config.mk
+SUBST_SED.configmk+=	-e 's,/usr/local,${PREFIX},g'
+SUBST_SED.configmk+=	-e 's,^CPPFLAGS *= ,CPPFLAGS += ,'
+SUBST_SED.configmk+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.configmk+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
+SUBST_SED.configmk+=	-e 's/cc/${CC:Q}/'
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} != "NetBSD" || ${X11_TYPE} == "modular"
+DEPENDS+=	xrandr-[0-9]*:../../x11/xrandr
+.endif
+
+.include "../../x11/libxcb/buildlink3.mk"
+.include "../../x11/xcb-util-cursor/buildlink3.mk"
+.include "../../x11/xcb-util-image/buildlink3.mk"
+.include "../../wm/wmutils-libwm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/glazier/PLIST b/glazier/PLIST
new file mode 100644
index 0000000000..cf8b8836f1
--- /dev/null
+++ b/glazier/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/pkg/bin/bmake package"
+@comment TODO: 2. run "/usr/pkg/bin/bmake print-PLIST"
diff --git a/glazier/TODO b/glazier/TODO
new file mode 100644
index 0000000000..f5f3466969
--- /dev/null
+++ b/glazier/TODO
@@ -0,0 +1,56 @@
+=> Checksum BLAKE2s OK for glazier-1.0.tar.bz2
+=> Checksum SHA512 OK for glazier-1.0.tar.bz2
+===> Installing dependencies for glazier-1.0
+=> Build dependency x11-links>=1.34: found x11-links-1.34
+=> Build dependency cwrappers>=20150314: found cwrappers-20180325
+=> Full dependency xcb-util-cursor>=0.1.1nb1: found xcb-util-cursor-0.1.3
+=> Full dependency xcb-util-image>=0.3.9: found xcb-util-image-0.4.0
+=> Full dependency wmutils-libwm>=1.2: found wmutils-libwm-1.2
+===> Skipping vulnerability checks.
+WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
+WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
+===> Overriding tools for glazier-1.0
+===> Extracting for glazier-1.0
+===> Patching for glazier-1.0
+===> Creating toolchain wrappers for glazier-1.0
+===> Configuring for glazier-1.0
+=> Adjust comfig.mk
+===> Building for glazier-1.0
+cp config.def.h config.h
+cc -pipe -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -Wall -Wextra -pedantic -g -I/usr/pkg/include -I/usr/X11R7/include -I./libwm -c glazier.c
+glazier.c: In function 'paint':
+glazier.c:206:28: error: 'ATTR_D' undeclared (first use in this function); did you mean 'ATTR_I'?
+  206 |  d = wm_get_attribute(wid, ATTR_D);
+      |                            ^~~~~~
+      |                            ATTR_I
+glazier.c:206:28: note: each undeclared identifier is reported only once for each function it appears in
+glazier.c: In function 'cb_create':
+glazier.c:394:12: warning: implicit declaration of function 'wm_get_monitor' [-Wimplicit-function-declaration]
+  394 |   if ((m = wm_get_monitor(wm_find_monitor(x, y)))) {
+      |            ^~~~~~~~~~~~~~
+glazier.c:394:27: warning: implicit declaration of function 'wm_find_monitor' [-Wimplicit-function-declaration]
+  394 |   if ((m = wm_get_monitor(wm_find_monitor(x, y)))) {
+      |                           ^~~~~~~~~~~~~~~
+glazier.c:394:10: warning: assignment to 'xcb_randr_monitor_info_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
+  394 |   if ((m = wm_get_monitor(wm_find_monitor(x, y)))) {
+      |          ^
+glazier.c: In function 'crossedge':
+glazier.c:808:4: warning: assignment to 'xcb_randr_monitor_info_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
+  808 |  m = wm_get_monitor(wm_find_monitor(x, y));
+      |    ^
+glazier.c: In function 'snaptoedge':
+glazier.c:835:4: warning: assignment to 'xcb_randr_monitor_info_t *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
+  835 |  m = wm_get_monitor(wm_find_monitor(x, y));
+      |    ^
+*** Error code 1
+
+Stop.
+bmake: stopped in /usr/pkgsrc/wip/glazier/work/glazier-1.0
+*** Error code 1
+
+Stop.
+bmake[1]: stopped in /usr/pkgsrc/wip/glazier
+*** Error code 1
+
+Stop.
+
diff --git a/glazier/distinfo b/glazier/distinfo
new file mode 100644
index 0000000000..a94be60b78
--- /dev/null
+++ b/glazier/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (glazier-1.0.tar.bz2) = 39923dada688db86d9bd21c799d679c6c2bc1e1894eac8d52ba5825596b5f332
+SHA512 (glazier-1.0.tar.bz2) = 12b45a025c59682bee70aabd60d3513d103e3aa499f790fa10c379b1a92945c867562d931ac118fc92cb4d2ed36d7f4bc2dd62873a075aa489869132ca1a4b2c
+Size (glazier-1.0.tar.bz2) = 12799 bytes


Home | Main Index | Thread Index | Old Index