Commit Graph

21 Commits

Author SHA1 Message Date
Trevor Woerner
e712e86c20 hplip: add runtime dependency on ghostscript
The fax/filters/pstotiff program invokes /usr/bin/gs and therefore has a
runtime dependency on ghostscript:

	fax/filters/pstotiff
	 24 gs_command = "/usr/bin/gs" + " " + font + " " + device
	 25
	 26 exit_code = os.system(gs_command)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-09 21:58:44 -08:00
Khem Raj
0d973d9470 hplip: Inherit python3targetconfig
It uses python3-config during build to grok the python specific
includedirs, therefore its important to ensure that target specific
python3-config is used, otherwise currently it defaults to native
python3-config which ends up adding native python3 include paths
which might work out ok but is exposed when target is 32bit + lfs
enabled, the headers don't match between native and target python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-29 21:09:39 -08:00
Khem Raj
adb1af7105 hplip: Update to 3.22.10
Add a patch to drop 'register' keyword

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-21 10:02:02 -08:00
Khem Raj
cc6ecbe502 hplip: Upgrade to 3.22.6
Add fix to remove python2 need.
Add fixes to build with clang+musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-05 22:49:35 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Diego Rondini
db7fc115e0 hplip: use libexecdir
In oe-core commit:
2ce6ef29b9bb4f16ed9d78e166d455b7a6d968bf
cups crossscripts have been fixed to report the correct serverbin folder, so
backend, filters, etc, need to go in ${libexecdir} now.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 21:20:23 -07:00
Khem Raj
2767682e98 hplip: Upgrade to 3.19.12
Use python3 instead of py2
Apply patches from openwrt to fix crosscompile and musl builds

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:35 -08:00
Khem Raj
5057746583 meta-oe: Remove using python2
This change makes the parsing go though, we still might have build
issues, which will be reported in world builds seprately

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-22 09:56:34 -08:00
Khem Raj
884b3c2a62 hplip: Add python to rdeps
Fixes
ERROR: QA Issue: /usr/share/hplip/upgrade.py contained in package hplip requires /usr/bin/python, but no providers found in RDEPENDS_hplip? [file-rdeps]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 07:05:13 -07:00
Khem Raj
a2e1a14961 hplip: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-12-26 08:24:07 +01:00
Alexander Kanavin
f9ce43cdf6 Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipes
They are no longer required to build python software.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:25 +02:00
Yi Zhao
e69d70225a hplip: specify cupsbackenddir and cupsfilterdir
Fix QA issue when enable multilib:
ERROR: QA Issue: hplip: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/cups
  /usr/lib/cups/filter
  /usr/lib/cups/backend
  /usr/lib/cups/filter/hpcac
  /usr/lib/cups/filter/foomatic-rip-hplip
  /usr/lib/cups/filter/pstotiff
  /usr/lib/cups/filter/hpcups
  /usr/lib/cups/filter/hplipjs
  /usr/lib/cups/filter/hpps
  /usr/lib/cups/filter/.debug
  /usr/lib/cups/filter/.debug/hplipjs
  /usr/lib/cups/filter/.debug/hpcups
  /usr/lib/cups/filter/.debug/hpps
  /usr/lib/cups/backend/hp
  /usr/lib/cups/backend/.debug
  /usr/lib/cups/backend/.debug/hp
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
hplip: 17 installed and not shipped files. [installed-vs-shipped]

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:43:22 +01:00
Armin Kuster
1823c0bbf1 hplib: fix QA warnings
WARNING: QA Issue: hplip-filter requires /usr/bin/perl, but no providers in its RDEPENDS [file-rdeps]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11 10:56:45 +02:00
Richard Purdie
09d61e679a hplip: Use "foreign" automake strictness and autotools-brokensep
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-22 00:01:53 +02:00
Robert Yang
05de0ca43d meta-oe: use BPN in SRC_URI
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}

Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:56:55 +02:00
Richard Purdie
d04099e94b recipes: Add missing pkgconfig dependencies
These recipes were all missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:53:55 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa
8b9178edd1 hplip: fix build with newer cups
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-23 11:17:08 +01:00
Marc Reilly
e0fe08a35a hplip: Introduce version 3.12.6
This introduces a recipe to build hplip 3.12.6 in a simple configuration
aimed at USB printers. It is based on a 3.11.3a recipe for oe classic
by Steve Sakoman.

The hp-setup program is patched to add a small delay after restarting cups,
as on slower embedded systems the cups daemon would sometimes not restart
quickly enough and adding a new printer would sporadically fail.

Tested on an armv6 system (with cups 1.4.6, ghostscript 9.05, foomatic).

Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-24 19:34:31 +02:00