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] babl: update to 0.1.82
Date: Thu, 10 Dec 2020 22:46:15 +0100	[thread overview]
Message-ID: <20201210214615.i5lH5otrYZyCxBSF3h8cNqotmZ22f9japAl2aF_otbk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-26833@inbox.vuxu.org>

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

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

https://github.com/ndowens/void-packages babl
https://github.com/void-linux/void-packages/pull/26833

babl: update to 0.1.82
Add patch to allow gir during cross-build
@Gottox I tested this update against build of gegl-devel and it built fine even during cross-build.

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

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

From ed65fd5d7b7e0c18dd9e0cda202b094d18428df3 Mon Sep 17 00:00:00 2001
From: Nathan Owens <ndowens@artixlinux.org>
Date: Mon, 30 Nov 2020 10:45:48 -0600
Subject: [PATCH] babl: update to 0.1.82

Add patch to allow gir during cross-build
---
 .../0001-Allow-gir-if-cross-building.patch    | 33 +++++++++++++++++++
 srcpkgs/babl/template                         |  8 ++---
 2 files changed, 37 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/babl/patches/0001-Allow-gir-if-cross-building.patch

diff --git a/srcpkgs/babl/patches/0001-Allow-gir-if-cross-building.patch b/srcpkgs/babl/patches/0001-Allow-gir-if-cross-building.patch
new file mode 100644
index 00000000000..6bfd4609806
--- /dev/null
+++ b/srcpkgs/babl/patches/0001-Allow-gir-if-cross-building.patch
@@ -0,0 +1,33 @@
+From 1094a0b738df972bbfabb498c3036c47a8165b5b Mon Sep 17 00:00:00 2001
+From: Nathan Owens <ndowens@artixlinux.org>
+Date: Thu, 10 Dec 2020 15:06:24 -0600
+Subject: [PATCH] Allow cross-building gir
+
+Cross-building with gir built fine on VoidLinux
+---
+ meson.build | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+diff --git meson.build meson.build
+index bf0b3eb1d..1ea0e2045 100644
+--- meson.build
++++ meson.build
+@@ -389,13 +389,9 @@ elif get_option('with-docs') == 'false'
+   build_docs = false
+ endif
+ 
+-# Introspection - don't build  by default on cross-build environments
+-if get_option('enable-gir') == 'auto'
+-  build_gir = meson.is_cross_build() ? false : true
++if get_option('enable-gir') == 'true' and g_ir.found()
++	build_gir = true
+ else
+-  build_gir = get_option('enable-gir') == 'true' ? true : false
+-endif
+-if not g_ir.found()
+   build_gir = false
+ endif
+ 
+-- 
+GitLab
+
diff --git a/srcpkgs/babl/template b/srcpkgs/babl/template
index 747bad3e40c..49bc269c9a3 100644
--- a/srcpkgs/babl/template
+++ b/srcpkgs/babl/template
@@ -1,11 +1,11 @@
 # Template file for 'babl'
 pkgname=babl
-version=0.1.78
+version=0.1.82
 revision=1
 build_style=meson
 build_helper=gir
-configure_args="-Dwith-docs=false"
-hostmakedepends="pkg-config vala-devel gobject-introspection"
+configure_args="-Dwith-docs=false -Denable-gir=true"
+hostmakedepends="pkg-config vala-devel"
 makedepends="lcms2-devel"
 short_desc="Dynamic pixel format translation library"
 maintainer="Enno Boland <gottox@voidlinux.org>"
@@ -13,7 +13,7 @@ license="LGPL-3.0-only"
 homepage="http://gegl.org/babl/"
 changelog="https://raw.githubusercontent.com/GNOME/babl/master/NEWS"
 distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.xz"
-checksum=17d5493633bff5585d9f375bc4df5925157cd1c70ccd7c22a635be75c172523a
+checksum=c62d93d4ad6774cb8e3231bbbc7f2e61e551e7242d78640d757505ee1a9fadc5
 
 case "$XBPS_TARGET_MACHINE" in
 	x86_64*|i686*) ;;

  parent reply	other threads:[~2020-12-10 21:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30 16:45 [PR PATCH] " ndowens
2020-12-10 21:18 ` [PR PATCH] [Updated] " ndowens
2020-12-10 21:46 ` ndowens [this message]
2020-12-10 22:07 ` ndowens
2020-12-12  7:08 ` ericonr
2020-12-12  9:33 ` ndowens
2020-12-21 21:26 ` biopsin
2020-12-21 21:27 ` biopsin
2020-12-21 21:51 ` biopsin
2021-02-01  3:54 ` [PR PATCH] [Closed]: " ericonr
2021-02-01  3:54 ` ericonr

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=20201210214615.i5lH5otrYZyCxBSF3h8cNqotmZ22f9japAl2aF_otbk@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).