Commit Graph

24 Commits

Author SHA1 Message Date
Khem Raj
9ff6cce43f
system-config-printer: Remove pyc files
The pyc files contain references to TMPDIR and they can be regenerated
during execution on device

Fixes
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/__init__.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/installdriver.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/ppds.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/xmldriverprefs.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/config.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/cupshelpers.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]
stdio: ERROR: system-config-printer-1.5.18-r0 do_package_qa: QA Issue: File /usr/lib/python3.13/site-packages/cupshelpers/__pycache__/openprinting.cpython-313.pyc in package system-config-printer contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-05-28 16:13:02 -07:00
Niko Mauno
2cd4763dc1
system-config-printer: Update D-Bus runtime dependency declaration
In order to facilitate users who wish to use e.g. dbus-broker as their
runtime D-Bus implementation, change the Freedesktop.org specific D-Bus
runtime dependency to honor oe-core's new VIRTUAL-RUNTIME_dbus
variable.

With this change we also align with oe-core commit 5dfca64b78
("dbus-glib: depend on dbus, not dbus-x11") which mentions that

  dbus-x11 hasn't existed as a package since 2012[1] and is just a
  RPROVIDES in dbus, so depend on dbus directly instead.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-24 18:43:19 -07:00
Richard Tollerton
14c7d65643
firewalld: upgrade 1.3.2 -> 2.2.1
Major/minor release changelogs:
- https://firewalld.org/2023/06/firewalld-2-0-0-release
- https://firewalld.org/2024/01/firewalld-2-1-0-release
- https://github.com/firewalld/firewalld/releases/tag/v2.2.0 (dunno why the
  website wasn't updated)

Stop trying to rewrite /etc/firewalld/*.xml. It appears to be for the sake of
/etc/firewalld/lockdown-whitelist.xml, which is not being installed anymore.

Add RDEPENDS+=bash. Used by /usr/lib/firewalld/xmlschema/check.sh; adding to
avoid a QA failure.

Signed-off-by: Rich Tollerton <rich.tollerton@ni.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-07 14:15:09 -07:00
Khem Raj
ffc64e9c6f
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:44 -07:00
Markus Volk
ede8aef105
system-config-printer: fix runtime for system-config-printer
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=76e0113299bb65b840b2dd1409e31c67cc66d4b5
breaks runtime for system-config-printer, as it changes the way the cupshelpers module is installed and thus
prevents system-config-printer from finding it.

Install the module in a way it  can be found.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-28 08:39:17 -08:00
Alexander Kanavin
76e0113299
system-config-printer: rely on setuptools to obtain distutils copy
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-12-31 08:27:48 -08:00
Markus Volk
092502feed
system-config-printer: Add packageconfig for polkit
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-25 10:25:33 -08:00
Markus Volk
5f344ed2dd
system-config-printer: Add cups to rdepends
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-14 07:35:06 -08:00
Petr Gotthard
39c72676d8 firewalld: upgrade 1.2.0 -> 1.3.2
Apart the bugfixes, the 1.3.0 introduced the following features:

  feat(service): add Warpinator (6de3f18)
  feat(dbus): reset to default settings (4d327c5)
  feat(service): add bareos-director bareos-filedaemon bareos-storage (7552095)
  feat(policy): masquerade: allow ingress zone to have interface (d8ebe1d)
  feat(service): add Nebula service (3f59ce9)
  feat(service): add Ceph Prometheus exporter (ef9d51f)
  feat(service): add OMG DDS service definition (9ad3d37)
  feat(service): add llmnr-client service (0ae765c)
  feat(service): add ps2link service (6d1586c)
  feat(service): add definition for syncthing-relay (cab0d43)

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-05 11:04:07 -07:00
Petr Gotthard
1955d0f140 system-config-printer: fix REQUIRED_DISTRO_FEATURES gobject-introspection-data
This reverts the commit df47d871c7.

The correct DISTRO_FEATURE is gobject-introspection-data,
which shall also be used by firewalld.

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-01 12:17:15 -07:00
Petr Gotthard
e1cbc611a5 firewalld: fix REQUIRED_DISTRO_FEATURES gobject-introspection-data
This fixes the commit 046ee4bb30.
The correct DISTRO_FEATURE is gobject-introspection-data.

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-01 12:17:15 -07:00
Khem Raj
df47d871c7 system-config-printer: Check for gobject-introspection as well in distro features
firewalld is only enabled when gobject-introspection is in distro
features which is required package to build system-config-printer

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:56:32 -07:00
Ross Burton
046ee4bb30 firewalld: add features_check on gobject-introspection-data
This project uses gobject-introspection, so depend on the DISTRO_FEATURE.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:56:32 -07:00
Khem Raj
b1b7ee87ac system-config-printer: Delete __pycache__ files
These pyc files include references to buildtime TMPDIR, therefore delete
them and let them be regerated during runtime if needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-23 08:48:18 -07:00
Ross Burton
0713297ae9 system-config-printer: clean up DEPENDS
Remove intltool-native as it is not used, and add autoconf-archive-native.

Also explicitly disable systemd when not selected to be sure it doesn't
automatically enable.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-20 00:45:51 -07:00
Kai Kang
927b9b8487 crda: remove recipe
CRDA is no longer needed as of kernel v4.15 since commit 007f6c5e6eb45
("cfg80211: support loading regulatory database as firmware file") added
support to use the kernel's firmware request API which looks for the
firmware on /lib/firmware. Because of this CRDA is legacy software for
older kernels, remove the recipe.

It could change regulatory domains with iw and wpa_supplicant.

Refs
1. https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/tree/README#n8
2. https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-06 07:59:29 -08:00
Markus Volk
8d298ef6d8 system-config-printer: add recipe
The OpenPrinting gui for cups configuration

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-01 16:04:34 -08:00
Kai Kang
27ce15a047 crda: 3.18 -> 4.15
Update crda from 3.18 to 4.15:

* use git repo in SRC_URI that no tar archive found for recent releases
* drop fix-gcc-6-unused-variables.patch and make.patch
* rebase patches

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-16 21:29:24 -08:00
Khem Raj
05f9c6f1ba crda: Fix build with clang-15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-28 23:57:15 -07:00
Adrian Freihofer
77b3a2e6ca firewalld: upgrade 1.1.1 -> 1.2.0
Firewalld:
This is a feature release. It also includes all bug fixes since v1.1.0.
Details are here: https://firewalld.org/2022/07/firewalld-1-2-0-release

Recipe:
Firewalld defaults to create a log file for debug messages. This is
basically an empty file until firewalld's log level is configured to
debug level. Writing log files requies something like log-rotate to
prevent full disks. The default for OE is to not create files and send
all log messages to syslog (journald).

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 10:26:37 -04:00
Theodore A. Roth
b85b4afe93 crda: Depend on correct wireless-regdb package
The cdra application is looking for the `regulatory.bin` file that is
installed by the `wireless-regdb` package, but that is not installed
because the RDEPENDS lists`wireless-regdb-static` (which conflicts with
`wireless-regdb`).

Changing RDEPENDS to use `wireless-regdb` instead of
`wireless-regdb-static` allows the cdra application to function
properly.

Example output before this fix was applied:

    root@yocto:~# COUNTRY=US crda
    failed to open db file: No such file or directory

    root@yocto:~# COUNTRY=US strace crda
    execve("/usr/sbin/crda", ["crda"], 0xbec80d70 /* 17 vars */) = 0

    ...

    openat(AT_FDCWD, "/usr/local/lib/crda/regulatory.bin", O_RDONLY) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/usr/lib/crda/regulatory.bin", O_RDONLY) = -1 ENOENT (No such file or directory)
    openat(AT_FDCWD, "/lib/crda/regulatory.bin", O_RDONLY) = -1 ENOENT (No such file or directory)

    ...

    write(3, "failed to open db file: No such "..., 50failed to open db file: No such file or directory
    ) = 50
    close(3)                                = 0
    exit_group(-2)                          = ?
    +++ exited with 254 +++

Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-02 11:40:50 -04:00
Adrian Freihofer
63d6205550 firewalld: update to 1.1.1 fixes ptest
Update firewalld by 2 major versions, which also includes breaking and
behavioral changes.

Highlights from 0.9 to 1.0:
- Reduced dependencies
- Intra-zone forwarding by default
- NAT rules moved to inet family (reduced rule set)
- Default target is now similar to reject
- ICMP blocks and block inversion only apply to input, not forward
- tftp-client service has been removed
- iptables backend is deprecated
- Direct interface is deprecated
- CleanupModulesOnExit defaults to no (kernel modules not unloaded)
Details:
- https://firewalld.org/2021/07/firewalld-1-0-0-release
- https://github.com/firewalld/firewalld/compare/v0.9.0...v1.0.0

From 1.0 to 1.1 is mostly a bug fix release update.
Details:
- https://firewalld.org/2022/02/firewalld-1-1-0-release
- https://github.com/firewalld/firewalld/compare/v0.9.0...v1.0.0

Improvements on the recipe:
- Add ptest
  - Very helpful to get all the kernel modules
  - Long running, probably not suitable for any OE autobuilder
- RRECOMMENS kernel modules, document configuration
- Improve package splitting
  - firewalld-config and firewalld-applet depend on QT5, pyqt5 and GTK.
    The dependencies were not correctly set but the code was ending up
    on the target device. Now the code gets into a separate package but
    the dependeinces are probably still not complete. Since this is
    probably not used anyway it is not tested yet. It's still not
    perfect but much better than installing broken stuff to the target
    device.
  - The dependenices are added to variables instead of rdepends to keep
    the meta-qt5 and gnome layers optional also at build-time.
- New packageconfigs: ebtables, ipset. This is mosly required to get the
  test suite running but probably also usable otherwise.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-30 07:01:37 -04:00
Armin Kuster
4163948f27 firewalld: move to dynamic meta-python layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-02 17:51:58 -07:00
Armin Kuster
7be928f107 crda: move to a dynamic-layer for python
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-02 17:51:58 -07:00