Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 13:12:58 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511822 - in head/x11-wm/herbstluftwm: . files
Message-ID:  <201909111312.x8BDCwd5059443@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Wed Sep 11 13:12:57 2019
New Revision: 511822
URL: https://svnweb.freebsd.org/changeset/ports/511822

Log:
  x11-wm/herbstluftwm: Update to 0.7.2
  
  - remove gettext-runtime, add gnome, xorg to USES
  - patch share/autostart: remove bashism
  - add pkg-message.in about bash dependency of scripts
  
  Submitted by:	maintainer
  Reviewed by:	mmokhi, mat
  Differential Revision:	https://reviews.freebsd.org/D20457

Added:
  head/x11-wm/herbstluftwm/files/
  head/x11-wm/herbstluftwm/files/patch-share_autostart   (contents, props changed)
  head/x11-wm/herbstluftwm/files/pkg-message.in   (contents, props changed)
Modified:
  head/x11-wm/herbstluftwm/Makefile
  head/x11-wm/herbstluftwm/distinfo

Modified: head/x11-wm/herbstluftwm/Makefile
==============================================================================
--- head/x11-wm/herbstluftwm/Makefile	Wed Sep 11 12:42:53 2019	(r511821)
+++ head/x11-wm/herbstluftwm/Makefile	Wed Sep 11 13:12:57 2019	(r511822)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	herbstluftwm
-PORTVERSION=	0.7.1
-PORTREVISION=	2
+PORTVERSION=	0.7.2
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://herbstluftwm.org/tarballs/
 
@@ -11,11 +10,12 @@ COMMENT=	Manual tiling window manager for X11
 
 LICENSE=	BSD2CLAUSE
 
-USES=		compiler:c++11-lib gettext-runtime gmake pkgconfig shebangfix
-SHEBANG_FILES=	scripts/*.sh share/autostart share/*.sh
-USE_XORG=	x11 xext xinerama
+USES=		compiler:c++11-lang gmake gnome pkgconfig shebangfix
 USE_GNOME=	glib20
+USE_XORG=	x11 xext xinerama
 
+SHEBANG_FILES=	scripts/*.sh share/*.sh
+
 MAKE_ARGS=	PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \
 		DOCSDIR=${DOCSDIR} EXAMPLESDIR=${EXAMPLESDIR} \
 		FISHCOMPLETIONDIR=${PREFIX}/share/fish/completions \
@@ -24,6 +24,8 @@ MAKE_ARGS=	PREFIX=${PREFIX} SYSCONFDIR=${PREFIX}/etc \
 
 OPTIONS_DEFINE=	BASH FISH ZSH DOCS EXAMPLES
 OPTIONS_SUB=	yes
+
+SUB_FILES=	pkg-message
 
 ALL_TARGET=	all-nodoc
 INSTALL_TARGET=	install-nodoc

Modified: head/x11-wm/herbstluftwm/distinfo
==============================================================================
--- head/x11-wm/herbstluftwm/distinfo	Wed Sep 11 12:42:53 2019	(r511821)
+++ head/x11-wm/herbstluftwm/distinfo	Wed Sep 11 13:12:57 2019	(r511822)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1533876625
-SHA256 (herbstluftwm-0.7.1.tar.gz) = dc0ef362013f4eb68314e120010f8cb426eb615b87f8054d6aa8e1dee5a28734
-SIZE (herbstluftwm-0.7.1.tar.gz) = 244726
+TIMESTAMP = 1559116941
+SHA256 (herbstluftwm-0.7.2.tar.gz) = dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd
+SIZE (herbstluftwm-0.7.2.tar.gz) = 245506

Added: head/x11-wm/herbstluftwm/files/patch-share_autostart
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/herbstluftwm/files/patch-share_autostart	Wed Sep 11 13:12:57 2019	(r511822)
@@ -0,0 +1,28 @@
+--- share/autostart.orig	2019-05-09 09:04:33 UTC
++++ share/autostart
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env bash
++#!/bin/sh
+ 
+ # this is a simple config for herbstluftwm
+ 
+@@ -66,14 +66,11 @@ hc keybind $Mod-Control-Right   resize right +$resizes
+ tag_names=( {1..9} )
+ tag_keys=( {1..9} 0 )
+ 
+-hc rename default "${tag_names[0]}" || true
+-for i in ${!tag_names[@]} ; do
+-    hc add "${tag_names[$i]}"
+-    key="${tag_keys[$i]}"
+-    if ! [ -z "$key" ] ; then
+-        hc keybind "$Mod-$key" use_index "$i"
+-        hc keybind "$Mod-Shift-$key" move_index "$i"
+-    fi
++hc rename default "1" || true
++for i in $(seq 1 9); do
++    hc add "${i}"
++    hc keybind "$Mod-$i" use_index "$i"
++    hc keybind "$Mod-Shift-$i" move_index "$i"
+ done
+ 
+ # cycle through tags

Added: head/x11-wm/herbstluftwm/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-wm/herbstluftwm/files/pkg-message.in	Wed Sep 11 13:12:57 2019	(r511822)
@@ -0,0 +1,11 @@
+[
+{
+  message: <<EOM
+You need to specify your own autostart file with -c or place it in this path:
+%%PREFIX%%/etc/xdg/etc/xdg/herbstluftwm/autostart
+
+Keep in mind that most of the scripts are written in bash syntax.
+EOM
+  type: install
+}
+]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909111312.x8BDCwd5059443>