Don't show the menu entry when we are in GNOME since it already comes with
a CUPS configuration tool in gnome-control-center. While here, don't enforce the dependency on CUPS; while this is a CUPS configuration tool, it's also a dependency of gnome-control-center and some users may not want CUPS on their system.
This commit is contained in:
parent
cca26882d0
commit
9561aa61e5
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.46 2017/07/14 16:12:00 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.47 2017/07/21 13:41:45 ajacoutot Exp $
|
||||
|
||||
COMMENT= printer (CUPS) administration tool
|
||||
|
||||
GH_ACCOUNT= zdohnal
|
||||
GH_PROJECT= system-config-printer
|
||||
GH_TAGNAME= v1.5.9
|
||||
REVISION= 0
|
||||
|
||||
CATEGORIES= print sysutils
|
||||
|
||||
@ -39,8 +40,9 @@ RUN_DEPENDS += devel/libnotify \
|
||||
x11/gnome/libgnome-keyring \
|
||||
x11/gtk+3
|
||||
|
||||
# package is only useful if cups is installed
|
||||
RUN_DEPENDS += print/cups
|
||||
# only useful if cups is installed but don't enforce the dependency because
|
||||
# gnome-control-center requires system-config-printer and we may not want cups
|
||||
#RUN_DEPENDS += print/cups
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
|
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-system-config-printer_desktop_in,v 1.6 2017/07/21 13:41:45 ajacoutot Exp $
|
||||
|
||||
GNOME already comes with a CUPS configuration tool in gnome-control-center.
|
||||
|
||||
Index: system-config-printer.desktop.in
|
||||
--- system-config-printer.desktop.in.orig
|
||||
+++ system-config-printer.desktop.in
|
||||
@@ -5,4 +5,5 @@ Exec=system-config-printer
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=printer
|
||||
+NotShowIn=GNOME;
|
||||
StartupNotify=true
|
Loading…
x
Reference in New Issue
Block a user