summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/hplip
Commit message (Collapse)AuthorAgeFilesLines
* hplip: include UPSTREAM_CHECK_URI to fix UNKNOWN_BROKEN statusAlexandre Truong2024-07-241-0/+2
| | | | | | | | | | | Adding UPSTREAM_CHECK_URI fix UNKNOWN_BROKEN status from running devtool check-upgrade-status. The next version of the package can be found from upstream sources. Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr> Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
* hplip: Fix contains reference to TMPDIR [buildpaths] warningalperak2024-06-281-1/+1
| | | | | | | | | Make sure that the OE provided CFLAGS are passed to the compiler. WARNING: hplip-3.22.10-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/cupsext.so in package hplip contains reference to TMPDIR [buildpaths] Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hplip: provide setuptools for the distutils copyAlexander Kanavin2023-12-311-1/+1
| | | | | Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-2110-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hplip: remove redundant FILES:${PN}-dbgRoss Burton2023-05-231-6/+0
| | | | | | | | These files will be automatically packaged so there's no need to package them manually. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hplip: build against libusb1Ross Burton2023-05-232-22/+57
| | | | | | | | | Build against the maintained libusb1 instead of the obsolete libusb-compat. Update the patch to use pkg-config so that it does the correct linkage too. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hplip: Fix installation and QAZoltán Böszörményi2023-03-303-2/+58
| | | | | | | | | | | | | | | | With version 3.22.11 it's not enough avoid linking to the closed source ImageProcessor library, it must not be installed either. This library is pre-stripped so package QA fails. Add a new patch to fix installing HPLIP.conf into /usr/share/ipp-usb/quirks. The upstream Makefile.am fails to take DESTDIR into account and do_install fails because of this. Also, instead of detecting the presence of the target directory which is invalid for a source build, create it and install the quirk file. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hplip: add runtime dependency on ghostscriptTrevor Woerner2023-03-091-1/+1
| | | | | | | | | | | | | 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>
* hplip: Inherit python3targetconfigKhem Raj2023-01-291-1/+1
| | | | | | | | | | | 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>
* hplip: Update to 3.22.10Khem Raj2023-01-213-3/+312
| | | | | | Add a patch to drop 'register' keyword Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hplip: Upgrade to 3.22.6Khem Raj2022-09-059-76/+354
| | | | | | | Add fix to remove python2 need. Add fixes to build with clang+musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-12/+12
| | | | | | | | | | 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>
* hplip: use libexecdirDiego Rondini2020-09-101-7/+7
| | | | | | | | | | 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>
* hplip: Upgrade to 3.19.12Khem Raj2020-01-2214-573/+264
| | | | | | | Use python3 instead of py2 Apply patches from openwrt to fix crosscompile and musl builds Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-221-1/+1
| | | | | | | 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>
* hplip: Add python to rdepsKhem Raj2019-08-171-0/+1
| | | | | | | 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>
* hplip: Fix build with clangKhem Raj2016-12-262-0/+43
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin2016-06-081-2/+0
| | | | | | | 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>
* hplip: specify cupsbackenddir and cupsfilterdirYi Zhao2015-12-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* hplib: fix QA warningsArmin Kuster2015-05-111-0/+1
| | | | | | | 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>
* hplip: Use "foreign" automake strictness and autotools-brokensepRichard Purdie2014-07-222-1/+16
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta-oe: use BPN in SRC_URIRobert Yang2014-07-151-1/+1
| | | | | | | | | | | | 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>
* recipes: Add missing pkgconfig dependenciesRichard Purdie2014-07-151-1/+1
| | | | | | | 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>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | 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>
* recipes: Unify indentationMartin Jansa2013-04-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* hplip: fix build with newer cupsMartin Jansa2012-12-232-0/+398
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* hplip: Introduce version 3.12.6Marc Reilly2012-10-243-0/+115
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>