Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] i3-gaps: update to 4.19.
Date: Mon, 16 Nov 2020 18:02:58 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26437@inbox.vuxu.org> (raw)

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

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

https://github.com/abenson/void-packages i3-gaps_4.19
https://github.com/void-linux/void-packages/pull/26437

i3-gaps: update to 4.19.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-i3-gaps_4.19-26437.patch --]
[-- Type: text/x-diff, Size: 2181 bytes --]

From 54fc3223cfc84de534cdf43d7e927a8c52570f8a Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 16 Nov 2020 11:02:23 -0600
Subject: [PATCH] i3-gaps: update to 4.19.

---
 srcpkgs/i3-gaps/template | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/i3-gaps/template b/srcpkgs/i3-gaps/template
index dbd9f5f0e20..c333e2229d5 100644
--- a/srcpkgs/i3-gaps/template
+++ b/srcpkgs/i3-gaps/template
@@ -1,10 +1,10 @@
 # Template file for 'i3-gaps'
 pkgname=i3-gaps
-version=4.18.3
+version=4.19
 revision=1
 wrksrc="i3-${version}"
-build_style=gnu-configure
-configure_args="--disable-builddir"
+build_style=meson
+configure_args="-Dmans=true"
 hostmakedepends="pkg-config perl autoconf automake asciidoc pod2mdoc xmlto"
 makedepends="pcre-devel yajl-devel libxcb-devel libev-devel
  pango-devel startup-notification-devel libxkbcommon-devel
@@ -17,7 +17,7 @@ maintainer="ian c. <ian@airmail.cc>"
 license="BSD-3-Clause"
 homepage="https://github.com/Airblader/i3"
 distfiles="${homepage}/archive/${version}.tar.gz>${version}.tar.gz"
-checksum=e87b5f5da1f026cf9261aec03de62305720cb0e7fd312245b2b9101aca6ad2ba
+checksum=dbd739dae5c16a94763dac0a7407d0307f0814f7bf48b99591b772820c874b4f
 
 provides="i3-${version}_${revision}"
 replaces="i3>=0"
@@ -26,14 +26,11 @@ case "$XBPS_TARGET_MACHINE" in
 	*-musl) makedepends+=" libglob-devel";;
 esac
 
-pre_configure() {
-	autoreconf -fi
-}
-
 pre_build() {
 	case "$XBPS_TARGET_MACHINE" in
 	*-musl)
-		vsed -i "/^LIBS =/s,$,& ${XBPS_CROSS_BASE}/usr/lib/libglob.a," Makefile
+		vsed -i "/^common_deps/i glob_dep = cc.find_library('glob', dirs: ['${XBPS_CROSS_BASE}/usr/lib'])" meson.build
+		vsed -i "/^common_deps/a glob_dep," meson.build
 		vsed -i '/include/s,glob.h,libglob/glob.h,g' i3bar/src/main.c libi3/resolve_tilde.c
 		vsed -i '/GLOB_TILDE/s/glob(/g_glob(/g' i3bar/src/main.c libi3/resolve_tilde.c
 		vsed -i 's/globfree(/g_globfree(/g' i3bar/src/main.c libi3/resolve_tilde.c
@@ -48,6 +45,4 @@ do_check() {
 post_install() {
 	rm -rf ${DESTDIR}/usr/include
 	vlicense LICENSE
-	vmkdir usr/share/man/man1
-	install -m644 man/*.1 ${DESTDIR}/usr/share/man/man1
 }

             reply	other threads:[~2020-11-16 17:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 17:02 abenson [this message]
2020-11-16 17:51 ` [PR PATCH] [Updated] " abenson
2020-11-17 18:57 ` [PR PATCH] [Merged]: " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26437@inbox.vuxu.org \
    --to=abenson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).