openbsd-ports/print/system-config-printer/patches/patch-Makefile_in
ajacoutot 1228e6a72e - remove X-Red-Hat category for .desktop files (from jasper@)
- make the manage printer job entry appear (from jasper@)
- fix path to system-config-printer in applet.py
- use SUBST_FILES

ok jasper@
2008-06-12 21:51:42 +00:00

47 lines
1.6 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2008/06/12 21:51:43 ajacoutot Exp $
--- Makefile.in.orig Thu Apr 3 17:54:22 2008
+++ Makefile.in Thu Jun 12 19:57:58 2008
@@ -290,7 +290,7 @@ man_MANS = \
dbus_DATA = \
newprinternotification.conf
-dbusdir = $(sysconfdir)/dbus-1/system.d/
+dbusdir = $(datadir)/examples/system-config-printer/
desktop_DATA = \
system-config-printer.desktop \
print-applet.desktop \
@@ -912,7 +912,6 @@ install-desktopDATA: $(desktop_DATA)
mkdir -p $(DESTDIR)$(desktopdir)
desktop-file-install --vendor redhat \
--dir $(DESTDIR)$(desktopdir) \
- --add-category X-Red-Hat-Base \
--add-category System \
--add-category Settings \
--add-category HardwareSettings \
@@ -921,25 +920,16 @@ install-desktopDATA: $(desktop_DATA)
system-config-printer.desktop
desktop-file-install --vendor redhat \
--dir $(DESTDIR)$(desktopdir) \
- --add-category X-Red-Hat-Base \
--add-category System \
--add-category Monitor \
--add-category GTK \
manage-print-jobs.desktop
desktop-file-install --vendor redhat \
--dir $(DESTDIR)$(desktopdir) \
- --add-category X-Red-Hat-Base \
--add-category Settings \
--add-category HardwareSettings \
--add-category GTK \
my-default-printer.desktop
- desktop-file-install --vendor redhat \
- --dir $(DESTDIR)$(autostartdir) \
- --add-category X-Red-Hat-Base \
- --add-category System \
- --add-category Monitor \
- --add-category GTK \
- print-applet.desktop
uninstall-desktopDATA:
rm -f $(DESTDIR)$(desktopdir)/redhat-system-config-printer.desktop