diff options
author | nia <nia@pkgsrc.org> | 2020-01-01 15:24:01 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-01-01 15:24:01 +0000 |
commit | 04bd5bfe5b488786cdceb06cc02d3280b226bba1 (patch) | |
tree | 0e0cfd0c609a7f9ac931849b7d8a26b6dbdbfcad /wm | |
parent | ef09a27fbc83eada1dd05b9d6418f68ee1533185 (diff) | |
download | pkgsrc-04bd5bfe5b488786cdceb06cc02d3280b226bba1.tar.gz |
wm: Add herbstluftwm.
Based on work by voidpin and benny in wip, with fixes.
herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib.
Its main features can be described with:
- The layout is based on splitting frames into subframes which can be
split again or can be filled with windows (similar to i3 or musca)
- Tags (or workspaces, or virtual desktops) can be added/removed at
runtime. Each tag contains an own layout
- Exactly one tag is viewed on each monitor. The tags are monitor
independent (similar to xmonad)
- It is configured at runtime via IPC calls from herbstclient. So the
configuration file is just a script which is run on startup. (Similar
to wmii or musca)
Diffstat (limited to 'wm')
-rw-r--r-- | wm/Makefile | 3 | ||||
-rw-r--r-- | wm/herbstluftwm/DESCR | 16 | ||||
-rw-r--r-- | wm/herbstluftwm/Makefile | 30 | ||||
-rw-r--r-- | wm/herbstluftwm/PLIST | 31 | ||||
-rw-r--r-- | wm/herbstluftwm/distinfo | 7 | ||||
-rw-r--r-- | wm/herbstluftwm/patches/patch-CMakeLists.txt | 28 |
6 files changed, 114 insertions, 1 deletions
diff --git a/wm/Makefile b/wm/Makefile index ef12dd2eda8..59ddb2e32fb 100644 --- a/wm/Makefile +++ b/wm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.143 2019/12/30 04:25:17 gutteridge Exp $ +# $NetBSD: Makefile,v 1.144 2020/01/01 15:24:01 nia Exp $ # COMMENT= X11 window managers, configuration tools, and themes @@ -44,6 +44,7 @@ SUBDIR+= fvwm-devel SUBDIR+= fvwm-themes SUBDIR+= fvwm1 SUBDIR+= golem +SUBDIR+= herbstluftwm SUBDIR+= i3 SUBDIR+= icewm SUBDIR+= icewm-imlib diff --git a/wm/herbstluftwm/DESCR b/wm/herbstluftwm/DESCR new file mode 100644 index 00000000000..cbe6c84d6a8 --- /dev/null +++ b/wm/herbstluftwm/DESCR @@ -0,0 +1,16 @@ +herbstluftwm is a manual tiling window manager for X11 using Xlib and Glib. + +Its main features can be described with: + + - The layout is based on splitting frames into subframes which can be + split again or can be filled with windows (similar to i3 or musca) + + - Tags (or workspaces, or virtual desktops) can be added/removed at + runtime. Each tag contains an own layout + + - Exactly one tag is viewed on each monitor. The tags are monitor + independent (similar to xmonad) + + - It is configured at runtime via IPC calls from herbstclient. So the + configuration file is just a script which is run on startup. (Similar + to wmii or musca) diff --git a/wm/herbstluftwm/Makefile b/wm/herbstluftwm/Makefile new file mode 100644 index 00000000000..c9331ef7d33 --- /dev/null +++ b/wm/herbstluftwm/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2020/01/01 15:24:02 nia Exp $ + +DISTNAME= herbstluftwm-0.7.2 +CATEGORIES= wm +MASTER_SITES= https://herbstluftwm.org/tarballs/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://herbstluftwm.org/ +COMMENT= Manual tiling window manager for X11 using Xlib and Glib +LICENSE= modified-bsd + +USE_CMAKE= yes +USE_TOOLS+= pkg-config bash:run +USE_LANGUAGES= c c++ + +CONFIGURE_DIRS= build +CMAKE_ARG_PATH= .. + +CFLAGS.NetBSD+= -D_NETBSD_SOURCE + +REPLACE_BASH+= share/dmenu_run_hlwm + +pre-configure: + ${MKDIR} -p ${WRKSRC}/build + +.include "../../devel/glib2/buildlink3.mk" +.include "../../x11/libXext/buildlink3.mk" +.include "../../x11/libXinerama/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/wm/herbstluftwm/PLIST b/wm/herbstluftwm/PLIST new file mode 100644 index 00000000000..81666e46399 --- /dev/null +++ b/wm/herbstluftwm/PLIST @@ -0,0 +1,31 @@ +@comment $NetBSD: PLIST,v 1.1 2020/01/01 15:24:02 nia Exp $ +bin/dmenu_run_hlwm +bin/herbstclient +bin/herbstluftwm +man/man1/herbstclient.1 +man/man1/herbstluftwm.1 +man/man7/herbstluftwm-tutorial.7 +share/doc/herbstluftwm/BUGS +share/doc/herbstluftwm/INSTALL +share/doc/herbstluftwm/LICENSE +share/doc/herbstluftwm/NEWS +share/doc/herbstluftwm/examples/README +share/doc/herbstluftwm/examples/dmenu.sh +share/doc/herbstluftwm/examples/dumpbeautify.sh +share/doc/herbstluftwm/examples/exec_on_tag.sh +share/doc/herbstluftwm/examples/execwith.sh +share/doc/herbstluftwm/examples/floatmon.sh +share/doc/herbstluftwm/examples/herbstcommander.sh +share/doc/herbstluftwm/examples/keychain.sh +share/doc/herbstluftwm/examples/lasttag.sh +share/doc/herbstluftwm/examples/layout.sh +share/doc/herbstluftwm/examples/loadstate.sh +share/doc/herbstluftwm/examples/q3terminal.sh +share/doc/herbstluftwm/examples/savestate.sh +share/doc/herbstluftwm/examples/scratchpad.sh +share/doc/herbstluftwm/examples/wselect.sh +share/doc/herbstluftwm/herbstclient.html +share/doc/herbstluftwm/herbstluftwm-tutorial.html +share/doc/herbstluftwm/herbstluftwm.html +share/xsessions/herbstluftwm.desktop +share/zsh/functions/Completion/X/_herbstclient diff --git a/wm/herbstluftwm/distinfo b/wm/herbstluftwm/distinfo new file mode 100644 index 00000000000..fbaf93dc938 --- /dev/null +++ b/wm/herbstluftwm/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2020/01/01 15:24:02 nia Exp $ + +SHA1 (herbstluftwm-0.7.2.tar.gz) = b07b623fc675ae578a282ded84f38dfa6cd9436e +RMD160 (herbstluftwm-0.7.2.tar.gz) = 1a61cafad3af500d51aa7cd39fb5413055e33178 +SHA512 (herbstluftwm-0.7.2.tar.gz) = abb49bbc3de9a0ef619ce7063c1cea0d0d25ab2195c53dc0d33e061ad24060da4bbe9b99b9b9126028cdf68b462d4fcc8d1534431e4892d571ff897a68d2113c +Size (herbstluftwm-0.7.2.tar.gz) = 245506 bytes +SHA1 (patch-CMakeLists.txt) = 0e5090670bba37bf8c264af1e02dd33e5b2146b8 diff --git a/wm/herbstluftwm/patches/patch-CMakeLists.txt b/wm/herbstluftwm/patches/patch-CMakeLists.txt new file mode 100644 index 00000000000..ea0bf0863d9 --- /dev/null +++ b/wm/herbstluftwm/patches/patch-CMakeLists.txt @@ -0,0 +1,28 @@ +$NetBSD: patch-CMakeLists.txt,v 1.1 2020/01/01 15:24:02 nia Exp $ + +Do not clobber CFLAGS and set the correct MANDIR. + +--- CMakeLists.txt.orig 2019-05-09 09:04:33.000000000 +0000 ++++ CMakeLists.txt +@@ -34,12 +34,6 @@ set(SYSCONFDIR "${DESTDIR}/etc") + set(CONFIGDIR "${SYSCONFDIR}/xdg/herbstluftwm") + + +-if(CMAKE_COMPILER_IS_GNUCC) +- set(CMAKE_C_FLAGS "-pedantic -Wall") +- set(CMAKE_CXX_FLAGS "-pedantic -Wall -Wno-sign-compare -Wno-narrowing -Wno-deprecated-register") +-endif() +- +- + # ---------------------------------------------------------------------------- + # Find Libraries + +@@ -187,7 +181,7 @@ target_link_libraries(herbstclient ${LIB + + set(BINDIR ${DESTDIR}${CMAKE_INSTALL_PREFIX}/bin) + set(DATADIR ${DESTDIR}${CMAKE_INSTALL_PREFIX}/share) +-set(MANDIR ${DATADIR}/man) ++set(MANDIR ${DESTDIR}${CMAKE_INSTALL_MANDIR}) + set(DOCDIR ${DATADIR}/doc/herbstluftwm) + set(EXAMPLESDIR ${DOCDIR}/examples) + set(LICENSEDIR ${DOCDIR}) |