diff options
Diffstat (limited to 'meta-oe/recipes-extended/hplip/hplip/0002-Add-ImageProcessor-only-when-DISBALE_IMAGEPROCESSOR_.patch')
-rw-r--r-- | meta-oe/recipes-extended/hplip/hplip/0002-Add-ImageProcessor-only-when-DISBALE_IMAGEPROCESSOR_.patch | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/meta-oe/recipes-extended/hplip/hplip/0002-Add-ImageProcessor-only-when-DISBALE_IMAGEPROCESSOR_.patch b/meta-oe/recipes-extended/hplip/hplip/0002-Add-ImageProcessor-only-when-DISBALE_IMAGEPROCESSOR_.patch index 2cfe1255e..fa973a8d8 100644 --- a/meta-oe/recipes-extended/hplip/hplip/0002-Add-ImageProcessor-only-when-DISBALE_IMAGEPROCESSOR_.patch +++ b/meta-oe/recipes-extended/hplip/hplip/0002-Add-ImageProcessor-only-when-DISBALE_IMAGEPROCESSOR_.patch | |||
@@ -7,8 +7,8 @@ Subject: [PATCH 2/4] Add ImageProcessor only when DISBALE_IMAGEPROCESSOR_BUILD | |||
7 | Upstream-Status: Pending | 7 | Upstream-Status: Pending |
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | --- | 9 | --- |
10 | Makefile.am | 6 +++++- | 10 | Makefile.am | 8 +++++++- |
11 | 1 file changed, 5 insertions(+), 1 deletion(-) | 11 | 1 file changed, 7 insertions(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/Makefile.am b/Makefile.am | 13 | diff --git a/Makefile.am b/Makefile.am |
14 | index 5f75759..73421b1 100644 | 14 | index 5f75759..73421b1 100644 |
@@ -27,6 +27,22 @@ index 5f75759..73421b1 100644 | |||
27 | #else | 27 | #else |
28 | #hpcupsdir = $(cupsfilterdir) | 28 | #hpcupsdir = $(cupsfilterdir) |
29 | #hpcups_PROGRAMS = hpcups | 29 | #hpcups_PROGRAMS = hpcups |
30 | @@ -687,6 +692,7 @@ | ||
31 | |||
32 | install-data-hook: | ||
33 | if HPLIP_BUILD | ||
34 | +if !DISBALE_IMAGEPROCESSOR_BUILD | ||
35 | if [ \( "$(UNAME)" = "x86_64" -a -d "$(libdir)/" \) ]; then \ | ||
36 | cp prnt/hpcups/libImageProcessor-x86_64.so $(libdir)/ ; \ | ||
37 | chmod 775 $(libdir)/libImageProcessor-x86_64.so ; \ | ||
38 | @@ -697,6 +703,7 @@ | ||
39 | chmod 775 $(libdir)/libImageProcessor-x86_32.so ; \ | ||
40 | ln -sf $(libdir)/libImageProcessor-x86_32.so $(libdir)/libImageProcessor.so ; \ | ||
41 | fi | ||
42 | +endif #DISABLE_IMAGEPROCESSOR | ||
43 | if [ -d "/usr/share/ipp-usb/quirks/" ]; then \ | ||
44 | echo "ipp-usb directory exists"; \ | ||
45 | cp prnt/ipp-usb/HPLIP.conf /usr/share/ipp-usb/quirks/ ; \ | ||
30 | -- | 46 | -- |
31 | 2.37.3 | 47 | 2.37.3 |
32 | 48 | ||