herbstluftwm: update to 0.8.0
This commit is contained in:
parent
a674f1ecb5
commit
44f452ea78
2 changed files with 18 additions and 11 deletions
11
srcpkgs/herbstluftwm/patches/frametree.patch
Normal file
11
srcpkgs/herbstluftwm/patches/frametree.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/frametree.cpp 2020-04-15 08:33:59.781482744 -0400
|
||||
+++ src/frametree.cpp 2020-04-15 08:34:43.006495582 -0400
|
||||
@@ -505,7 +505,7 @@
|
||||
output << "\"" << std::regex_replace(layoutString, whitespace, string(" "))
|
||||
<< "\"" << endl;
|
||||
// and underline the token
|
||||
- int token_len = std::max(1ul, parsingResult.error_->first.second.size());
|
||||
+ int token_len = std::max((size_t)1, parsingResult.error_->first.second.size());
|
||||
output << " " // for the \" above
|
||||
<< string(parsingResult.error_->first.first, ' ')
|
||||
<< string(token_len, '~')
|
|
@ -1,24 +1,20 @@
|
|||
# Template file for 'herbstluftwm'
|
||||
pkgname=herbstluftwm
|
||||
version=0.7.2
|
||||
version=0.8.0
|
||||
revision=1
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libXinerama-devel libglib-devel"
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config asciidoc"
|
||||
makedepends="libXrandr-devel libXinerama-devel libglib-devel"
|
||||
conf_files="/etc/xdg/${pkgname}/autostart"
|
||||
short_desc="A manual tiling window manager for X"
|
||||
short_desc="Manual tiling window manager for X"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-2-Clause"
|
||||
homepage="http://herbstluftwm.org"
|
||||
changelog="https://raw.githubusercontent.com/herbstluftwm/herbstluftwm/master/NEWS"
|
||||
distfiles="http://herbstluftwm.org/tarballs/${pkgname}-${version}.tar.gz"
|
||||
checksum=dff613fc6d7883ea2011318ef8a7b15b92f7864eaf63229df9ce0e99a44281cd
|
||||
checksum=5823f1c1a6a6ae6d4f843992658fcdb91a246e7f337570ac9b2091f57265c812
|
||||
|
||||
do_build() {
|
||||
make COLOR=0 CXX="$CXX" CC="$CC" LD="$CC" LDXX="$CXX" \
|
||||
CFLAGS="$CFLAGS -std=c99" LDFLAGS="$LDFLAGS" LDXXFLAGS="$LDFLAGS"
|
||||
}
|
||||
do_install() {
|
||||
make PREFIX=/usr DESTDIR=${DESTDIR} COLOR=0 install
|
||||
post_install() {
|
||||
vmkdir usr/share/bash-completion/completions
|
||||
mv ${DESTDIR}/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue