pkgsrc-WIP-changes archive

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

spectrwm, new release



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Sun Dec 29 16:37:18 2019 +0100
Changeset:	0d7a490a3140605008dcd5d4a5a7c3e3704cbe1d

Modified Files:
	Makefile
Added Files:
	spectrwm/DESCR
	spectrwm/Makefile
	spectrwm/PLIST
	spectrwm/distinfo

Log Message:
spectrwm, new release

spectrwm 3.3.0
Released on Dec 19, 2019

   - Add new bar text markup sequences for multiple colors/fonts/sections.
   - Add new bar_font_pua option to assign a font (such as an icon font)
to the Unicode Private Use Area (U+E000 -> U+F8FF).
    - Extend disable_border option with always.
    - Add support for XDG Base Directory Specification.
    - Add OpenBSD pledge(2) support.
    - Enable xinput2 on OpenBSD.
    - Enable travis.
    - Fix keysym binding issue with multiple keyboard layouts.
    - Fix buffer overflow in bar_strlcat_esc.
    - Fix infinite loop due to unsigned integer overflow.
    - Fix cygwin compile issues.
    - Fix NetBSD Makefile.
    - Bunch of statical analyzer fixes.
    - Bunch of minor fixes.

Sorry if this is not the correct way to get a package updated.
I don't have pkgsrc commit access, only wip access.

I use spectrwm on my netbsd laptop and decided to build the
new release 10 days after the release.
The package builds and installs without issue.
Its running on my system as I write this.
The patches required for the previous version are no longer
needed, they have been implemented upstream.

Please merge into the main branch and remove from wip.
TIA

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

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

diffstat:
 Makefile          |  1 +
 spectrwm/DESCR    | 24 +++++++++++++++++++++
 spectrwm/Makefile | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 spectrwm/PLIST    | 16 ++++++++++++++
 spectrwm/distinfo |  9 ++++++++
 5 files changed, 112 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index dbd368c0a0..772b6ef7bd 100644
--- a/Makefile
+++ b/Makefile
@@ -4536,6 +4536,7 @@ SUBDIR+=	sparse
 SUBDIR+=	spatt
 SUBDIR+=	spe
 SUBDIR+=	spectra
+SUBDIR+=	spectrwm
 SUBDIR+=	speedx
 SUBDIR+=	spfmilter
 SUBDIR+=	spice-gtk
