Patchwork [05/10] foomatic-filters: fix CUPS directory config

login
register
mail settings
Submitter Constantin Musca
Date Feb. 4, 2013, 9:20 a.m.
Message ID <3943eeea0a8ca0f2e25d4e877eaa9e747db73acd.1359967266.git.constantinx.musca@intel.com>
Download mbox | patch
Permalink /patch/43937/
State Accepted
Commit 141621d956ea66a026b3571c3e0d30f1ab43961e
Headers show

Comments

Constantin Musca - Feb. 4, 2013, 9:20 a.m.
- use CUPS_SERVERBIN to configure the CUPS directory
- the removed variables are not used anymore

Fix the following warning:
WARNING: QA Issue: foomatic-filters: Files/directories were installed but not shipped
  /usr/lib64
  /usr/lib64/cups
  /usr/lib64/cups/filter
  /usr/lib64/cups/backend
  /usr/lib64/cups/filter/foomatic-rip
  /usr/lib64/cups/backend/beh

Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
---
 meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

Patch

diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
index bb01f71..c0290b1 100644
--- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
+++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.17.bb
@@ -10,7 +10,7 @@  format using a printer-specific, but spooler-independent PPD file. \
 "
 
 DEPENDS += "cups perl libxml2"
-PR = "r0"
+PR = "r1"
 
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
@@ -26,10 +26,7 @@  EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
 
 do_configure_prepend() {
     export PERL="${bindir}/env perl"
-    export LIB_CUPS=${exec_prefix}/lib/cups               # /usr/lib NOT libdir
-    export CUPS_BACKENDS=${exec_prefix}/lib/cups/backend  # /usr/lib NOT libdir
-    export CUPS_FILTERS=${exec_prefix}/lib/cups/filter    # /usr/lib NOT libdir
-    export CUPS_PPDS=${datadir}/cups/model
+    export CUPS_SERVERBIN=${exec_prefix}/lib/cups       # /usr/lib NOT libdir
 }
 
 do_install_append_linuxstdbase() {