32 Commits

Author SHA1 Message Date
Richard Purdie
a5cb4cc7d4 meta-oe: Drop broken BBCLASSEXTEND variants
The command "bitbake universe -c fetch" currently throws a ton of warnings
as there are many 'impossible' dependencies.

In some cases these variants may never have worked and were just added by copy
and paste of recipes. In some cases they once clearly did work but became
broken somewhere along the way. Users may also be carrying local bbappend files
which add further BBCLASSEXTEND.

Having universe fetch work without warnings is desireable so clean up the broken
variants. Anyone actually needing something dropped here can propose adding it
and the correct functional dependencies back quite easily. This also then
ensures we're not carrying or fixing things nobody uses.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9962d57f7c235873de0a0bb192b5f56747762fc7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-11-01 08:16:30 -04:00
Khem Raj
9434ed5e29 gutenprint: Upgrade to 5.3.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8bab5168788de6ba7c17630ddd1f191e19602472)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-10-17 08:23:02 -04:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
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>
2023-06-21 09:15:20 -07:00
Ross Burton
4d921bb514 gutenprint: match ownership on /etc/cups
This recipe currently uses DIRFILES to work around the fact that both
cups and gutenprint ship /etc/cups but with different ownership.

Instead of having mismatching ownership, we can simply match the
ownership in gutenprint.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:54 -07:00
Ross Burton
c71981c88d gutenprint: rewrite recipe and update
There hasn't been a gutenprint upgrade for quite a while, but a lot of
fixes upstream, so grab the latest SHA.

This means we can now do out-of-tree builds, so drop the use of
autotools-brokensep. Also stop autogen.sh from running configure as we
run it again.

Clean up build dependencies.

Enable NLS, as there's no reason to disable it.

Remove the explicit gutenprint-native recipe, instead use class extension
and build as little as possible in the native do_compile.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-24 07:23:54 -07:00
Trevor Woerner
b9a8ebf069 cups-filters: fix ghostscript handling
ghostscript is not needed at build-time (it only needs to be enabled in the
configuration step) but it is required at run-time for two of this recipe's
packages.

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
Trevor Woerner
8f9f20cede cups-filters: remove duplicate configure option
The '--enable-ghostscript' configure option is specified twice and doesn't
need to be. It's simply a boolean; it's not the sort of option whose position
is relevant, or an option which modifies its immediate neighbours.

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
3d74a8d07d cups-filters: Upgrade to 1.28.17 release
- Switch to github release artifact downloads
- Add missing dependency on libexif
- Merge .inc into .bb as there are no other users of it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-06 20:48:35 -08:00
Khem Raj
481467514e cups-filters: Fix build with clang16/c++17
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-06 18:38:41 -08:00
Markus Volk
670bd4e3ae python3-pycups: add recipe
This is a runtime dependency for system-config-printer

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-01 09:11:49 -08:00
Markus Volk
05ef2b6570 cups-pk-helper: add recipe
cups-pk-helper is a runtime dependency for gnome-control-center
or system-config-printer.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25 08:57:42 -08:00
Markus Volk
1e2e283635 cups-filters: build with dbus support
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25 08:51:25 -08:00
wangmy
85c39388c3 qpdf: upgrade 10.5.0 -> 10.6.3
Changelog from 10.5.0 to 10.6.3:
https://qpdf.readthedocs.io/en/stable/release-notes.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-14 19:42:10 -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
wangmy
3ec0b14aa4 cups-filters: upgrade 1.27.2 -> 1.28.11
License-Update:
"org.cups.cupsd.Notifier.xml" changed to "utils/org.cups.cupsd.Notifier.xml"
"GNU Library" changed to "GNU Library General"
"GNU Lesser" changed to "GNU Lesser General"

Changelog:
URL of issues  <https://github.com/OpenPrinting/cups-filters/pull/#####>
=========
Bug fix release, containing backports of many of the bugs recently fixed during
the preparation of the cups-filters 2.x release.
Important is that cups-browsed's queue naming is aligned with CUPS' temporary
queue naming now and several bugs affecting driverless printing are fixed.

