Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cups: replace `xdg-open` by `gio open` from glib
@ 2019-09-15 20:01 voidlinux-github
  2019-09-16 14:27 ` voidlinux-github
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: voidlinux-github @ 2019-09-15 20:01 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-03-02 10:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-15 20:01 [PR PATCH] cups: replace `xdg-open` by `gio open` from glib voidlinux-github
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

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).