Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package glade for openSUSE:Factory checked 
in at 2021-12-16 21:19:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glade (Old)
 and      /work/SRC/openSUSE:Factory/.glade.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glade"

Thu Dec 16 21:19:24 2021 rev:42 rq:940306 version:3.38.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/glade/glade.changes      2020-11-29 
12:22:08.509620681 +0100
+++ /work/SRC/openSUSE:Factory/.glade.new.2520/glade.changes    2021-12-16 
21:20:21.146544987 +0100
@@ -1,0 +2,10 @@
+Fri Dec 10 20:18:35 UTC 2021 - Bj??rn Lie <[email protected]>
+
+- Add pkgconfig(gjs-1.0) BuildRequires: Build gjs widgets support,
+  and stop passing gjs=disabled to meson.
+- Add 9db1fba1fa93905c9169c1e29049e4b2f6337c39.patch: GladeProject:
+  Segfault in gnome-builder when widget doesn't have a name.
+- Split out new sub package for docs.
+- Use ldconfig_scriptlets macro for post(un) ldconfig handling.
+
+-------------------------------------------------------------------

New:
----
  9db1fba1fa93905c9169c1e29049e4b2f6337c39.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glade.spec ++++++
--- /var/tmp/diff_new_pack.ciXzpB/_old  2021-12-16 21:20:21.566545147 +0100
+++ /var/tmp/diff_new_pack.ciXzpB/_new  2021-12-16 21:20:21.570545148 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package glade
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Group:          Development/Tools/GUI Builders
 URL:            https://glade.gnome.org/
 Source0:        
https://download.gnome.org/sources/glade/3.38/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM 9db1fba1fa93905c9169c1e29049e4b2f6337c39.patch -- 
GladeProject: Segfault in gnome-builder when widget doesn't have a name
+Patch0:         
https://gitlab.gnome.org/GNOME/glade/-/commit/9db1fba1fa93905c9169c1e29049e4b2f6337c39.patch
 
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
@@ -35,6 +37,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  python3-devel
 BuildRequires:  yelp-tools
+BuildRequires:  pkgconfig(gjs-1.0)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.64.0
 BuildRequires:  pkgconfig(gmodule-2.0)
 BuildRequires:  pkgconfig(gmodule-export-2.0)
@@ -82,6 +85,15 @@
 This subpackage contains the header files for developing
 applications that want to make use of libgladeui.
 
+%package docs
+Summary:        Documentation for GLADE User Interface Builder
+
+%description docs
+Glade is a RAD tool to develop user interfaces for the Gtk+ 3 toolkit
+and the GNOME desktop environment.
+
+This package contains the documentation for Glade.
+
 %lang_package
 
 %prep
@@ -90,7 +102,7 @@
 %build
 %meson \
     -Dgtk_doc=true \
-    -Dgjs=disabled
+       %{nil}
 %meson_build
 
 %install
@@ -98,8 +110,7 @@
 %find_lang %{name} %{?no_lang_C}
 %fdupes %{buildroot}%{_datadir}
 
-%post -n %{soname} -p /sbin/ldconfig
-%postun -n %{soname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{soname}
 
 %files
 %license COPYING COPYING.GPL COPYING.LGPL
@@ -113,8 +124,8 @@
 %{_datadir}/glade/
 %{_datadir}/gettext/its/glade-catalog.its
 %{_datadir}/gettext/its/glade-catalog.loc
-
 %{_datadir}/icons/hicolor/*/apps/*.*
+%{_libdir}/glade/modules/libgladegjs.so
 %{_libdir}/glade/modules/libgladegtk.so
 %{_libdir}/glade/modules/libgladepython.so
 %{_libdir}/glade/modules/libgladewebkit2gtk.so
@@ -139,9 +150,6 @@
 
 %files -n libgladeui-2-devel
 %doc AUTHORS TODO
-%dir %{_datadir}/gtk-doc
-%dir %{_datadir}/gtk-doc/html
-%doc %{_datadir}/gtk-doc/html/gladeui-2
 %{_includedir}/libgladeui-2.0/
 %{_libdir}/pkgconfig/gladeui-2.0.pc
 %{_libdir}/libgladeui*.so
@@ -149,4 +157,9 @@
 
 %files lang -f %{name}.lang
 
+%files docs
+%dir %{_datadir}/gtk-doc
+%dir %{_datadir}/gtk-doc/html
+%{_datadir}/gtk-doc/html/gladeui-2
+
 %changelog

++++++ 9db1fba1fa93905c9169c1e29049e4b2f6337c39.patch ++++++
>From 9db1fba1fa93905c9169c1e29049e4b2f6337c39 Mon Sep 17 00:00:00 2001
From: Peter Maatman <[email protected]>
Date: Sat, 26 Jun 2021 15:51:56 +0200
Subject: [PATCH] GladeProject: Segfault in gnome-builder when widget doesn't
 have a name

---
 gladeui/glade-project.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index 66afb895..fd454bc0 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -3661,10 +3661,12 @@ glade_project_get_widget_by_name (GladeProject 
*project, const gchar *name)
   for (list = project->priv->objects; list; list = list->next)
     {
       GladeWidget *widget;
+      gchar *widget_name;
 
       widget = glade_widget_get_from_gobject (list->data);
+      widget_name = glade_widget_get_name (widget);
 
-      if (strcmp (glade_widget_get_name (widget), name) == 0)
+      if (g_strcmp0 (widget_name, name) == 0)
         return widget;
     }
 
-- 
GitLab

Reply via email to