-libcupsfilters: Let PPD generator take default ColorModel from printer
 (CUPS issue #277).
-Braille: In vectortopdf check inkscape version to call inkscape with the
 correct command line (Issue #315, Pull request #443).
-Build system: Make missing DejaVuSans.ttf non-fatal in ./configure as the font
 is only needed for test programs, not for actual use of cups-filters
 (Issue #411).
-libcupsfilters: In imagetoraster() fixed crash with SGray (Issue #435).
-cups-browsed: Naming of local queues is matched to CUPS' current naming of
 temporary queues (no leading or trailing underscores), to avoid duplicates in
 print dialogs which support CUPS' temporary queues.
-libcupsfilters: Make cupsRasterParseIPPOptions() work correctly with PPDs
 (Issue #436).
-libcupsfilters: Let colord_get_profile_for_device_id() not return empty file
 name, to avoid error messages in CUPS error_log.
-foomatic-rip: Debug message was wrongly sent to stdout and not to log
 (Issue #422).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-19 09:01:04 -08:00
wangmy
05edcb677b qpdf: upgrade 10.4.0 -> 10.5.0
Changelog:
=========
Packaging changes:
-----------------
Pre-built documentation is no longer distributed with the source distribution.
The AppImage and Windows binary distributions still contain embedded
documentation, and a separate doc distribution file is available from the qpdf
release site. Documentation is now available at https://qpdf.readthedocs.io
for every major/minor version starting with version 10.5. Please see Packaging
Documentation for details on how packagers should handle documentation.

The documentation sources have been switched from docbook to reStructuredText
processed with Sphinx. This will break previous documentation links.
A redirect is in place on the main website. A top-to-bottom review of the
documentation is planned for an upcoming release.

Library Enhancements:
--------------------
Since qpdf version 8, using object accessor methods on an instance of
QPDFObjectHandle may create warnings if the object is not of the expected type.
These warnings now have an error code of qpdf_e_object instead of
qpdf_e_damaged_pdf. Also, comments have been added to QPDFObjectHandle.hh to
explain in more detail what the behavior is. See Object Accessor Methods for
a more in-depth discussion.

Add Pl_Buffer::getMallocBuffer() to initialize a buffer allocated with malloc()
for better cross-language interoperability.

C API Enhancements:
-------------------
Many thanks to M. Holger whose contributions have heavily influenced these C
API enhancements. His several suggestions, pull requests, questions, and
critical reading of documentation and comments have resulted in significant
usability improvements to the C API.

Overhaul error handling for the object handle functions C API. Some rare error
conditions that would previously have caused a crash are now trapped and
reported, and the functions that generate them return fallback values.
See comments in the ERROR HANDLING section of include/qpdf/qpdf-c.h for details.
In particular, exceptions thrown by the underlying C++ code when calling object
accessors are caught and converted into errors. The errors can be checked by
calling qpdf_has_error. Use qpdf_silence_errors to prevent the error from being
written to stderr.

Add qpdf_get_last_string_length to the C API to get the length of the last
string that was returned. This is needed to handle strings that contain embedded
null characters.

Add qpdf_oh_is_initialized and qpdf_oh_new_uninitialized to the C API to make it
possible to work with uninitialized objects.

Add qpdf_oh_new_object to the C API. This allows you to clone an object handle.

Add qpdf_get_object_by_id, qpdf_make_indirect_object, and qpdf_replace_object,
exposing the corresponding methods in QPDF and QPDFObjectHandle.

Add several functions for working with pages. See PAGE FUNCTIONS in
include/qpdf/qpdf-c.h for details.

Add several functions for working with streams. See STREAM FUNCTIONS in
include/qpdf/qpdf-c.h for details.

Add qpdf_oh_get_type_code and qpdf_oh_get_type_name.

Add qpdf_oh_get_binary_string_value and qpdf_oh_new_binary_string for making it
easier to deal with strings that contain embedded null characters.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-27 11:46:41 -08:00
Claus Stovgaard
83bb0c483f Add gutenprint to meta-oe
According to wiki more than 1300 printer drivers.
Specifically the CUPS dye-sublimation backend, used in industrial and
medical is a nice fit when using Yocto for embedded solutions targeting
this segment.

As the gutenprint code generate a tool for string management, the native
recipe is designed to just create the output from this tool (a header
file). So the cross compatible version is depending on native version.

Thought about using BBCLASSEXTEND instead of separate files. Though as
the purpose of the two recipes is different (one for generating header
file, the other for generating the actual lib) and different
dependencies I decided to keep it as two recipes.

Signed-off-by: Claus Stovgaard <clst@ambu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:49:37 -08:00
Ross Burton
8826f1c708 qpdf: remove obsolete support for renamed libtool
libtool is now longer renamed to ${host}-libtool, so remove the changes
to support this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-13 21:20:01 -08:00
wangmy
c1712c2595 qpdf: upgrade 10.3.2 -> 10.4.0
Changelog is as follows:
Handling of Weak Cryptography Algorithms

From the qpdf CLI, the --allow-weak-crypto is now required to suppress a warning
when explicitly creating PDF files using RC4 encryption. While qpdf will always
retain the ability to read and write such files, doing so will require explicit
acknowledgment moving forward. For qpdf 10.4, this change only affects the
command-line tool. Starting in qpdf 11, there will be small API changes to
require explicit acknowledgment in those cases as well.

Bug Fixes:
Fix potential bounds error when handling shell completion that could occur when
given bogus input.
Properly handle overlay/underlay on completely empty pages (with no resource
dictionary).
Fix crash that could occur under certain conditions when using --pages with
files that had form fields.

Library Enhancements:
Make QPDF::findPage functions public.
Add methods to Pl_Flate to be able to receive warnings on certain recoverable
conditions.
Add an extra check to the library to detect when foreign objects are inserted
directly (instead of using QPDF::copyForeignObject) at the time of insertion
rather than when the file is written. Catching the error sooner makes it much
easier to locate the incorrect code.

CLI Enhancements:
Improve diagnostics around parsing --pages command-line options

Packaging Changes:
The Windows binary distribution is now built with crypto provided by OpenSSL 3.0.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-22 10:15:00 -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
Andreas Müller
758ea6ed7f qpdf: upgrade 10.2.0 -> 10.3.2
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-22 05:55:02 -07:00
zhengruoqin
2c6219ba7c qpdf: upgrade 10.0.4 -> 10.2.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
zhengruoqin
84c17294b2 qpdf: upgrade 10.0.1 -> 10.0.4
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-30 22:42:20 -08:00
Khem Raj
2aaf865eb0 qpdf: Link with libatomic on rv32
Fixes
libqpdf/build/.libs/libqpdf.so: undefined reference to `__atomic_fetch_add_8'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15 16:09:01 -08:00
Maciej Pijanowski
d7fdf615e5 qpdf: fix typo in RDEPENDS
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-28 12:36:49 -07:00
Andreas Müller
7a1f41a6a0 qpdf: link libatomic explicitly on mips
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11 11:34:52 -07:00
Andreas Müller
831f3fd502 qpdf: upgrade 9.1.0 -> 10.0.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-11 11:34:52 -07:00
Pierre-Jean Texier
72e77866bf cups-filters: upgrade 1.26.2 -> 1.27.2
See full changelog https://github.com/OpenPrinting/cups-filters/releases/tag/release-1-27-2

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-29 22:27:12 -08:00
Diego Rondini
413cb43ea9 cups-filters: upgrade 1.26.0 -> 1.26.2
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 15:44:06 -08:00
Diego Rondini
fc0d5ab6e3 cups-filters: use libexecdir and cleanup
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.
Additionally cleanup and simplify packaging paths, to avoid specifying
files one by one.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-17 15:44:06 -08:00
Diego Rondini
4e23f0a2fe qpdf: add recipe
Add qpdf PDF transformation library recipe. The recipe has been imported
from meta-printing and updated.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 12:34:08 -08:00
Diego Rondini
a67aaaf00f cups-filters: add recipe
Add cups-filters recipe to provide backends and filters required for
real world printing with CUPS. The recipe has been imported from
meta-printing and updated.

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-10 12:34:08 -08:00