diff --git a/spectrwm/DESCR b/spectrwm/DESCR
new file mode 100644
index 0000000000..98c2a2ea0e
--- /dev/null
+++ b/spectrwm/DESCR
@@ -0,0 +1,24 @@
+Spectrwm is a small dynamic tiling window manager for X11. It tries
+to stay out of the way so that valuable screen real estate can be
+used for much more important stuff. It has sane defaults and does
+not require one to learn a language to do any configuration. It
+was written by hackers for hackers and it strives to be small,
+compact and fast.
+
+It was largely inspired by xmonad and dwm. Both are fine products
+but suffer from things like: crazy-unportable-language-syndrome,
+silly defaults, asymmetrical window layout, "how hard can it be?"
+and good old NIH. Nevertheless dwm was a phenomenal resource and
+many good ideas and code was borrowed from it. On the other hand
+xmonad has great defaults, key bindings and xinerama support but
+is crippled by not being written in C.
+
+Spectrwm is a beautiful pearl! For it too, was created by grinding
+irritation. Nothing is a bigger waste of time than moving windows
+around until they are the right size-ish or having just about any
+relevant key combination being eaten for some task one never needs.
+The path of agony is too long to quote and in classical OpenBSD
+fashion (put up, or hack up) a brand new window manager was whooped
+up to serve no other purpose than to obey its masters. It was
+written by Marco Peereboom & Ryan Thomas McBride and it is released
+under the ISC license.
diff --git a/spectrwm/Makefile b/spectrwm/Makefile
new file mode 100644
index 0000000000..3931e21b2d
--- /dev/null
+++ b/spectrwm/Makefile
@@ -0,0 +1,62 @@
+# $NetBSD: Makefile,v 1.13 2018/12/20 12:33:23 jaapb Exp $
+
+DISTNAME=	spectrwm-3.3.0
+CATEGORIES=	wm
+MASTER_SITES=	${MASTER_SITE_GITHUB:=conformal/}
+GITHUB_TAG=	${GITHUB_PROJECT:tu}_${PKGVERSION_NOREV:S/./_/g}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/conformal/spectrwm
+COMMENT=	Small dynamic tiling window manager for X11
+LICENSE=	isc
+
+DEPENDS+=	dmenu-[0-9]*:../../x11/dmenu
+
+BUILDLINK_TRANSFORM+=	rm:-Werror
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "OpenBSD"
+USE_BSD_MAKEFILE=	yes
+INSTALLATION_DIRS+=	bin lib ${PKGMANDIR}/man1
+MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+=		MANINSTALL=maninstall
+# sync with major.minor from ${WRKSRC}/lib/shlib_version.
+CFLAGS+=		-DSWM_LIB=\"${PREFIX}/lib/libswmhack.so.0.0\"
+.else
+CFLAGS+=		-I${PREFIX}/include
+LDFLAGS+=		-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib
+MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}
+.  if ${OPSYS} == "Darwin"
+USE_TOOLS+=		gmake
+BUILD_DIRS=		osx
+.  elif ${OPSYS} == "FreeBSD"
+BUILD_DIRS=		freebsd
+.  elif ${OPSYS} == "NetBSD"
+BUILD_DIRS=		netbsd
+.  else
+USE_TOOLS+=		gmake
+BUILD_DIRS=		linux
+.  endif
+.endif
+
+INSTALLATION_DIRS+=	share/examples/spectrwm
+
+post-extract:
+	${RUN} cd ${WRKSRC} && ${CP} -R freebsd netbsd
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/*.conf ${DESTDIR}${PREFIX}/share/examples/spectrwm
+	${INSTALL_DATA} ${WRKSRC}/*.sh ${DESTDIR}${PREFIX}/share/examples/spectrwm
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+BUILDLINK_DEPMETHOD.libXt=	build
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
+.include "../../x11/xorgproto/buildlink3.mk"
+.include "../../x11/xcb-util/buildlink3.mk"
+.include "../../x11/xcb-util-keysyms/buildlink3.mk"
+.include "../../x11/xcb-util-wm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/spectrwm/PLIST b/spectrwm/PLIST
new file mode 100644
index 0000000000..c36ee5d5e0
--- /dev/null
+++ b/spectrwm/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.3 2018/12/20 12:33:23 jaapb Exp $
+bin/scrotwm
+bin/spectrwm
+lib/libswmhack.so.0.0
+man/man1/spectrwm.1
+share/examples/spectrwm/baraction.sh
+share/examples/spectrwm/buildver.sh
+share/examples/spectrwm/initscreen.sh
+share/examples/spectrwm/screenshot.sh
+share/examples/spectrwm/spectrwm.conf
+share/examples/spectrwm/spectrwm_cz.conf
+share/examples/spectrwm/spectrwm_es.conf
+share/examples/spectrwm/spectrwm_fr.conf
+share/examples/spectrwm/spectrwm_fr_ch.conf
+share/examples/spectrwm/spectrwm_se.conf
+share/examples/spectrwm/spectrwm_us.conf
diff --git a/spectrwm/distinfo b/spectrwm/distinfo
new file mode 100644
index 0000000000..880fcc1e80
--- /dev/null
+++ b/spectrwm/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.7 2018/12/20 12:33:23 jaapb Exp $
+
+SHA1 (spectrwm-3.3.0.tar.gz) = bc15313171c590b9a906cab7516f7efe6ad3544d
+RMD160 (spectrwm-3.3.0.tar.gz) = 3bdc6b02da74b56ec15891625da1e399370bcfbe
+SHA512 (spectrwm-3.3.0.tar.gz) = 743affffd0437641a760ae29ccbd0084baee3354dadc48f3fc9ab70bffa2413ffe3af67f1223413aa1bbf8c679fbae1fbbdd71a840b3e44f5df83b527f63c1cc
+Size (spectrwm-3.3.0.tar.gz) = 161806 bytes
+SHA1 (patch-netbsd_Makefile) = a7b0c3c287a32bcd23f47339ac7f57d21ebe277c
+SHA1 (patch-netbsd_util.h) = ba27856f79e59c7841287fc48c61d89923ad515f
+SHA1 (patch-spectrwm.c) = fe95be29129ad3ba6e9d19c186eb5fd5f97d67e7


Home | Main Index | Thread Index | Old Index