openbsd-ports/print/system-config-printer/patches/patch-Makefile_in
2008-09-17 12:00:56 +00:00

47 lines
1.6 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.4 2008/09/17 12:00:56 ajacoutot Exp $
--- Makefile.in.orig Fri Aug 29 12:33:56 2008
+++ Makefile.in Wed Sep 17 13:46:48 2008
@@ -308,7 +308,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 \
@@ -1033,7 +1033,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 \
@@ -1042,25 +1041,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