Github messages for voidlinux
 help / color / mirror / Atom feed
From: ndowens <ndowens@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] nautilus-python: fix cross-build
Date: Sat, 26 Dec 2020 01:15:36 +0100	[thread overview]
Message-ID: <20201226001536.nxSk-IkQmnBhC5WqOKIKHlqssVXpg_V62QE1greRH6I@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27416@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages nautilus-python
https://github.com/void-linux/void-packages/pull/27416

nautilus-python: fix cross-build


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

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

From 8a5c894fd5e2a0b352a0f66cd1758f56e81dfffe Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Thu, 24 Dec 2020 22:04:09 -0600
Subject: [PATCH] nautilus-python: fix cross-build

---
 srcpkgs/nautilus-python/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/nautilus-python/template b/srcpkgs/nautilus-python/template
index d4d7d72122b..79f2427b08f 100644
--- a/srcpkgs/nautilus-python/template
+++ b/srcpkgs/nautilus-python/template
@@ -3,9 +3,11 @@ pkgname=nautilus-python
 version=1.2.3
 revision=3
 build_style=gnu-configure
-configure_args="--enable-gtk-doc PYTHON=python3"
-hostmakedepends="automake libtool pkg-config which"
-makedepends="python3-devel python3-gobject-devel gtk-doc nautilus-devel"
+configure_args="--disable-gtk-doc PYTHON=python3
+ PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/${py3_inc}
+ PYTHON_LIBS=-lpython${py3_ver}"
+hostmakedepends="automake libtool pkg-config which python3"
+makedepends="python3-devel python3-gobject-devel nautilus-devel"
 depends="nautilus python3-gobject"
 short_desc="Python bindings for the Nautilus extension framework"
 maintainer="Nafis <mnabid.25@outlook.com>"
@@ -13,6 +15,5 @@ license="GPL-2.0-or-later"
 homepage="https://wiki.gnome.org/Projects/NautilusPython"
 distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
 checksum=073ce0297282259937ab473d189b97a04f42b97197c9292fc3bde9d135282098
-nocross="could not find Python headers"
 
 CFLAGS="-fcommon"

  parent reply	other threads:[~2020-12-26  0:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-25  4:03 [PR PATCH] " ndowens
2020-12-26  0:05 ` [PR REVIEW] " sgn
2020-12-26  0:06 ` sgn
2020-12-26  0:15 ` ndowens [this message]
2020-12-26  4:48 ` sgn
2020-12-26  9:38 ` mnabid
2020-12-27  4:28 ` [PR PATCH] [Closed]: " sgn

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=20201226001536.nxSk-IkQmnBhC5WqOKIKHlqssVXpg_V62QE1greRH6I@z \
    --to=ndowens@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).