Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libgee for openSUSE:Factory checked 
in at 2023-10-16 22:32:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libgee (Old)
 and      /work/SRC/openSUSE:Factory/.libgee.new.20540 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libgee"

Mon Oct 16 22:32:55 2023 rev:44 rq:1117969 version:0.20.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/libgee/libgee.changes    2022-09-21 
14:41:32.589606980 +0200
+++ /work/SRC/openSUSE:Factory/.libgee.new.20540/libgee.changes 2023-10-16 
22:32:56.807740286 +0200
@@ -1,0 +2,9 @@
+Fri Oct 13 19:55:02 UTC 2023 - Bjørn <[email protected]>
+
+- Add upstream patches:
+  + b33a6627f4fc96938b6015e05849867c472160a8.patch: Add more
+    missing generic type arguments.
+  + 2f0bbe8987e5eb1390b23ac531c971b202c2ef77.patch: Implementations
+    of "G List.get()" should use non-nullable return as defined.
+
+-------------------------------------------------------------------

New:
----
  2f0bbe8987e5eb1390b23ac531c971b202c2ef77.patch
  b33a6627f4fc96938b6015e05849867c472160a8.patch

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

Other differences:
------------------
++++++ libgee.spec ++++++
--- /var/tmp/diff_new_pack.qfdjsd/_old  2023-10-16 22:32:58.399797712 +0200
+++ /var/tmp/diff_new_pack.qfdjsd/_new  2023-10-16 22:32:58.403797856 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libgee
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2010 Luis Medinas, Portugal
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,6 +26,11 @@
 URL:            https://wiki.gnome.org/Projects/Libgee
 Source0:        
https://download.gnome.org/sources/libgee/0.20/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
+# PATCH-FIX-UPSTREAM b33a6627f4fc96938b6015e05849867c472160a8.patch -- Add 
more missing generic type arguments
+Patch0:         
https://gitlab.gnome.org/GNOME/libgee/-/commit/b33a6627f4fc96938b6015e05849867c472160a8.patch
+# PATCH-FIX-UPSTREAM 2f0bbe8987e5eb1390b23ac531c971b202c2ef77.patch -- 
Implementations of "G List.get()" should use non-nullable return as defined
+Patch1:         
https://gitlab.gnome.org/GNOME/libgee/-/commit/2f0bbe8987e5eb1390b23ac531c971b202c2ef77.patch
+
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  pkgconfig
 BuildRequires:  vala >= 0.25.1

++++++ 2f0bbe8987e5eb1390b23ac531c971b202c2ef77.patch ++++++
>From 2f0bbe8987e5eb1390b23ac531c971b202c2ef77 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <[email protected]>
Date: Thu, 13 Apr 2023 23:43:03 +0200
Subject: [PATCH] Implementations of "G List.get()" should use non-nullable
 return as defined

---
 gee/abstractlist.vala       | 2 +-
 gee/concurrentlist.vala     | 2 +-
 gee/readonlylist.vala       | 2 +-
 gee/unrolledlinkedlist.vala | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gee/abstractlist.vala b/gee/abstractlist.vala
index eeff984..1e55114 100644
--- a/gee/abstractlist.vala
+++ b/gee/abstractlist.vala
@@ -39,7 +39,7 @@ public abstract class Gee.AbstractList<G> : 
Gee.AbstractCollection<G>, List<G> {
        /**
         * {@inheritDoc}
         */
-       public abstract new G? get (int index);
+       public abstract new G get (int index);
 
        /**
         * {@inheritDoc}
diff --git a/gee/concurrentlist.vala b/gee/concurrentlist.vala
index 6e511f1..583f827 100644
--- a/gee/concurrentlist.vala
+++ b/gee/concurrentlist.vala
@@ -170,7 +170,7 @@ public class Gee.ConcurrentList<G> : AbstractList<G> {
        /**
         * {@inheritDoc}
         */
-       public override G? get (int index) {
+       public override G get (int index) {
                HazardPointer.Context ctx = new HazardPointer.Context ();
                Utils.Misc.unused (ctx);
                assert (index >= 0);
diff --git a/gee/readonlylist.vala b/gee/readonlylist.vala
index 8be3f27..c243d14 100644
--- a/gee/readonlylist.vala
+++ b/gee/readonlylist.vala
@@ -74,7 +74,7 @@ internal class Gee.ReadOnlyList<G> : 
Gee.ReadOnlyCollection<G>, List<G> {
        /**
         * {@inheritDoc}
         */
-       public new G? get (int index) {
+       public new G get (int index) {
                return ((Gee.List<G>) _collection).get (index);
        }
 
diff --git a/gee/unrolledlinkedlist.vala b/gee/unrolledlinkedlist.vala
index e36f88f..234d24d 100644
--- a/gee/unrolledlinkedlist.vala
+++ b/gee/unrolledlinkedlist.vala
@@ -158,7 +158,7 @@ public class Gee.UnrolledLinkedList<G> : 
AbstractBidirList<G>, Queue<G>, Deque<G
                return new Iterator<G> (this);
        }
 
-       public override G? get (int index) {
+       public override G get (int index) {
                assert (index >= 0);
                assert (index < this._size);
 
-- 
GitLab


++++++ b33a6627f4fc96938b6015e05849867c472160a8.patch ++++++
>From b33a6627f4fc96938b6015e05849867c472160a8 Mon Sep 17 00:00:00 2001
From: Rico Tzschichholz <[email protected]>
Date: Sat, 8 Apr 2023 22:39:35 +0200
Subject: [PATCH] Add more missing generic type arguments

---
 gee/hashmap.vala    | 2 +-
 gee/hashset.vala    | 2 +-
 gee/linkedlist.vala | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gee/hashmap.vala b/gee/hashmap.vala
index a7bae9f..19e3980 100644
--- a/gee/hashmap.vala
+++ b/gee/hashmap.vala
@@ -253,7 +253,7 @@ public class Gee.HashMap<K,V> : Gee.AbstractMap<K,V> {
                for (int i = 0; i < _array_size; i++) {
                        Node<K,V> node = (owned) _nodes[i];
                        while (node != null) {
-                               Node next = (owned) node.next;
+                               Node<K,V> next = (owned) node.next;
                                node.key = null;
                                node.value = null;
                                node = (owned) next;
diff --git a/gee/hashset.vala b/gee/hashset.vala
index ef6d5a2..bf05519 100644
--- a/gee/hashset.vala
+++ b/gee/hashset.vala
@@ -210,7 +210,7 @@ public class Gee.HashSet<G> : AbstractSet<G> {
                for (int i = 0; i < _array_size; i++) {
                        Node<G> node = (owned) _nodes[i];
                        while (node != null) {
-                               Node next = (owned) node.next;
+                               Node<G> next = (owned) node.next;
                                node.key = null;
                                node = (owned) next;
                        }
diff --git a/gee/linkedlist.vala b/gee/linkedlist.vala
index aff36b9..976977f 100644
--- a/gee/linkedlist.vala
+++ b/gee/linkedlist.vala
@@ -233,7 +233,7 @@ public class Gee.LinkedList<G> : AbstractBidirList<G>, 
Queue<G>, Deque<G> {
                                n.next.prev = n;
                                this._head = (owned)n;
                        } else {
-                               weak Node prev = this._head;
+                               weak Node<G> prev = this._head;
                                for (int i = 0; i < index - 1; i++) {
                                        prev = prev.next;
                                }
-- 
GitLab

Reply via email to