Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] wordgrinder: update to 0.8.
@ 2020-10-26 13:28 abenson
  2020-10-27 12:59 ` abenson
  2020-10-27 12:59 ` [PR PATCH] [Closed]: " abenson
  0 siblings, 2 replies; 3+ messages in thread
From: abenson @ 2020-10-26 13:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/abenson/void-packages wg_0.8
https://github.com/void-linux/void-packages/pull/25897

wordgrinder: update to 0.8.


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

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

From 90e4b2bd8fdfb888335eeae9f5c2bdcaf183baeb Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Mon, 26 Oct 2020 08:22:38 -0500
Subject: [PATCH] wordgrinder: update to 0.8.

---
 srcpkgs/wordgrinder/patches/fix-objdir.patch  | 11 -------
 srcpkgs/wordgrinder/patches/osexec-bool.patch | 31 -------------------
 srcpkgs/wordgrinder/template                  | 14 ++++-----
 3 files changed, 7 insertions(+), 49 deletions(-)
 delete mode 100644 srcpkgs/wordgrinder/patches/fix-objdir.patch
 delete mode 100644 srcpkgs/wordgrinder/patches/osexec-bool.patch

diff --git a/srcpkgs/wordgrinder/patches/fix-objdir.patch b/srcpkgs/wordgrinder/patches/fix-objdir.patch
deleted file mode 100644
index b4fa19a5ab1..00000000000
--- a/srcpkgs/wordgrinder/patches/fix-objdir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig
-+++ Makefile
-@@ -11,7 +11,7 @@
- DESTDIR ?=
- 
- # Where do the temporary files go?
--OBJDIR = /tmp/wg-build
-+OBJDIR = wg-build
- 
- # The compiler used for the native build (curses, X11)
- CC ?= cc
diff --git a/srcpkgs/wordgrinder/patches/osexec-bool.patch b/srcpkgs/wordgrinder/patches/osexec-bool.patch
deleted file mode 100644
index 713181b0bdc..00000000000
--- a/srcpkgs/wordgrinder/patches/osexec-bool.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- build.lua.orig
-+++ build.lua
-@@ -24,7 +24,7 @@
-     if package == "builtin" then
-         return true
-     end
--    return os.execute("pkg-config "..package) == 0
-+    return os.execute("pkg-config "..package)
- end
- 
- local function detect_package(name, package)
-@@ -54,7 +54,7 @@
- end
- 
- local function has_binary(binary)
--    return os.execute("type "..binary.." >/dev/null 2>&1") == 0
-+    return os.execute("type "..binary.." >/dev/null 2>&1")
- end
- 
- local function package_flags(package, kind)
-@@ -68,8 +68,8 @@
-     end
- 
-     local filename = os.tmpname()
--    local e = os.execute("pkg-config "..kind.." "..package.." > "..filename)
--    if e ~= 0 then
-+    
-+    if os.execute("pkg-config "..kind.." "..package.." > "..filename) == false then
-         error("required package "..package.." is not available")
-     end
-     local s = io.open(filename):read("*a")
diff --git a/srcpkgs/wordgrinder/template b/srcpkgs/wordgrinder/template
index 4f352f023e7..f55be3a4df0 100644
--- a/srcpkgs/wordgrinder/template
+++ b/srcpkgs/wordgrinder/template
@@ -1,7 +1,7 @@
 # Template file for 'wordgrinder'
 pkgname=wordgrinder
-version=0.7.2
-revision=2
+version=0.8
+revision=1
 hostmakedepends="pkg-config ninja lua53"
 makedepends="libXft-devel lua53-devel"
 short_desc="A terminal-based word processor"
@@ -9,20 +9,20 @@ maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="MIT"
 homepage="http://cowlark.com/wordgrinder"
 distfiles="https://github.com/davidgiven/wordgrinder/archive/${version}.tar.gz"
-checksum=4e1bc659403f98479fe8619655f901c8c03eb87743374548b4d20a41d31d1dff
+checksum=856cbed2b4ccd5127f61c4997a30e642d414247970f69932f25b4b5a81b18d3f
 
 do_configure() {
 	export PKG_CONFIG_PATH=${XBPS_CROSS_BASE}/usr/lib/pkgconfig:${XBPS_CROSS_BASE}/usr/share/pkgconfig
 	export PKG_CONFIG_LIBDIR=${XBPS_CROSS_BASE}/usr/lib/pkgconfig
 	export PKG_CONFIG_SYSROOT_DIR=${XBPS_CROSS_BASE}
 	LDFLAGS+=" -lX11 "
-	make wg-build/build.ninja LUA_PACKAGE=lua LUA_INTERPRETER=/usr/bin/lua XFT_PACKAGE=xft
+	make .obj/build.ninja LUA_PACKAGE=lua LUA_INTERPRETER=/usr/bin/lua XFT_PACKAGE=xft
 }
 
 do_build() {
-	ninja -f wg-build/build.ninja bin/xwordgrinder-builtin-x11-release
-	ninja -f wg-build/build.ninja bin/wordgrinder-builtin-curses-release
-	ninja -f wg-build/build.ninja bin/wordgrinder.1
+	ninja -f .obj/build.ninja bin/xwordgrinder-builtin-x11-release
+	ninja -f .obj/build.ninja bin/wordgrinder-builtin-curses-release
+	ninja -f .obj/build.ninja bin/wordgrinder.1
 }
 
 do_install() {

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

* Re: wordgrinder: update to 0.8.
  2020-10-26 13:28 [PR PATCH] wordgrinder: update to 0.8 abenson
@ 2020-10-27 12:59 ` abenson
  2020-10-27 12:59 ` [PR PATCH] [Closed]: " abenson
  1 sibling, 0 replies; 3+ messages in thread
From: abenson @ 2020-10-27 12:59 UTC (permalink / raw)
  To: ml

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

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/25897#issuecomment-717225772

Comment:
Closed via 0c9c04301d37fe621d8f8eae3a4cac987fefaf2e

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

* Re: [PR PATCH] [Closed]: wordgrinder: update to 0.8.
  2020-10-26 13:28 [PR PATCH] wordgrinder: update to 0.8 abenson
  2020-10-27 12:59 ` abenson
@ 2020-10-27 12:59 ` abenson
  1 sibling, 0 replies; 3+ messages in thread
From: abenson @ 2020-10-27 12:59 UTC (permalink / raw)
  To: ml

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

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

wordgrinder: update to 0.8.
https://github.com/void-linux/void-packages/pull/25897

Description:


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

end of thread, other threads:[~2020-10-27 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-26 13:28 [PR PATCH] wordgrinder: update to 0.8 abenson
2020-10-27 12:59 ` abenson
2020-10-27 12:59 ` [PR PATCH] [Closed]: " abenson

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).