summaryrefslogtreecommitdiff
path: root/net-print/hplip/files/hplip-3.11.1-desktop.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/hplip/files/hplip-3.11.1-desktop.patch')
-rw-r--r--net-print/hplip/files/hplip-3.11.1-desktop.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-print/hplip/files/hplip-3.11.1-desktop.patch b/net-print/hplip/files/hplip-3.11.1-desktop.patch
new file mode 100644
index 00000000..0ed31ec0
--- /dev/null
+++ b/net-print/hplip/files/hplip-3.11.1-desktop.patch
@@ -0,0 +1,18 @@
+--- Makefile.am.old 2011-01-24 20:40:08.989802335 +0100
++++ Makefile.am 2011-01-24 20:40:23.913135667 +0100
+@@ -332,6 +332,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
+@@ -339,6 +340,7 @@
+ # hplip-systray.desktop
+ hplip_systraydir = $(systraydir)
+ hplip_systray_DATA = hplip-systray.desktop
++endif
+
+ # hpipjs (CUPS filter)
+ hplipjsdir = $(cupsfilterdir)