pkgsrc-WIP-changes archive

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

dwm-git: Import dwm-4.8 as wip/dwm-git



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Dec 1 23:45:10 2018 +0100
Changeset:	4bdcf5375b374ebdc96ae6e56b8f57a3413686c3

Modified Files:
	Makefile
Added Files:
	dwm-git/DESCR
	dwm-git/Makefile
	dwm-git/PLIST
	dwm-git/options.mk

Log Message:
dwm-git: Import dwm-4.8 as wip/dwm-git

dwm is a dynamic window manager for X. It manages windows in tiled,
monocle and floating layouts. All of the layouts can be applied
dynamically, optimising the environment for the application in use
and the task performed.

In tiled layout windows are managed in a master and stacking area.
The master area contains the window which currently needs most
attention, whereas the stacking area contains all other windows.
In monocle layout all windows are maximised to the screen size. In
floating layout windows can be resized and moved freely.

Windows are grouped by tags. Each window can be tagged with one or
multiple tags. Selecting certain tags displays all windows with
these tags.

Each screen contains a small status bar which displays all available
tags, the layout, the number of visible windows, the title of the
focused window, and the text read from the root window name property,
if the screen is focused.

Based on wm/dwm.

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

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

diffstat:
 Makefile           |  1 +
 dwm-git/DESCR      | 19 +++++++++++++++++++
 dwm-git/Makefile   | 42 ++++++++++++++++++++++++++++++++++++++++++
 dwm-git/PLIST      |  3 +++
 dwm-git/options.mk | 23 +++++++++++++++++++++++
 5 files changed, 88 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index cfa80c45cc..a0b4299f72 100644
--- a/Makefile
+++ b/Makefile
@@ -655,6 +655,7 @@ SUBDIR+=	dwb-gtk2-git
 SUBDIR+=	dwb-gtk3
 SUBDIR+=	dwb-gtk3-git
 SUBDIR+=	dwepcrack
+SUBDIR+=	dwm-git
 SUBDIR+=	dxmake
 SUBDIR+=	dzen-git
 SUBDIR+=	dzen2
diff --git a/dwm-git/DESCR b/dwm-git/DESCR
new file mode 100644
index 0000000000..581b9d24e0
--- /dev/null
+++ b/dwm-git/DESCR
@@ -0,0 +1,19 @@
+dwm is a dynamic window manager for X. It manages windows in tiled,
+monocle and floating layouts. All of the layouts can be applied
+dynamically, optimising the environment for the application in use
+and the task performed.
+
+In tiled layout windows are managed in a master and stacking area.
+The master area contains the window which currently needs most
+attention, whereas the stacking area contains all other windows.
+In monocle layout all windows are maximised to the screen size. In
+floating layout windows can be resized and moved freely.
+
+Windows are grouped by tags. Each window can be tagged with one or
+multiple tags. Selecting certain tags displays all windows with
+these tags.
+
+Each screen contains a small status bar which displays all available
+tags, the layout, the number of visible windows, the title of the
+focused window, and the text read from the root window name property,
+if the screen is focused.
diff --git a/dwm-git/Makefile b/dwm-git/Makefile
new file mode 100644
index 0000000000..216d04ccd1
--- /dev/null
+++ b/dwm-git/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.18 2018/03/12 11:17:42 wiz Exp $
+
+DISTNAME=	dwm-6.1
+CATEGORIES=	wm
+MASTER_SITES=	http://dl.suckless.org/dwm/
+
+MAINTAINER=	leot%NetBSD.org@localhost
+HOMEPAGE=	https://dwm.suckless.org/
+COMMENT=	Dynamic window manager
+LICENSE=	mit
+
+GIT_REPO=	http://git.suckless.org/dwm
+
+USE_LANGUAGES=	c99
+
+CPPFLAGS+=	-D_XOPEN_SOURCE=600
+
+# Adjust config.mk
+SUBST_CLASSES+=		makefile
+SUBST_STAGE.makefile=	pre-configure
+SUBST_MESSAGE.makefile=	Fixing config.mk
+SUBST_FILES.makefile=	config.mk
+SUBST_SED.makefile=	-e 's,/usr/local,${PREFIX},g'
+SUBST_SED.makefile+=	-e 's,share/man,${PKGMANDIR},g'
+SUBST_SED.makefile+=	-e 's,/usr/X11R6,${X11BASE},'
+SUBST_SED.makefile+=	-e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.makefile+=	-e 's,^CPPFLAGS *= ,CPPFLAGS += ,'
+SUBST_SED.makefile+=	-e 's,^LDFLAGS *= ,LDFLAGS += ,'
+SUBST_SED.makefile+=	-e 's/-I$${FREETYPEINC}/$${FREETYPEINC}/'
+SUBST_SED.makefile+=	-e 's,^FREETYPEINC *=.*,FREETYPEINC != freetype-config --cflags,'
+SUBST_SED.makefile+=	-e 's/cc/${CC:Q}/'
+
+INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
+
+.include "options.mk"
+
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/dwm-git/PLIST b/dwm-git/PLIST
new file mode 100644
index 0000000000..df556e2968
--- /dev/null
+++ b/dwm-git/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/04/13 09:08:07 xtraeme Exp $
+bin/dwm
+man/man1/dwm.1
diff --git a/dwm-git/options.mk b/dwm-git/options.mk
new file mode 100644
index 0000000000..af71025a9c
--- /dev/null
+++ b/dwm-git/options.mk
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.3 2015/11/11 16:12:10 leot Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.dwm
+PKG_SUPPORTED_OPTIONS=	xinerama
+PKG_SUGGESTED_OPTIONS=	xinerama
+
+.include "../../mk/bsd.options.mk"
+
+#
+# Xinerama support
+#
+# If we don't want the Xinerama support we delete XINERAMALIBS and
+# XINERAMAFLAGS lines, otherwise the Xinerama support is the default.
+#
+.if !empty(PKG_OPTIONS:Mxinerama)
+.  include "../../x11/libXinerama/buildlink3.mk"
+.else
+SUBST_CLASSES+=		options
+SUBST_STAGE.options=	pre-patch
+SUBST_MESSAGE.options=	Toggle the Xinerama support
+SUBST_FILES.options=	config.mk
+SUBST_SED.options+=	-e '/^XINERAMA/d'
+.endif


Home | Main Index | Thread Index | Old Index