Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] frankenwm: use custom config.h if available
@ 2020-04-13  8:57 tibequadorian
  2020-04-13  9:02 ` [PR PATCH] [Updated] " tibequadorian
  2020-04-13 11:24 ` [PR PATCH] [Merged]: " Hoshpak
  0 siblings, 2 replies; 3+ messages in thread
From: tibequadorian @ 2020-04-13  8:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

There is a new pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages frankenwm
https://github.com/void-linux/void-packages/pull/20945

frankenwm: use custom config.h if available


A patch file from https://github.com/void-linux/void-packages/pull/20945.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-frankenwm-20945.patch --]
[-- Type: text/x-diff, Size: 836 bytes --]

From bfe382621d3a8113b36227321f6280854396271d Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Mon, 13 Apr 2020 10:57:07 +0200
Subject: [PATCH] frankenwm: use custom config.h if available

---
 srcpkgs/frankenwm/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/frankenwm/template b/srcpkgs/frankenwm/template
index aefec0abe99..e0b79e881df 100644
--- a/srcpkgs/frankenwm/template
+++ b/srcpkgs/frankenwm/template
@@ -16,6 +16,7 @@ checksum=9fa4a3ff02fd7b225e378e1f5160c362b48528b52e462c91f25015ab98162df9
 replaces="frankenwm-git>=0"
 
 pre_build() {
+	[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
 	sed -i 's|^CPPFLAGS *+=|override CPPFLAGS +=|g' Makefile
 	sed -i 's|^CFLAGS *+=|override CFLAGS +=|g' Makefile
 	sed -i 's|^LDFLAGS *+=|override LDFLAGS +=|g' Makefile

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Updated] frankenwm: use custom config.h if available
  2020-04-13  8:57 [PR PATCH] frankenwm: use custom config.h if available tibequadorian
@ 2020-04-13  9:02 ` tibequadorian
  2020-04-13 11:24 ` [PR PATCH] [Merged]: " Hoshpak
  1 sibling, 0 replies; 3+ messages in thread
From: tibequadorian @ 2020-04-13  9:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages frankenwm
https://github.com/void-linux/void-packages/pull/20945

frankenwm: use custom config.h if available


A patch file from https://github.com/void-linux/void-packages/pull/20945.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-frankenwm-20945.patch --]
[-- Type: text/x-diff, Size: 1226 bytes --]

From abb2734a5975dab42e4e63d713fd75bf2f46d2b7 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Mon, 13 Apr 2020 10:57:07 +0200
Subject: [PATCH] frankenwm: use custom config.h if available

---
 srcpkgs/frankenwm/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/frankenwm/template b/srcpkgs/frankenwm/template
index aefec0abe99..d2b4152f0fd 100644
--- a/srcpkgs/frankenwm/template
+++ b/srcpkgs/frankenwm/template
@@ -4,9 +4,9 @@ _pkgname=FrankenWM
 version=1.0.21
 revision=1
 wrksrc="${_pkgname}-${version}"
+build_style=gnu-makefile
 hostmakedepends="pkg-config"
 makedepends="libxcb-devel xcb-util-devel xcb-util-wm-devel xcb-util-keysyms-devel libX11-devel"
-build_style=gnu-makefile
 short_desc="XCB dynamic tiling WM"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
@@ -16,6 +16,7 @@ checksum=9fa4a3ff02fd7b225e378e1f5160c362b48528b52e462c91f25015ab98162df9
 replaces="frankenwm-git>=0"
 
 pre_build() {
+	[ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h
 	sed -i 's|^CPPFLAGS *+=|override CPPFLAGS +=|g' Makefile
 	sed -i 's|^CFLAGS *+=|override CFLAGS +=|g' Makefile
 	sed -i 's|^LDFLAGS *+=|override LDFLAGS +=|g' Makefile

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Merged]: frankenwm: use custom config.h if available
  2020-04-13  8:57 [PR PATCH] frankenwm: use custom config.h if available tibequadorian
  2020-04-13  9:02 ` [PR PATCH] [Updated] " tibequadorian
@ 2020-04-13 11:24 ` Hoshpak
  1 sibling, 0 replies; 3+ messages in thread
From: Hoshpak @ 2020-04-13 11:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 177 bytes --]

There's a merged pull request on the void-packages repository

frankenwm: use custom config.h if available
https://github.com/void-linux/void-packages/pull/20945

Description:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-13 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  8:57 [PR PATCH] frankenwm: use custom config.h if available tibequadorian
2020-04-13  9:02 ` [PR PATCH] [Updated] " tibequadorian
2020-04-13 11:24 ` [PR PATCH] [Merged]: " Hoshpak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).