All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] gcr: Add support for building without x11
@ 2021-03-04 23:35 Andrei Gherzan
  2021-03-04 23:35 ` [PATCH 2/2] epiphany: Add package configuration for building in developer mode Andrei Gherzan
  2021-03-05 10:23 ` [OE-core] [PATCH 1/2] gcr: Add support for building without x11 Alexander Kanavin
  0 siblings, 2 replies; 6+ messages in thread
From: Andrei Gherzan @ 2021-03-04 23:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: andrei, Andrei Gherzan

From: Andrei Gherzan <andrei.gherzan@huawei.com>

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta/recipes-gnome/gcr/gcr_3.38.1.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-gnome/gcr/gcr_3.38.1.bb b/meta/recipes-gnome/gcr/gcr_3.38.1.bb
index fe80439b00..292f5b5655 100644
--- a/meta/recipes-gnome/gcr/gcr_3.38.1.bb
+++ b/meta/recipes-gnome/gcr/gcr_3.38.1.bb
@@ -8,7 +8,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
 
-DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt gnupg-native \
+DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \
            ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}"
 
 CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
@@ -16,11 +16,12 @@ CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
 GNOMEBASEBUILDCLASS = "meson"
 GTKDOC_MESON_OPTION = "gtk_doc"
 inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg
-# depends on gtk+3, but also x11 through gtk+-x11
-REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[archive.sha256sum] = "17fcaf9c4a93a65fb1c72b82643bb102c13344084687d5886ea66313868d9ec9"
 
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}"
+PACKAGECONFIG[gtk+] = ",--without-gtk,gtk+3"
+
 FILES_${PN} += " \
     ${datadir}/dbus-1 \
     ${datadir}/gcr-3 \
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] epiphany: Add package configuration for building in developer mode
  2021-03-04 23:35 [PATCH 1/2] gcr: Add support for building without x11 Andrei Gherzan
@ 2021-03-04 23:35 ` Andrei Gherzan
  2021-03-05  8:00   ` [OE-core] " Khem Raj
  2021-03-05 10:23 ` [OE-core] [PATCH 1/2] gcr: Add support for building without x11 Alexander Kanavin
  1 sibling, 1 reply; 6+ messages in thread
From: Andrei Gherzan @ 2021-03-04 23:35 UTC (permalink / raw)
  To: openembedded-core; +Cc: andrei, Andrei Gherzan

From: Andrei Gherzan <andrei.gherzan@huawei.com>

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta/recipes-gnome/epiphany/epiphany_3.38.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
index 7fedc43a99..8e697b4a44 100644
--- a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
+++ b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
@@ -21,5 +21,8 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}
            "
 SRC_URI[archive.sha256sum] = "8b05f2bcc1e80ecf4a10f6f01b3285087eb4cbdf5741dffb8c0355715ef5116d"
 
+# Developer mode enables debugging
+PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true"
+
 FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
 RDEPENDS_${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
-- 
2.30.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH 2/2] epiphany: Add package configuration for building in developer mode
  2021-03-04 23:35 ` [PATCH 2/2] epiphany: Add package configuration for building in developer mode Andrei Gherzan
@ 2021-03-05  8:00   ` Khem Raj
  2021-03-05 15:50     ` Andrei Gherzan
  0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2021-03-05  8:00 UTC (permalink / raw)
  To: Andrei Gherzan
  Cc: Patches and discussions about the oe-core layer, Andrei Gherzan

On Thu, Mar 4, 2021 at 3:36 PM Andrei Gherzan <andrei@gherzan.com> wrote:
>
> From: Andrei Gherzan <andrei.gherzan@huawei.com>
>
> Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
> ---
>  meta/recipes-gnome/epiphany/epiphany_3.38.2.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
> index 7fedc43a99..8e697b4a44 100644
> --- a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
> +++ b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
> @@ -21,5 +21,8 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}
>             "
>  SRC_URI[archive.sha256sum] = "8b05f2bcc1e80ecf4a10f6f01b3285087eb4cbdf5741dffb8c0355715ef5116d"
>
> +# Developer mode enables debugging
> +PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true"

add else case to define it to false as well.

