Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pass: add "x11" build option
Date: Sun, 20 Oct 2019 03:03:57 +0200	[thread overview]
Message-ID: <20191020010357.UEyOXf6mPNhvoT4fLkpnv4Fc5cRcCR-b24ZGYqNAynY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15632@inbox.vuxu.org>

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

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

https://github.com/KAction/void-packages pass-x11
https://github.com/void-linux/void-packages/pull/15632

pass: add "x11" build option
When "x11" option is disabled (enabled by default), "xclip" and
transitive dependencies on X libraries are not pulled by package
installation.

"xclip" still can be installed separately, though, to regain full
functionality.

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

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

From 9dcf513ff5ae3382056a708698a0da625093eb45 Mon Sep 17 00:00:00 2001
From: Dmitry Bogatov <KAction@disroot.org>
Date: Sun, 20 Oct 2019 00:51:50 +0000
Subject: [PATCH] pass: add "x11" build option

When "x11" option is disabled (enabled by default), "xclip" and
transitive dependencies on X libraries are not pulled by package
installation.

"xclip" still can be installed separately, though, to regain full
functionality.
---
 srcpkgs/pass/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/pass/template b/srcpkgs/pass/template
index fa2ee0f4a24..15ec0034efc 100644
--- a/srcpkgs/pass/template
+++ b/srcpkgs/pass/template
@@ -6,7 +6,7 @@ archs=noarch
 wrksrc="password-store-${version}"
 build_style=gnu-makefile
 make_install_args="WITH_BASHCOMP=yes WITH_ZSHCOMP=yes WITH_FISHCOMP=yes"
-depends="bash gnupg2 tree xclip"
+depends="bash gnupg2 tree $(vopt_if x11 xclip)"
 checkdepends="${depends} git"
 short_desc="Stores, retrieves, generates, and synchronizes passwords securely"
 maintainer="Eivind Uggedal <eivind@uggedal.com>"
@@ -15,6 +15,8 @@ homepage="http://www.passwordstore.org/"
 distfiles="http://git.zx2c4.com/password-store/snapshot/password-store-${version}.tar.xz"
 checksum=2b6c65846ebace9a15a118503dcd31b6440949a30d3b5291dfb5b1615b99a3f4
 make_check_target=test
+build_options="x11"
+build_options_default="x11"
 
 passmenu_package() {
 	short_desc="A dmenu-based interface to pass"

  parent reply	other threads:[~2019-10-20  1:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-20  0:56 [PR PATCH] " voidlinux-github
2019-10-20  1:03 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-20  1:03 ` voidlinux-github [this message]
2019-10-20  1:14 ` voidlinux-github
2019-10-20  3:43 ` voidlinux-github
2019-10-20  3:43 ` [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=20191020010357.UEyOXf6mPNhvoT4fLkpnv4Fc5cRcCR-b24ZGYqNAynY@z \
    --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).