From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] cups: replace `xdg-open` by `gio open` from glib
Date: Sun, 15 Sep 2019 22:01:58 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-14478@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
There is a new pull request by concatime against master on the void-packages repository
https://github.com/concatime/void-packages cups-no-xdg-utils
https://github.com/void-linux/void-packages/pull/14478
cups: replace `xdg-open` by `gio open` from glib
A patch file from https://github.com/void-linux/void-packages/pull/14478.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cups-no-xdg-utils-14478.patch --]
[-- Type: text/x-diff, Size: 1436 bytes --]
From 8a6f880a28c220319db6b3bcd2c46ffc1b6a6d06 Mon Sep 17 00:00:00 2001
From: Issam Maghni <me@concati.me>
Date: Sun, 15 Sep 2019 16:01:36 -0400
Subject: [PATCH] cups: replace `xdg-open` by `gio open` from glib
---
srcpkgs/cups/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/cups/template b/srcpkgs/cups/template
index 0f3bbb1e894..9c11ed7bbe2 100644
--- a/srcpkgs/cups/template
+++ b/srcpkgs/cups/template
@@ -1,13 +1,13 @@
# Template file for 'cups'
pkgname=cups
version=2.2.12
-revision=1
+revision=2
hostmakedepends="automake avahi-libs-devel gnutls-devel pkg-config
poppler-utils"
makedepends="acl-devel avahi-libs-devel gnutls-devel libpaper-devel
libpng-devel libusb-devel pam-devel poppler-devel tiff-devel
$(vopt_if gssapi 'mit-krb5-devel')"
-depends="xdg-utils"
+depends="glib"
short_desc="Common Unix Printing System"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
@@ -85,7 +85,7 @@ do_install() {
echo "# alternative: ServerName hostname-or-ip-address[:port] of a remote server" >> \
${DESTDIR}/etc/cups/client.conf
# fix .desktop file
- sed -i 's|^Exec=htmlview http://localhost:631/|Exec=xdg-open http://localhost:631/|g' \
+ sed -i 's|^Exec=htmlview http://localhost:631/|Exec=gio open http://127.0.0.1:631|g' \
${DESTDIR}/usr/share/applications/cups.desktop
# Install pam file
vinstall ${FILESDIR}/cups.pam 644 etc/pam.d cups
next reply other threads:[~2019-09-15 20:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-15 20:01 voidlinux-github [this message]
2019-09-16 14:27 ` voidlinux-github
2019-09-16 18:00 ` voidlinux-github
2019-09-16 19:40 ` voidlinux-github
2019-09-16 20:12 ` voidlinux-github
2020-03-02 10:40 ` xtraeme
2020-03-02 10:40 ` [PR PATCH] [Closed]: " xtraeme
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-14478@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).