Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] girara: update 0.3.3 and fix open
Date: Tue, 08 Oct 2019 16:20:18 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15254@inbox.vuxu.org> (raw)

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

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

https://github.com/concatime/void-packages girara
https://github.com/void-linux/void-packages/pull/15254

girara: update 0.3.3 and fix open
Because girara already depends on glib, I replaced `xdg-open` by `gio open` instead of adding yet another dependency.

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

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

From 7d7ed8c289dd5b57cdc7d652ff5a2a02332f355b Mon Sep 17 00:00:00 2001
From: Issam Maghni <me@concati.me>
Date: Tue, 8 Oct 2019 10:19:27 -0400
Subject: [PATCH] girara: update 0.3.3 and fix open

---
 .../girara/patches/xdg-open-to-gio-open.patch  | 18 ++++++++++++++++++
 srcpkgs/girara/template                        |  6 +++---
 2 files changed, 21 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/girara/patches/xdg-open-to-gio-open.patch

diff --git a/srcpkgs/girara/patches/xdg-open-to-gio-open.patch b/srcpkgs/girara/patches/xdg-open-to-gio-open.patch
new file mode 100644
index 00000000000..3bdce90c252
--- /dev/null
+++ b/srcpkgs/girara/patches/xdg-open-to-gio-open.patch
@@ -0,0 +1,18 @@
++++ girara/utils.c
+@@ -68,7 +68,7 @@ girara_xdg_open_with_working_directory(const char* uri, const char* working_dire
+   }
+
+   /* g_spawn_async expects char** */
+-  char* argv[] = { g_strdup("xdg-open"), g_strdup(uri), NULL };
++  char* argv[] = { g_strdup("gio"), g_strdup("open"), g_strdup(uri), NULL };
+
+   GError* error = NULL;
+   const bool res = g_spawn_async(working_directory, argv, NULL, G_SPAWN_SEARCH_PATH, NULL,
+@@ -78,6 +78,7 @@ girara_xdg_open_with_working_directory(const char* uri, const char* working_dire
+     g_error_free(error);
+   }
+
++  g_free(argv[2]);
+   g_free(argv[1]);
+   g_free(argv[0]);
+
diff --git a/srcpkgs/girara/template b/srcpkgs/girara/template
index 23657857b6b..2b2f016fff5 100644
--- a/srcpkgs/girara/template
+++ b/srcpkgs/girara/template
@@ -1,6 +1,6 @@
 # Template file for 'girara'
 pkgname=girara
-version=0.3.2
+version=0.3.3
 revision=1
 build_style=meson
 configure_args="-Dnotify=auto -Dtests=disabled"
@@ -10,8 +10,8 @@ short_desc="A library implementing a user interface that focuses on minimalism"
 maintainer="lemmi <lemmi@nerd2nerd.org>"
 license="Zlib"
 homepage="https://pwmt.org/projects/girara/"
-distfiles="https://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.xz"
-checksum=1700353a101f3c520f9b22e79d71ea5b268a9ec324796cf9e64775d96bb086cd
+distfiles="https://git.pwmt.org/pwmt/${pkgname}/-/archive/${version}/${pkgname}-${version}.tar.gz"
+checksum=4456ddd6f0420fa6f1677a4a8f438f0401c38c2521585db3ee42e339a730798f
 
 post_install() {
 	vlicense LICENSE

             reply	other threads:[~2019-10-08 14:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 14:20 voidlinux-github [this message]
2019-10-08 14:39 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-08 14:39 ` voidlinux-github
2019-10-08 19:08 ` voidlinux-github
2019-10-08 19:47 ` voidlinux-github
2019-10-11  2:51 ` voidlinux-github
2019-10-11  2:51 ` [PR PATCH] [Closed]: " voidlinux-github

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-15254@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --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).