Github messages for voidlinux
 help / color / mirror / Atom feed
From: pbui <pbui@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] cups-filters: update to 1.27.4.
Date: Tue, 28 Apr 2020 16:24:44 +0200	[thread overview]
Message-ID: <20200428142444.MChu5e5Py4Hpr5MOD45Eda3mebLQv6UlrsM-6WbsiLw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21391@inbox.vuxu.org>

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

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

https://github.com/pbui/void-packages cups-filters
https://github.com/void-linux/void-packages/pull/21391

[WIP] cups-filters: update to 1.27.4.
dejavu-fonts-ttf is now a build dependency due to this upstream change:

    https://github.com/OpenPrinting/cups-filters/pull/214

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

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

From 4267714d1cf64839e71ba59ed42346697bd46c7c Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Mon, 27 Apr 2020 10:06:06 -0400
Subject: [PATCH] cups-filters: update to 1.27.4.

dejavu-fonts-ttf is now a build dependency due to this upstream change:

    https://github.com/OpenPrinting/cups-filters/pull/214

Add it to hostmakedepends and add small patch to enable cross building
(remove check that prevents font detection while cross compiling).
---
 .../disable-test-font-cross-compile-check.patch       | 11 +++++++++++
 srcpkgs/cups-filters/template                         |  9 ++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)
 create mode 100644 srcpkgs/cups-filters/patches/disable-test-font-cross-compile-check.patch

diff --git a/srcpkgs/cups-filters/patches/disable-test-font-cross-compile-check.patch b/srcpkgs/cups-filters/patches/disable-test-font-cross-compile-check.patch
new file mode 100644
index 00000000000..b27b631a506
--- /dev/null
+++ b/srcpkgs/cups-filters/patches/disable-test-font-cross-compile-check.patch
@@ -0,0 +1,11 @@
+--- configure.orig	2020-04-27 11:43:40.128998764 -0400
++++ configure	2020-04-27 11:44:53.843061000 -0400
+@@ -23628,8 +23628,6 @@
+ if eval \${$as_ac_File+:} false; then :
+   $as_echo_n "(cached) " >&6
+ else
+-  test "$cross_compiling" = yes &&
+-  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
+ if test -r ""$with_test_font_path""; then
+   eval "$as_ac_File=yes"
+ else
diff --git a/srcpkgs/cups-filters/template b/srcpkgs/cups-filters/template
index bb35e1ab7a4..c78307e2776 100644
--- a/srcpkgs/cups-filters/template
+++ b/srcpkgs/cups-filters/template
@@ -1,24 +1,23 @@
 # Template file for 'cups-filters'
 pkgname=cups-filters
-version=1.27.2
-revision=2
+version=1.27.4
+revision=1
 build_style=gnu-configure
 configure_args="--disable-static --with-rcdir=no --enable-avahi
  --with-browseremoteprotocols=DNSSD,CUPS
  --with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf"
 hostmakedepends="ghostscript glib-devel mupdf-tools pkg-config poppler-utils
- liblouis"
+ liblouis dejavu-fonts-ttf"
 makedepends="avahi-glib-libs-devel cups-devel fontconfig-devel liblouis-devel
  ghostscript-devel lcms2-devel libqpdf-devel poppler-cpp-devel"
 depends="bc ghostscript libcups-filters-${version}_${revision} poppler-utils"
-checkdepends="dejavu-fonts-ttf"
 conf_files="/etc/cups/cups-browsed.conf"
 short_desc="OpenPrinting CUPS Filters"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later, LGPL-2.1-or-later, MIT"
 homepage="https://wiki.linuxfoundation.org/openprinting/cups-filters"
 distfiles="http://openprinting.org/download/cups-filters/${pkgname}-${version}.tar.xz"
-checksum=f7ad7ccda10340e468b9a45429baa54b84af8a170016cab89a3b5e404a97fa25
+checksum=0bc9df9c4ca0f41685c8d6de56fad40109798f567326fc4167d7edb2600f0b84
 
 lib32disabled=yes
 

  parent reply	other threads:[~2020-04-28 14:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27 14:10 [PR PATCH] " pbui
2020-04-27 15:55 ` pbui
2020-04-28 14:24 ` pbui [this message]
2020-04-28 14:31 ` pbui
2020-04-30 20:01 ` [PR PATCH] [Merged]: " Hoshpak

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=20200428142444.MChu5e5Py4Hpr5MOD45Eda3mebLQv6UlrsM-6WbsiLw@z \
    --to=pbui@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).