openbsd-ports/print/system-config-printer/patches/patch-Makefile_in

66 lines
2.2 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.7 2009/06/08 19:24:43 ajacoutot Exp $
--- Makefile.in.orig Wed Feb 18 17:10:32 2009
+++ Makefile.in Thu Jun 4 03:22:18 2009
@@ -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 \
@@ -1040,35 +1040,31 @@ clean-local:
install-desktopDATA: $(desktop_DATA)
mkdir -p $(DESTDIR)$(desktopdir)
mkdir -p $(DESTDIR)$(desktopdir)
- desktop-file-install --vendor redhat \
+ desktop-file-install \
--dir $(DESTDIR)$(desktopdir) \
- --add-category X-Red-Hat-Base \
--add-category System \
--add-category Settings \
--add-category HardwareSettings \
--add-category Printing \
--add-category GTK \
system-config-printer.desktop
- desktop-file-install --vendor redhat \
+ desktop-file-install \
--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 \
+ desktop-file-install \
--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 \
+ desktop-file-install \
+ --dir $(DESTDIR)$(autostartdir) \
+ --add-category System \
+ --add-category Monitor \
+ --add-category GTK \
print-applet.desktop
uninstall-desktopDATA:
@@ -1120,7 +1116,7 @@ help:
@echo " run-applet Run system-config-printer-applet with local glade file"
test-ppd-module.sh:
- echo "#!/usr/bin/env python" > "$@"
+ echo "#!${MODPY_BIN}" > "$@"
echo "import sys; sys.path.append ('$(top_srcdir)')" >> "$@"
echo "from cupshelpers.ppds import _self_test" >> "$@"
echo "_self_test(sys.argv)" >> "$@"