> +
>  FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
>  RDEPENDS_${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
> --
> 2.30.1
>
>
> 
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH 1/2] gcr: Add support for building without x11
  2021-03-04 23:35 [PATCH 1/2] gcr: Add support for building without x11 Andrei Gherzan
  2021-03-04 23:35 ` [PATCH 2/2] epiphany: Add package configuration for building in developer mode Andrei Gherzan
@ 2021-03-05 10:23 ` Alexander Kanavin
  2021-03-05 15:50   ` Andrei Gherzan
  1 sibling, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2021-03-05 10:23 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: OE-core, Andrei Gherzan

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

On Fri, 5 Mar 2021 at 00:36, Andrei Gherzan <andrei@gherzan.com> wrote:

>  GNOMEBASEBUILDCLASS = "meson"
>  GTKDOC_MESON_OPTION = "gtk_doc"
>  inherit gnomebase gtk-icon-cache gtk-doc features_check
> upstream-version-is-even vala gobject-introspection gettext mime mime-xdg
> -# depends on gtk+3, but also x11 through gtk+-x11
> -REQUIRED_DISTRO_FEATURES = "x11"
>
>  SRC_URI[archive.sha256sum] =
> "17fcaf9c4a93a65fb1c72b82643bb102c13344084687d5886ea66313868d9ec9"
>
> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+',
> '', d)}"
> +PACKAGECONFIG[gtk+] = ",--without-gtk,gtk+3"
>

This does not look like a meson option, and needs a on-setting as well.
Please test the new options both ways.

Alex

[-- Attachment #2: Type: text/html, Size: 1176 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH 1/2] gcr: Add support for building without x11
  2021-03-05 10:23 ` [OE-core] [PATCH 1/2] gcr: Add support for building without x11 Alexander Kanavin
@ 2021-03-05 15:50   ` Andrei Gherzan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrei Gherzan @ 2021-03-05 15:50 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: openembedded, Andrei Gherzan

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

On Fri, 5 Mar 2021, at 10:23, Alexander Kanavin wrote:
> On Fri, 5 Mar 2021 at 00:36, Andrei Gherzan <andrei@gherzan.com> wrote:
>>  GNOMEBASEBUILDCLASS = "meson"
>>  GTKDOC_MESON_OPTION = "gtk_doc"
>>  inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg
>> -# depends on gtk+3, but also x11 through gtk+-x11
>> -REQUIRED_DISTRO_FEATURES = "x11"
>> 
>>  SRC_URI[archive.sha256sum] = "17fcaf9c4a93a65fb1c72b82643bb102c13344084687d5886ea66313868d9ec9"
>> 
>> +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+', '', d)}"
>> +PACKAGECONFIG[gtk+] = ",--without-gtk,gtk+3"
> 
> This does not look like a meson option, and needs a on-setting as well. Please test the new options both ways.

Thanks. Sent v2.

---
Andrei

[-- Attachment #2: Type: text/html, Size: 1623 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH 2/2] epiphany: Add package configuration for building in developer mode
  2021-03-05  8:00   ` [OE-core] " Khem Raj
@ 2021-03-05 15:50     ` Andrei Gherzan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrei Gherzan @ 2021-03-05 15:50 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded, Andrei Gherzan

Hi,

On Fri, 5 Mar 2021, at 08:00, Khem Raj wrote:
> On Thu, Mar 4, 2021 at 3:36 PM Andrei Gherzan <andrei@gherzan.com> wrote:
> >
> > From: Andrei Gherzan <andrei.gherzan@huawei.com>
> >
> > Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
> > ---
> >  meta/recipes-gnome/epiphany/epiphany_3.38.2.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
> > index 7fedc43a99..8e697b4a44 100644
> > --- a/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
> > +++ b/meta/recipes-gnome/epiphany/epiphany_3.38.2.bb
> > @@ -21,5 +21,8 @@ SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}
> >             "
> >  SRC_URI[archive.sha256sum] = "8b05f2bcc1e80ecf4a10f6f01b3285087eb4cbdf5741dffb8c0355715ef5116d"
> >
> > +# Developer mode enables debugging
> > +PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true"
> 
> add else case to define it to false as well.

Thanks. Sent v2.

---
Andrei

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-05 15:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-04 23:35 [PATCH 1/2] gcr: Add support for building without x11 Andrei Gherzan
2021-03-04 23:35 ` [PATCH 2/2] epiphany: Add package configuration for building in developer mode Andrei Gherzan
2021-03-05  8:00   ` [OE-core] " Khem Raj
2021-03-05 15:50     ` Andrei Gherzan
2021-03-05 10:23 ` [OE-core] [PATCH 1/2] gcr: Add support for building without x11 Alexander Kanavin
2021-03-05 15:50   ` Andrei Gherzan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.