Skip to contentSkip to conversation

libxfce4ui: give up glade3 (=glade for gtk2) support

PATCH In review Andreas Müller 2 participants 10 messages Dec 16, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 libxfce4ui: give up glade3 (=glade for gtk2) support

---
 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.14.1.bb | 3 ---
 1 file changed, 3 deletions(-)
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.14.1.bb +0 -3
index 053eb201b..348b685be 100644
@@ -17,7 +17,6 @@ SRC_URI[sha256sum] = "c449075eaeae4d1138d22eeed3d2ad7032b87fb8878eada9b770325bed
 EXTRA_OECONF += "--with-vendor-info=${DISTRO}"
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3"
 PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade"
 PACKAGECONFIG[startup-notification] = "--enable-startup-notification,--disable-startup-notification,startup-notification"
 
@@ -28,9 +27,7 @@ FILES_${PN}-gtk3 += "${libdir}/libxfce4ui-2.so.* ${libdir}/libxfce4kbd-private-3
 PACKAGES += "${PN}-glade"
 FILES_${PN}-glade = " \
     ${libdir}/glade \
-    ${libdir}/glade3 \
     ${datadir}/glade \
-    ${datadir}/glade3 \
 "
 
 RDEPENDS_${PN}-gtk2 = "${PN}"
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/6 glade3: remove ancient version of glade

* This was suggested already [1] but I complained that there is a use-case. There are several workarounds possible for this so we don't need to keep it anymore.
* glade3 popped into focus during preparations for python2 removal. So instead of wasting time to keep unmaintained version just drop it

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2019-May/199523.html

---
 ...NTF-on-functions-with-format-strings.patch | 62 -------------------
 ...-doc-utils.make-sysrooted-pkg-config.patch | 51 ---------------
 .../glade/glade3/0002-fix-gcc-6-build.patch   | 39 ------------
 .../recipes-devtools/glade/glade3_3.8.5.bb    | 23 -------
 4 files changed, 175 deletions(-)
 delete mode 100644 meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch
 delete mode 100644 meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch
 delete mode 100644 meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch
 delete mode 100644 meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb
meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch deleted +0 -62
deleted file mode 100644
index 03cb762ce..000000000
@@ -1,62 +0,0 @@
-From fcf29abe59607b5791f9de18ddb86b9ae3c9b7cc Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sat, 26 Aug 2017 23:50:05 -0700
-Subject: [PATCH] Add G_GNUC_PRINTF on functions with format strings
-
-This allows compilation with clang without errors, even when
--Wformat-nonliteral is active (as long as there are no real cases of
-non literal formatting).
-
-Signed-off-by: Khem Raj <[email protected]>
----
- gladeui/glade-command.c | 4 ++--
- gladeui/glade-utils.c   | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/gladeui/glade-command.c b/gladeui/glade-command.c
-index 9819766..4ac40ee 100644
---- a/gladeui/glade-command.c
-+++ b/gladeui/glade-command.c
-@@ -266,7 +266,7 @@ glade_command_collapse (GladeCommand  *command,
-  *
-  * Marks the begining of a group.
-  */
--void
-+G_GNUC_PRINTF(1, 2) void
- glade_command_push_group (const gchar *fmt, ...)
- {
- 	va_list         args;
-@@ -655,7 +655,7 @@ glade_command_set_properties_list (GladeProject *project, GList *props)
- 
- 	multiple = g_list_length (me->sdata) > 1;
- 	if (multiple)
--		glade_command_push_group (cmd->description);
-+		glade_command_push_group ("%s", cmd->description);
- 
- 
- 	glade_command_check_group (GLADE_COMMAND (me));
-diff --git a/gladeui/glade-utils.c b/gladeui/glade-utils.c
-index ae52501..c51ae59 100644
---- a/gladeui/glade-utils.c
-+++ b/gladeui/glade-utils.c
-@@ -197,7 +197,7 @@ glade_utils_get_pspec_from_funcname (const gchar *funcname)
-  *          selected "OK", True if the @type was GLADE_UI_YES_OR_NO and
-  *          the user selected "YES"; False otherwise.
-  */
--gint
-+G_GNUC_PRINTF(4, 5) gint
- glade_util_ui_message (GtkWidget           *parent, 
- 		       GladeUIMessageType   type,
- 		       GtkWidget           *widget,
-@@ -320,7 +320,7 @@ remove_message_timeout (FlashInfo * fi)
-  *
-  * Flash a temporary message on the statusbar.
-  */
--void
-+G_GNUC_PRINTF(3, 4) void
- glade_util_flash_message (GtkWidget *statusbar, guint context_id, gchar *format, ...)
- {
- 	va_list args;
--- 
-2.14.1
-
meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch deleted +0 -51

51 lines not on this page · raw message

meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch deleted +0 -39
deleted file mode 100644
index f735ff819..000000000
@@ -1,39 +0,0 @@
-From 5aa3d2abb905fa8594f6c6572a87809da54c9342 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Mon, 5 Sep 2016 11:25:27 +0200
-Subject: [PATCH] fix gcc-6 build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Pending
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- gladeui/glade-editor-property.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/gladeui/glade-editor-property.c b/gladeui/glade-editor-property.c
-index a0c1039..5e9ac38 100644
---- a/gladeui/glade-editor-property.c
-+++ b/gladeui/glade-editor-property.c
-@@ -2703,6 +2703,8 @@ glade_eprop_object_view (gboolean             radio)
- }
- 
- 
-+#pragma GCC diagnostic push
-+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
- static gchar *
- glade_eprop_object_dialog_title (GladeEditorProperty *eprop)
- {
-@@ -2731,6 +2733,7 @@ glade_eprop_object_dialog_title (GladeEditorProperty *eprop)
- 	return g_strdup_printf (format, g_type_name 
- 				(eprop->klass->pspec->value_type));
- }
-+#pragma GCC diagnostic pop
- 
- 
- gboolean
--- 
-2.5.5
-
meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb deleted +0 -23
deleted file mode 100644
index 24d0d901f..000000000
@@ -1,23 +0,0 @@
-SUMMARY = "Glade - A User Interface Designer"
-HOMEPAGE = "http://www.gnu.org/software/gnash"
-LICENSE = "GPLv2 & LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
-                    file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
-                    file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475"
-DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2 intltool-native"
-
-inherit features_check autotools pkgconfig pythonnative gtk-icon-cache
-
-REQUIRED_DISTRO_FEATURES = "x11"
-
-SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \
-           file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch \
-           file://0002-fix-gcc-6-build.patch \
-           file://0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch \
-           "
-SRC_URI[md5sum] = "4e4b4f5ee34a03e017e4cef97d796c1f"
-SRC_URI[sha256sum] = "58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735"
-
-EXTRA_OECONF += "--disable-scrollkeeper"
-
-FILES_${PN} += "${datadir}/icons"
Signature · 1 line
2.21.0
#2 lore raw

Re: [PATCH 2/6] glade3: remove ancient version of glade

Quoted 10 lines · Andreas Müller

* This was suggested already [1] but I complained that there is a use-case. There are several workarounds possible for this so we don't need to keep it anymore.
* glade3 popped into focus during preparations for python2 removal. So instead
of wasting time to keep unmaintained version just drop it

[1]
http://lists.openembedded.org/pipermail/openembedded-devel/2019-May/199523.html

I see forget my comment on previous patch then

Quoted 256 lines
---
 ...NTF-on-functions-with-format-strings.patch | 62 -------------------
 ...-doc-utils.make-sysrooted-pkg-config.patch | 51 ---------------
 .../glade/glade3/0002-fix-gcc-6-build.patch   | 39 ------------
 .../recipes-devtools/glade/glade3_3.8.5.bb    | 23 -------
 4 files changed, 175 deletions(-)
 delete mode 100644
meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch
 delete mode 100644
meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch
 delete mode 100644
meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch
 delete mode 100644 meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb

diff --git a/meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch b/meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch deleted file mode 100644
index 03cb762ce..000000000
---
a/meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch +++ /dev/null

meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch deleted +0 -29
@@ -1,62 +0,0 @@
-From fcf29abe59607b5791f9de18ddb86b9ae3c9b7cc Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Sat, 26 Aug 2017 23:50:05 -0700
-Subject: [PATCH] Add G_GNUC_PRINTF on functions with format strings
-
-This allows compilation with clang without errors, even when
--Wformat-nonliteral is active (as long as there are no real cases of
-non literal formatting).
-
-Signed-off-by: Khem Raj <[email protected]>
----
- gladeui/glade-command.c | 4 ++--
- gladeui/glade-utils.c   | 4 ++--
- 2 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/gladeui/glade-command.c b/gladeui/glade-command.c
-index 9819766..4ac40ee 100644
---- a/gladeui/glade-command.c
-+++ b/gladeui/glade-command.c
-@@ -266,7 +266,7 @@ glade_command_collapse (GladeCommand  *command,
-  *
-  * Marks the begining of a group.
-  */
--void
-+G_GNUC_PRINTF(1, 2) void
- glade_command_push_group (const gchar *fmt, ...)
- {
-       va_list         args;
-@@ -655,7 +655,7 @@ glade_command_set_properties_list (GladeProject

*project, GList *props)

meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch deleted +0 -13
-
-       multiple = g_list_length (me->sdata) > 1;
-       if (multiple)
--              glade_command_push_group (cmd->description);
-+              glade_command_push_group ("%s", cmd->description);
-
-
-       glade_command_check_group (GLADE_COMMAND (me));
-diff --git a/gladeui/glade-utils.c b/gladeui/glade-utils.c
-index ae52501..c51ae59 100644
---- a/gladeui/glade-utils.c
-+++ b/gladeui/glade-utils.c
-@@ -197,7 +197,7 @@ glade_utils_get_pspec_from_funcname (const gchar

*funcname)

meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch deleted +0 -15
-  *          selected "OK", True if the @type was GLADE_UI_YES_OR_NO and
-  *          the user selected "YES"; False otherwise.
-  */
--gint
-+G_GNUC_PRINTF(4, 5) gint
- glade_util_ui_message (GtkWidget           *parent,
-                      GladeUIMessageType   type,
-                      GtkWidget           *widget,
-@@ -320,7 +320,7 @@ remove_message_timeout (FlashInfo * fi)
-  *
-  * Flash a temporary message on the statusbar.
-  */
--void
-+G_GNUC_PRINTF(3, 4) void
- glade_util_flash_message (GtkWidget *statusbar, guint context_id, gchar

*format, ...)
- {

meta-xfce/recipes-devtools/glade/glade3/0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch deleted +0 -4
-       va_list args;
---
-2.14.1
-

diff --git a/meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch b/meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch deleted file mode 100644
index 1b24c39ce..000000000
---
a/meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch +++ /dev/null

meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch deleted +0 -12
@@ -1,51 +0,0 @@
-From aed002cd9ff9e8f972120fbac33b4a65aba952e1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Tue, 25 Sep 2012 10:28:33 +0200
-Subject: [PATCH] gnome-doc-utils.make: sysrooted pkg-config
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-same approach as used used in gnome-disk-utility:
-
-In cross environment we have to prepend the sysroot to the path found by
-pkgconfig since the path returned from pkgconfig does not have sysroot

prefixed
-it ends up using the files from host system. Now usually people have gnome installed
-so the build succeeds but if you dont have gnome installed on build host then
-it wont find the files on host system and packages using gnome-doc-utils wont

meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch deleted +0 -3
-compile.
-
-This should work ok with non sysrooted builds too since in those cases

PKG_CONFIG_SYSROOT_DIR

meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch deleted +0 -20
-will be empty
-
-Upstream-Status: pending
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- gnome-doc-utils.make |   10 +++++-----
- 1 files changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/gnome-doc-utils.make b/gnome-doc-utils.make
-index 42d9df3..f71bbfa 100644
---- a/gnome-doc-utils.make
-+++ b/gnome-doc-utils.make
-@@ -133,11 +133,11 @@ _DOC_ABS_SRCDIR = @abs_srcdir@
- _xml2po ?= `which xml2po`
- _xml2po_mode = $(if $(DOC_ID),mallard,docbook)
-
--_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils`
--_db2omf  ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils`
--_chunks  ?= `$(PKG_CONFIG) --variable xmldir

gnome-doc-utils/gnome/xslt/docbook/utils/chunks.xsl --_credits ?= $(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl
--_ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl
-+_db2html ?= ${PKG_CONFIG_SYSROOT_DIR}$(PKG_CONFIG) --variable db2html gnome-doc-utils
-+_db2omf ?= ${PKG_CONFIG_SYSROOT_DIR}$(PKG_CONFIG) --variable db2omf gnome-doc-utils
-+_chunks ?= ${PKG_CONFIG_SYSROOT_DIR}$(PKG_CONFIG) --variable xmldir gnome-doc-utils/gnome/xslt/docbook/utils/chunks.xsl -+_credits ?= ${PKG_CONFIG_SYSROOT_DIR}$(PKG_CONFIG) --variable xmldir gnome-doc-utils/gnome/xslt/docbook/utils/credits.xsl
-+_ids ?= ${PKG_CONFIG_SYSROOT_DIR}$(PKG_CONFIG) --variable xmldir gnome-doc-utils/gnome/xslt/docbook/utils/ids.xsl

meta-xfce/recipes-devtools/glade/glade3/0001-gnome-doc-utils.make-sysrooted-pkg-config.patch deleted +0 -6
-
- if ENABLE_SK
- _ENABLE_SK = true
---
-1.7.6.5
-

diff --git a/meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch b/meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch deleted file mode 100644
index f735ff819..000000000

meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch deleted +0 -16
@@ -1,39 +0,0 @@
-From 5aa3d2abb905fa8594f6c6572a87809da54c9342 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Mon, 5 Sep 2016 11:25:27 +0200
-Subject: [PATCH] fix gcc-6 build
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Pending
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- gladeui/glade-editor-property.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/gladeui/glade-editor-property.c

b/gladeui/glade-editor-property.c

meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch deleted +0 -13
-index a0c1039..5e9ac38 100644
---- a/gladeui/glade-editor-property.c
-+++ b/gladeui/glade-editor-property.c
-@@ -2703,6 +2703,8 @@ glade_eprop_object_view (gboolean             radio)
- }
-
-
-+#pragma GCC diagnostic push
-+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
- static gchar *
- glade_eprop_object_dialog_title (GladeEditorProperty *eprop)
- {
-@@ -2731,6 +2733,7 @@ glade_eprop_object_dialog_title

(GladeEditorProperty *eprop)

meta-xfce/recipes-devtools/glade/glade3/0002-fix-gcc-6-build.patch deleted +0 -10
-       return g_strdup_printf (format, g_type_name
-                               (eprop->klass->pspec->value_type));
- }
-+#pragma GCC diagnostic pop
-
-
- gboolean
---
-2.5.5
-
meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb deleted +0 -5
deleted file mode 100644
index 24d0d901f..000000000
@@ -1,23 +0,0 @@
-SUMMARY = "Glade - A User Interface Designer"
-HOMEPAGE = "http://www.gnu.org/software/gnash"
-LICENSE = "GPLv2 & LGPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=aabe87591cb8ae0f3c68be6977bb5522 \
-

file://COPYING.GPL;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
- file://COPYING.LGPL;md5=252890d9eee26aab7b432e8b8a616475"

meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb deleted +0 -7
-DEPENDS = "gtk+ gnome-doc-utils gnome-common libxml2 intltool-native"
-
-inherit features_check autotools pkgconfig pythonnative gtk-icon-cache
-
-REQUIRED_DISTRO_FEATURES = "x11"
-
-SRC_URI = "

http://ftp.gnome.org/pub/GNOME/sources/glade3/3.8/glade3-${PV}.tar.xz \

meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb deleted +0 -6
-           file://0001-gnome-doc-utils.make-sysrooted-pkg-config.patch \
-           file://0002-fix-gcc-6-build.patch \
-
 file://0001-Add-G_GNUC_PRINTF-on-functions-with-format-strings.patch \
-           "
-SRC_URI[md5sum] = "4e4b4f5ee34a03e017e4cef97d796c1f"
-SRC_URI[sha256sum] =

"58a5f6e4df4028230ddecc74c564808b7ec4471b1925058e29304f778b6b2735"

meta-xfce/recipes-devtools/glade/glade3_3.8.5.bb deleted +0 -5
-
-EXTRA_OECONF += "--disable-scrollkeeper"
-
-FILES_${PN} += "${datadir}/icons"
--

2.21.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

PATCH 3/6 exo: remove pythonnative from inherit

In reply to Andreas Müller

* build tested with oe-core patch removing python2 from hosttools
* checked log files and there are no traces that a running python is required

---
 meta-xfce/recipes-xfce/exo/exo_0.12.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/exo/exo_0.12.10.bb +1 -1
index 246504b6d..4deedbfbc 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 DEPENDS = "gtk+3 libxfce4ui virtual/libx11 liburi-perl-native cairo"
 DEPENDS_class-native = "glib-2.0-native xfce4-dev-tools-native intltool-native"
 
-inherit xfce pythonnative perlnative gtk-doc features_check
+inherit xfce perlnative gtk-doc features_check
 
 REQUIRED_DISTRO_FEATURES = "x11"
 REQUIRED_DISTRO_FEATURES_class-native = ""
Signature · 1 line
2.21.0
#4 lore raw

PATCH 4/6 geany: remove pythonnative from inherit

In reply to Andreas Müller

* build tested with oe-core patch removing python2 from hosttools
* checked log files and there are no traces that a running python is required

---
 meta-oe/recipes-devtools/geany/geany_1.36.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/geany/geany_1.36.bb +1 -1
index 0d29b138a..17e16bf56 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bd7b2c994af21d318bd2cd3b3f80c2d5"
 
 DEPENDS = "gtk+3 libxml-parser-perl-native python3-docutils-native intltool-native"
 
-inherit features_check autotools pkgconfig perlnative pythonnative gettext
+inherit features_check autotools pkgconfig perlnative gettext
 
 REQUIRED_DISTRO_FEATURES = "x11"
 
Signature · 1 line
2.21.0
#5 lore raw

PATCH 5/6 libhandy: initial add 0.0.12

In reply to Andreas Müller

libhandy is required by upcoming gnome-tweaks

---
 .../recipes-support/libhandy/libhandy_git.bb  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-gnome/recipes-support/libhandy/libhandy_git.bb
meta-gnome/recipes-support/libhandy/libhandy_git.bb new file +21 -0
new file mode 100644
index 000000000..0fbbfdc5d
@@ -0,0 +1,21 @@
+SUMMARY = "A library full of GTK+ widgets for mobile phones"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "git://source.puri.sm/Librem5/${BPN}.git"
+SRCREV = "ef7c4bf75ae239495141ada83d2fbaf034315563"
+S = "${WORKDIR}/git"
+PV = "0.0.12"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GTKDOC_MESON_OPTION = 'gtk_doc'
+
+inherit meson gobject-introspection vala gettext gtk-doc features_check
+
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+
+DEPENDS += "gtk+3"
+
+PACKAGES =+ "${PN}-examples"
+FILES_${PN}-examples = "${bindir}"
Signature · 1 line
2.21.0
#6 lore raw

Re: [PATCH 5/6] libhandy: initial add 0.0.12

Quoted 15 lines · Andreas Müller

libhandy is required by upcoming gnome-tweaks

---
 .../recipes-support/libhandy/libhandy_git.bb  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-gnome/recipes-support/libhandy/libhandy_git.bb
meta-gnome/recipes-support/libhandy/libhandy_git.bb new file +0 -0
new file mode 100644
index 000000000..0fbbfdc5d

meta-gnome/recipes-support/libhandy/libhandy_git.bb line 5

Quoted 5 lines
meta-gnome/recipes-support/libhandy/libhandy_git.bb new file +5 -0
@@ -0,0 +1,21 @@
+SUMMARY = "A library full of GTK+ widgets for mobile phones"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "git://source.puri.sm/Librem5/${BPN}.git"

I am seeing this

WARNING: libhandy-0.0.12-r0 do_fetch: Failed to fetch URL
git://source.puri.sm/Librem5/libhandy.git, attempting MIRRORS if available

I think we need to use https protocol in fetcher.

SRC_URI = "git://source.puri.sm/Librem5/${BPN}.git;protocol=https"

might work.

Quoted 24 lines
meta-gnome/recipes-support/libhandy/libhandy_git.bb new file +16 -1
+SRCREV = "ef7c4bf75ae239495141ada83d2fbaf034315563"
+S = "${WORKDIR}/git"
+PV = "0.0.12"
+
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+GTKDOC_MESON_OPTION = 'gtk_doc'
+
+inherit meson gobject-introspection vala gettext gtk-doc features_check
+
+ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+
+DEPENDS += "gtk+3"
+
+PACKAGES =+ "${PN}-examples"
+FILES_${PN}-examples = "${bindir}"
--

2.21.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#7 lore raw

PATCH 6/6 gnome-tweaks: initial add 3.34.0

In reply to Andreas Müller

It runs but the area I did it for 'Startup Applications'is empty and I would like to disable some and see how gnome stores this.

---
 .../0001-Make-python-path-configurable.patch  | 41 +++++++++++++++++++
 .../gnome-tweaks/gnome-tweaks_3.34.0.bb       | 32 +++++++++++++++
 .../packagegroup-gnome-desktop.bb             |  1 +
 3 files changed, 74 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb
meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch new file +41 -0
new file mode 100644
index 000000000..8129f85a4
@@ -0,0 +1,41 @@
+From db94983c93f38bd8494b47d9fa1b3e5368dc9abe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Wed, 11 Dec 2019 01:34:01 +0100
+Subject: [PATCH] Make python path configurable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [Configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ meson.build       | 2 +-
+ meson_options.txt | 2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+ create mode 100644 meson_options.txt
+
+diff --git a/meson.build b/meson.build
+index b7da518..d58fb5b 100644
+--- a/meson.build
++++ b/meson.build
+@@ -13,7 +13,7 @@ bindir = join_paths(prefix, get_option('bindir'))
+ datadir = join_paths(prefix, get_option('datadir'))
+ libexecdir = join_paths(prefix, get_option('libexecdir'))
+ localedir = join_paths(prefix, get_option('localedir'))
+-pythondir = join_paths(prefix, python3.sysconfig_path('purelib'))
++pythondir = get_option('python_site_dir')
+ 
+ pkgdatadir = join_paths(datadir, meson.project_name())
+ 
+diff --git a/meson_options.txt b/meson_options.txt
+new file mode 100644
+index 0000000..03455ca
+--- /dev/null
++++ b/meson_options.txt
+@@ -0,0 +1,2 @@
++option('python_site_dir', type: 'string', value: '')
++
+-- 
+2.21.0
+
meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb new file +32 -0
new file mode 100644
index 000000000..af4c8c641
@@ -0,0 +1,32 @@
+SUMMARY = "GNOME tweaks: Advanced options for GNOME 3 session"
+LICENSE = "GPLv3 & CC0-1.0"
+LIC_FILES_CHKSUM = " \
+    file://LICENSES/CC0-1.0;md5=65d3616852dbf7b1a6d4b53b00626032 \
+    file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \
+"
+
+DEPENDS = "libhandy"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gtk-icon-cache gobject-introspection features_check upstream-version-is-even
+
+# same as gnome-shell
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
+
+SRC_URI[archive.md5sum] = "a625d8b167c5549c68e1c6ac7a87d369"
+SRC_URI[archive.sha256sum] = "003326fab46e6faad9485924bca503f0c583e3b4553d6f673406eda396205250"
+SRC_URI += "file://0001-Make-python-path-configurable.patch"
+
+EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}"
+
+FILES_${PN} += " \
+    ${datadir}/metainfo \
+    ${PYTHON_SITEPACKAGES_DIR} \
+"
+
+RDEPENDS_${PN} += "gnome-shell python3-core python3-logging libhandy"
meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb +1 -0
index e27678c89..3c333fe00 100644
@@ -21,6 +21,7 @@ RDEPENDS_${PN} = " \
     gnome-settings-daemon \
     gnome-shell \
     gnome-shell-extensions \
+    gnome-tweaks \
     gmime \
     gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \
 "
Signature · 1 line
2.21.0
#8 lore raw

Re: [PATCH 6/6] gnome-tweaks: initial add 3.34.0

Quoted 3 lines · Andreas Müller

It runs but the area I did it for 'Startup Applications'is empty and I would like to disable some and see how gnome stores this.

The more I looked at this it seems we have a misunderstanding
GNOME-people: I don't want to add additional I want to remove as I was used to in XFCE (and presumed - wrongly? - other desktops would listen)

Quoted 110 lines
---
 .../0001-Make-python-path-configurable.patch  | 41 +++++++++++++++++++
 .../gnome-tweaks/gnome-tweaks_3.34.0.bb       | 32 +++++++++++++++
 .../packagegroup-gnome-desktop.bb             |  1 +
 3 files changed, 74 insertions(+)
 create mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch
 create mode 100644 meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb
meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0001-Make-python-path-configurable.patch new file +41 -0
new file mode 100644
index 000000000..8129f85a4
@@ -0,0 +1,41 @@
+From db94983c93f38bd8494b47d9fa1b3e5368dc9abe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Wed, 11 Dec 2019 01:34:01 +0100
+Subject: [PATCH] Make python path configurable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [Configuration]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ meson.build       | 2 +-
+ meson_options.txt | 2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+ create mode 100644 meson_options.txt
+
+diff --git a/meson.build b/meson.build
+index b7da518..d58fb5b 100644
+--- a/meson.build
++++ b/meson.build
+@@ -13,7 +13,7 @@ bindir = join_paths(prefix, get_option('bindir'))
+ datadir = join_paths(prefix, get_option('datadir'))
+ libexecdir = join_paths(prefix, get_option('libexecdir'))
+ localedir = join_paths(prefix, get_option('localedir'))
+-pythondir = join_paths(prefix, python3.sysconfig_path('purelib'))
++pythondir = get_option('python_site_dir')
+
+ pkgdatadir = join_paths(datadir, meson.project_name())
+
+diff --git a/meson_options.txt b/meson_options.txt
+new file mode 100644
+index 0000000..03455ca
+--- /dev/null
++++ b/meson_options.txt
+@@ -0,0 +1,2 @@
++option('python_site_dir', type: 'string', value: '')
++
+--
+2.21.0
+
meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks_3.34.0.bb new file +32 -0
new file mode 100644
index 000000000..af4c8c641
@@ -0,0 +1,32 @@
+SUMMARY = "GNOME tweaks: Advanced options for GNOME 3 session"
+LICENSE = "GPLv3 & CC0-1.0"
+LIC_FILES_CHKSUM = " \
+    file://LICENSES/CC0-1.0;md5=65d3616852dbf7b1a6d4b53b00626032 \
+    file://LICENSES/GPL-3.0;md5=9eef91148a9b14ec7f9df333daebc746 \
+"
+
+DEPENDS = "libhandy"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+inherit gnomebase gtk-icon-cache gobject-introspection features_check upstream-version-is-even
+
+# same as gnome-shell
+REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
+
+# gobject-introspection is mandatory and cannot be configured
+REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
+UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
+
+SRC_URI[archive.md5sum] = "a625d8b167c5549c68e1c6ac7a87d369"
+SRC_URI[archive.sha256sum] = "003326fab46e6faad9485924bca503f0c583e3b4553d6f673406eda396205250"
+SRC_URI += "file://0001-Make-python-path-configurable.patch"
+
+EXTRA_OEMESON = "-Dpython_site_dir=${PYTHON_SITEPACKAGES_DIR}"
+
+FILES_${PN} += " \
+    ${datadir}/metainfo \
+    ${PYTHON_SITEPACKAGES_DIR} \
+"
+
+RDEPENDS_${PN} += "gnome-shell python3-core python3-logging libhandy"
meta-gnome/recipes-support/packagegroups/packagegroup-gnome-desktop.bb +1 -1
index e27678c89..3c333fe00 100644
@@ -21,6 +21,7 @@ RDEPENDS_${PN} = " \
     gnome-settings-daemon \
     gnome-shell \
     gnome-shell-extensions \
+    gnome-tweaks \
     gmime \
     gvfs gvfsd-ftp gvfsd-sftp gvfsd-trash \
 "
--

2.21.0

#9 lore raw
In reply to Andreas Müller
Quoted 14 lines · Andreas Müller
---
 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.14.1.bb | 3 ---
 1 file changed, 3 deletions(-)
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.14.1.bb +0 -0
index 053eb201b..348b685be 100644
@@ -17,7 +17,6 @@ SRC_URI[sha256sum] =

"c449075eaeae4d1138d22eeed3d2ad7032b87fb8878eada9b770325bed
EXTRA_OECONF += "--with-vendor-info=${DISTRO}"

Quoted 2 lines

PACKAGECONFIG ??= ""
-PACKAGECONFIG[gladeui] = "--enable-gladeui,--disable-gladeui,glade3"

Here it would now use defaults and since glade3 is gone from deps it will disable it I guess
But could you explain why we want to remove this

Quoted 25 lines

PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" PACKAGECONFIG[startup-notification] =
"--enable-startup-notification,--disable-startup-notification,startup-notification"

meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.14.1.bb +0 -0
@@ -28,9 +27,7 @@ FILES_${PN}-gtk3 += "${libdir}/libxfce4ui-2.so.*

${libdir}/libxfce4kbd-private-3
PACKAGES += "${PN}-glade"

 FILES_${PN}-glade = " \
     ${libdir}/glade \
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.14.1.bb +0 -3
-    ${libdir}/glade3 \
     ${datadir}/glade \
-    ${datadir}/glade3 \
 "
 
 RDEPENDS_${PN}-gtk2 = "${PN}"
--

2.21.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel