[meta-oe][PATCHv4] system-config-printer: add recipe


Khem Raj
 

its using python3-firewall from
meta-openembedded/meta-networking/dynamic-layers/meta-python/recipes-connectivity/firewalld/firewalld_1.2.0.bb
so perhaps put this recipe in
meta-openembedded/meta-networking/dynamic-layers/meta-python/

On Tue, Jan 31, 2023 at 10:49 PM Markus Volk <f_l_k@...> wrote:

The OpenPrinting gui for cups configuration

Signed-off-by: Markus Volk <f_l_k@...>
---
.../system-config-printer_1.5.18.bb | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb

diff --git a/meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb b/meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
new file mode 100644
index 000000000..e70edef27
--- /dev/null
+++ b/meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "a graphical user interface that allows the user to change print settings"
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI = "git://github.com/OpenPrinting/system-config-printer.git;protocol=https;branch=master"
+
+SRCREV = "895d3dec50c93bfd4f142bac9bfcc13051bf84cb"
+S = "${WORKDIR}/git"
+
+inherit autotools gettext pkgconfig python3native features_check
+
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+
+DEPENDS = "cups glib-2.0 libusb xmlto-native intltool-native desktop-file-utils-native"
+
+PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = ",,systemd"
+
+do_configure:prepend() {
+ # This file is not provided if fetching from git but required for configure
+ touch ${S}/ChangeLog
+}
+
+FILES:${PN} += "${libdir} ${datadir}"
+
+RDEPENDS:${PN} = " \
+ dbus-x11 \
+ gtk+3 \
+ libnotify \
+ python3-core \
+ python3-dbus \
+ python3-firewall \
+ python3-pycups \
+ python3-pycurl \
+ python3-pygobject \
+"
--
2.34.1




Markus Volk
 

The OpenPrinting gui for cups configuration

Signed-off-by: Markus Volk <f_l_k@...>
---
.../system-config-printer_1.5.18.bb | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 meta-oe/recipes-printing/system-config-printer/system=
-config-printer_1.5.18.bb

diff --git a/meta-oe/recipes-printing/system-config-printer/system-config=
-printer_1.5.18.bb b/meta-oe/recipes-printing/system-config-printer/syste=
m-config-printer_1.5.18.bb
new file mode 100644
index 000000000..e70edef27
--- /dev/null
+++ b/meta-oe/recipes-printing/system-config-printer/system-config-printe=
r_1.5.18.bb
@@ -0,0 +1,36 @@
+DESCRIPTION =3D "a graphical user interface that allows the user to chan=
ge print settings"
+LICENSE =3D "GPL-2.0-only"
+LIC_FILES_CHKSUM =3D "file://COPYING;md5=3Db234ee4d69f5fce4486a80fdaf4a4=
263"
+
+SRC_URI =3D "git://github.com/OpenPrinting/system-config-printer.git;pro=
tocol=3Dhttps;branch=3Dmaster"
+
+SRCREV =3D "895d3dec50c93bfd4f142bac9bfcc13051bf84cb"
+S =3D "${WORKDIR}/git"
+
+inherit autotools gettext pkgconfig python3native features_check
+
+REQUIRED_DISTRO_FEATURES =3D "gobject-introspection-data"
+
+DEPENDS =3D "cups glib-2.0 libusb xmlto-native intltool-native desktop-f=
ile-utils-native"
+
+PACKAGECONFIG ?=3D "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}=
"
+PACKAGECONFIG[systemd] =3D ",,systemd"
+
+do_configure:prepend() {
+ # This file is not provided if fetching from git but required for co=
nfigure
+ touch ${S}/ChangeLog
+}
+
+FILES:${PN} +=3D "${libdir} ${datadir}"
+
+RDEPENDS:${PN} =3D " \
+ dbus-x11 \
+ gtk+3 \
+ libnotify \
+ python3-core \
+ python3-dbus \
+ python3-firewall \
+ python3-pycups \
+ python3-pycurl \
+ python3-pygobject \
+"
--=20
2.34.1