summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/hplip/files/hplip-3.12.4-desktop.patch')
-rw-r--r--net-print/hplip/files/hplip-3.12.4-desktop.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-print/hplip/files/hplip-3.12.4-desktop.patch b/net-print/hplip/files/hplip-3.12.4-desktop.patch
new file mode 100644
index 000000000000..d14e9a1d7c5e
--- /dev/null
+++ b/net-print/hplip/files/hplip-3.12.4-desktop.patch
@@ -0,0 +1,18 @@
+--- Makefile.am.old 2012-04-10 10:35:14.000000000 +0200
++++ Makefile.am 2012-04-11 19:17:34.276681669 +0200
+@@ -341,6 +341,7 @@
+ hppgsz_CFLAGS = $(libapdk_la_CFLAGS)
+ hppgsz_LDADD = libapdk.la -ljpeg -ldl
+
++if GUI_BUILD
+ # hplip.desktop
+ hplip_desktopdir = $(icondir)
+ hplip_desktop_DATA = hplip.desktop
+@@ -348,6 +349,7 @@
+ # hplip-systray.desktop
+ hplip_systraydir = $(systraydir)
+ hplip_systray_DATA = hplip-systray.desktop
++endif
+
+ # hpipjs (CUPS filter)
+ hplipjsdir = $(cupsfilterdir)