Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Update cups and foomatic
@ 2011-09-22 17:12 Mark Hatle
  2011-09-22 17:12 ` [PATCH 1/2] cups: Fix recipe to use the correct cups directories Mark Hatle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Hatle @ 2011-09-22 17:12 UTC (permalink / raw)
  To: openembedded-core

Based on RP's comments to the previous foomatic-filter update, I have
reviewed and revised both cups and foomatic-filters.

The following changes since commit 468e4a2f0e63e9d33e88b98a7d075b186ef481b2:

  glib-2.0: Drop old 2.27.5 development version (2011-09-22 08:47:22 +0100)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib mhatle/rpm
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/rpm

Mark Hatle (2):
  cups: Fix recipe to use the correct cups directories
  foomatic-filters: Disable filter checking

 meta/recipes-extended/cups/cups14.inc              |   20 +++++++++++++-----
 meta/recipes-extended/cups/cups_1.4.6.bb           |    2 +-
 .../foomatic/foomatic-filters_4.0.7.bb             |   21 ++++++++++++++-----
 3 files changed, 30 insertions(+), 13 deletions(-)

-- 
1.7.3.4




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] cups: Fix recipe to use the correct cups directories
  2011-09-22 17:12 [PATCH 0/2] Update cups and foomatic Mark Hatle
@ 2011-09-22 17:12 ` Mark Hatle
  2011-09-22 17:12 ` [PATCH 2/2] foomatic-filters: Disable filter checking Mark Hatle
  2011-09-22 20:01 ` [PATCH 0/2] Update cups and foomatic Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2011-09-22 17:12 UTC (permalink / raw)
  To: openembedded-core

${libdir} is not used, instead they use a common ${exec_prefix}/lib
directory structure for helpers, filters, renderers, etc.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-extended/cups/cups14.inc    |   20 ++++++++++++++------
 meta/recipes-extended/cups/cups_1.4.6.bb |    2 +-
 2 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-extended/cups/cups14.inc b/meta/recipes-extended/cups/cups14.inc
index e64f239..48f493d 100644
--- a/meta/recipes-extended/cups/cups14.inc
+++ b/meta/recipes-extended/cups/cups14.inc
@@ -64,16 +64,24 @@ python do_package_append() {
 
 PACKAGES =+ "${PN}-lib ${PN}-libimage"
 
+FILES_${PN} += "${exec_prefix}/lib/cups/backend \
+		${exec_prefix}/lib/cups/cgi-bin \
+		${exec_prefix}/lib/cups/filter \
+		${exec_prefix}/lib/cups/monitor \
+		${exec_prefix}/lib/cups/notifier \
+		${exec_prefix}/lib/cups/daemon \
+	       "
+
 FILES_${PN}-lib = "${libdir}/libcups.so.*"
 
 FILES_${PN}-libimage = "${libdir}/libcupsimage.so.*"
 
-FILES_${PN}-dbg += "${libdir}/cups/backend/.debug \
-                    ${libdir}/cups/cgi-bin/.debug \
-                    ${libdir}/cups/filter/.debug \
-                    ${libdir}/cups/monitor/.debug \
-                    ${libdir}/cups/notifier/.debug \
-                    ${libdir}/cups/daemon/.debug \
+FILES_${PN}-dbg += "${exec_prefix}/lib/cups/backend/.debug \
+                    ${exec_prefix}/lib/cups/cgi-bin/.debug \
+                    ${exec_prefix}/lib/cups/filter/.debug \
+                    ${exec_prefix}/lib/cups/monitor/.debug \
+                    ${exec_prefix}/lib/cups/notifier/.debug \
+                    ${exec_prefix}/lib/cups/daemon/.debug \
                    "
 
 #package the html for the webgui inside the main packages (~1MB uncompressed)
diff --git a/meta/recipes-extended/cups/cups_1.4.6.bb b/meta/recipes-extended/cups/cups_1.4.6.bb
index fd20dcc..0dc2d4a 100644
--- a/meta/recipes-extended/cups/cups_1.4.6.bb
+++ b/meta/recipes-extended/cups/cups_1.4.6.bb
@@ -1,6 +1,6 @@
 require cups14.inc
 
-PR = "r1"
+PR = "r2"
 DEPENDS += "libusb \
        ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] foomatic-filters: Disable filter checking
  2011-09-22 17:12 [PATCH 0/2] Update cups and foomatic Mark Hatle
  2011-09-22 17:12 ` [PATCH 1/2] cups: Fix recipe to use the correct cups directories Mark Hatle
@ 2011-09-22 17:12 ` Mark Hatle
  2011-09-22 20:01 ` [PATCH 0/2] Update cups and foomatic Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Hatle @ 2011-09-22 17:12 UTC (permalink / raw)
  To: openembedded-core

Disable a few checks, and hard code the values for a few other items
to work around potential host contamination issues.  We also default
to the cups configuration for items.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 .../foomatic/foomatic-filters_4.0.7.bb             |   21 ++++++++++++++-----
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
index 9627187..e3bcf78 100644
--- a/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
+++ b/meta/recipes-extended/foomatic/foomatic-filters_4.0.7.bb
@@ -10,7 +10,7 @@ format using a printer-specific, but spooler-independent PPD file. \
 "
 
 DEPENDS += "cups perl libxml2"
-PR = "r1"
+PR = "r2"
 
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/foomatic-filters-${PV}/COPYING;md5=393a5ca445f6965873eca0259a17f833"
@@ -20,11 +20,20 @@ SRC_URI = "http://www.openprinting.org/download/foomatic/foomatic-filters-${PV}.
 SRC_URI[md5sum] = "20abd25c1c98b2dae68709062a132a7d"
 SRC_URI[sha256sum] = "090313fae40b177f505d9c9b93d7a4d7188b6d5d18b6ae41ab24903ac983478d"
 
-do_install_append_linuxstdbase() {
-    install -d ${D}${libdir}/cups/filter
-    ln -sf ${bindir}/foomatic-rip ${D}${libdir}/cups/filter
+inherit autotools
+
+EXTRA_OECONF += "--disable-file-converter-check --with-file-converter=texttops"
+
+do_configure_prepend() {
+    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
 }
 
-FILES_${PN}_append_linuxstdbase += "${libdir}/cups/filter/foomatic-rip"
+do_install_append_linuxstdbase() {
+    install -d ${D}${exec_prefix}/lib/cups/filter
+    ln -sf ${bindir}/foomatic-rip ${D}${exec_prefix}/lib/cups/filter
+}
 
-inherit autotools
+FILES_${PN}_append_linuxstdbase += "${exec_prefix}/lib/cups/filter/foomatic-rip"
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Update cups and foomatic
  2011-09-22 17:12 [PATCH 0/2] Update cups and foomatic Mark Hatle
  2011-09-22 17:12 ` [PATCH 1/2] cups: Fix recipe to use the correct cups directories Mark Hatle
  2011-09-22 17:12 ` [PATCH 2/2] foomatic-filters: Disable filter checking Mark Hatle
@ 2011-09-22 20:01 ` Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-09-22 20:01 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Thu, 2011-09-22 at 12:12 -0500, Mark Hatle wrote:
> Based on RP's comments to the previous foomatic-filter update, I have
> reviewed and revised both cups and foomatic-filters.
> 
> The following changes since commit 468e4a2f0e63e9d33e88b98a7d075b186ef481b2:
> 
>   glib-2.0: Drop old 2.27.5 development version (2011-09-22 08:47:22 +0100)
> 
> are available in the git repository at:
>   git://git.pokylinux.org/poky-contrib mhatle/rpm
>   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/rpm
> 
> Mark Hatle (2):
>   cups: Fix recipe to use the correct cups directories
>   foomatic-filters: Disable filter checking

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-22 20:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-22 17:12 [PATCH 0/2] Update cups and foomatic Mark Hatle
2011-09-22 17:12 ` [PATCH 1/2] cups: Fix recipe to use the correct cups directories Mark Hatle
2011-09-22 17:12 ` [PATCH 2/2] foomatic-filters: Disable filter checking Mark Hatle
2011-09-22 20:01 ` [PATCH 0/2] Update cups and foomatic Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox