Message ID | 20230201051919.45856-1-f_l_k@t-online.de |
---|---|
State | New |
Headers | show |
Series | [meta-oe,PATCHv3] system-config-printer: add recipe | expand |
I removed the dependency on systemd to allow to build without. It'll be found automatically if present Am Mi, 1. Feb 2023 um 06:19:19 +0100 schrieb Markus Volk <f_l_k@t-online.de>: > The OpenPrinting gui for cups configuration > > Signed-off-by: Markus Volk <f_l_k@t-online.de > <mailto:f_l_k@t-online.de>> > --- > .../system-config-printer_1.5.18.bb | 33 > +++++++++++++++++++ > 1 file changed, 33 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..ba2fbed98 > --- /dev/null > +++ > b/meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb > @@ -0,0 +1,33 @@ > +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" > <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" > + > +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 >
I think a better fix would be to enable it via a packageconfig, something like this can do it. It will also make it explicit and deterministic. PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" PACKAGECONFIG[systemd] = ",,systemd" On Tue, Jan 31, 2023 at 9:21 PM Markus Volk <f_l_k@t-online.de> wrote: > > I removed the dependency on systemd to allow to build without. It'll be found automatically if present > > Am Mi, 1. Feb 2023 um 06:19:19 +0100 schrieb Markus Volk <f_l_k@t-online.de>: > > The OpenPrinting gui for cups configuration Signed-off-by: Markus Volk <f_l_k@t-online.de> --- .../system-config-printer_1.5.18.bb | 33 +++++++++++++++++++ 1 file changed, 33 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..ba2fbed98 --- /dev/null +++ b/meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb @@ -0,0 +1,33 @@ +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" + +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 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#100898): https://lists.openembedded.org/g/openembedded-devel/message/100898 > Mute This Topic: https://lists.openembedded.org/mt/96670490/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
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..ba2fbed98 --- /dev/null +++ b/meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb @@ -0,0 +1,33 @@ +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" + +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 \ +"
The OpenPrinting gui for cups configuration Signed-off-by: Markus Volk <f_l_k@t-online.de> --- .../system-config-printer_1.5.18.bb | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-oe/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb