Hello community,

here is the log from the commit of package libyui-bindings for openSUSE:Factory 
checked in at 2020-11-25 19:30:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-bindings (Old)
 and      /work/SRC/openSUSE:Factory/.libyui-bindings.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libyui-bindings"

Wed Nov 25 19:30:17 2020 rev:25 rq:850748 version:2.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-bindings/libyui-bindings.changes  
2020-10-02 17:35:06.066659825 +0200
+++ 
/work/SRC/openSUSE:Factory/.libyui-bindings.new.5913/libyui-bindings.changes    
    2020-11-25 19:31:08.726603252 +0100
@@ -1,0 +2,14 @@
+Wed Nov 25 13:45:23 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Fixed OBS-only changes by kkaempf vs. Git master conflicts
+- Removed kkaempf's libyui-bindings-2.0.2.patch
+  (now included in mvidner's latest commits for 2.1.0)
+- 2.1.1
+
+-------------------------------------------------------------------
+Tue Nov 17 10:41:16 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Added new widgets: YMenuBar, YItemSelector (bsc#1175115)
+- 2.1.0
+
+-------------------------------------------------------------------

Old:
----
  libyui-bindings-2.0.2.patch
  libyui-bindings-2.0.2.tar.bz2

New:
----
  libyui-bindings-2.1.1.tar.bz2

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

Other differences:
------------------
++++++ libyui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.WxywMY/_old  2020-11-25 19:31:09.194603712 +0100
+++ /var/tmp/diff_new_pack.WxywMY/_new  2020-11-25 19:31:09.198603716 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libyui-bindings
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,28 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # nodebuginfo
 
 
 Name:           libyui-bindings
-Version:        2.0.2
+Version:        2.1.1
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1-only OR LGPL-3.0-only
 Group:          Development/Sources
-Url:            https://github.com/libyui/libyui-bindings
+URL:            https://github.com/libyui/libyui-bindings
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  libyui-devel >= 2.21.5
+# YMenuBar / libyui14
+BuildRequires:  libyui-devel >= 3.12.0
 BuildRequires:  perl
 BuildRequires:  python3-devel
 BuildRequires:  ruby-devel
 BuildRequires:  swig
 Source:         %{name}-%{version}.tar.bz2
-# PATCH-FIX-OPENSUSE - adapt to newer CMake [email protected]
-Patch1:         libyui-bindings-2.0.2.patch
 Prefix:         /usr
 
 %description
@@ -50,7 +49,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
 
 %build
 mkdir build

++++++ libyui-bindings-2.0.2.tar.bz2 -> libyui-bindings-2.1.1.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-bindings-2.0.2/VERSION.cmake 
new/libyui-bindings-2.1.1/VERSION.cmake
--- old/libyui-bindings-2.0.2/VERSION.cmake     2020-05-27 09:55:17.000000000 
+0200
+++ new/libyui-bindings-2.1.1/VERSION.cmake     2020-11-25 15:33:21.000000000 
+0100
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "2")
-SET(VERSION_MINOR "0")
-SET(VERSION_PATCH "2")
+SET(VERSION_MINOR "1")
+SET(VERSION_PATCH "1")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libyui-bindings-2.0.2/package/libyui-bindings.changes 
new/libyui-bindings-2.1.1/package/libyui-bindings.changes
--- old/libyui-bindings-2.0.2/package/libyui-bindings.changes   2020-05-27 
09:55:17.000000000 +0200
+++ new/libyui-bindings-2.1.1/package/libyui-bindings.changes   2020-11-25 
15:33:21.000000000 +0100
@@ -1,4 +1,25 @@
 -------------------------------------------------------------------
+Wed Nov 25 13:45:23 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Fixed OBS-only changes by kkaempf vs. Git master conflicts
+- Removed kkaempf's libyui-bindings-2.0.2.patch
+  (now included in mvidner's latest commits for 2.1.0)
+- 2.1.1
+
+-------------------------------------------------------------------
+Tue Nov 17 10:41:16 UTC 2020 - Stefan Hundhammer <[email protected]>
+
+- Added new widgets: YMenuBar, YItemSelector (bsc#1175115)
+- 2.1.0
+
+-------------------------------------------------------------------
+Wed Sep 30 13:08:15 UTC 2020 - Klaus Kämpf <[email protected]>
+
+- fix Factory build, add libyui-bindings-2.0.2.patch
+
+- move to python3-only build
+
+-------------------------------------------------------------------
 Wed May 27 06:45:02 UTC 2020 - Josef Reidinger <[email protected]>
 
 - Fix ruby bindings when build as non-gem (bsc#1172158)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-bindings-2.0.2/package/libyui-bindings.spec 
new/libyui-bindings-2.1.1/package/libyui-bindings.spec
--- old/libyui-bindings-2.0.2/package/libyui-bindings.spec      2020-05-27 
09:55:17.000000000 +0200
+++ new/libyui-bindings-2.1.1/package/libyui-bindings.spec      2020-11-25 
15:33:21.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libyui-bindings
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # nodebuginfo
 
 
 Name:           libyui-bindings
-Version:        2.0.2
+Version:        2.1.1
 Release:        0
 Summary:        Bindings for libyui
 License:        LGPL-2.1-only OR LGPL-3.0-only
 Group:          Development/Sources
-Url:            https://github.com/libyui/libyui-bindings
+URL:            https://github.com/libyui/libyui-bindings
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  libyui-devel >= 2.21.5
+# YMenuBar / libyui14
+BuildRequires:  libyui-devel >= 3.12.0
 BuildRequires:  perl
 BuildRequires:  python3-devel
 BuildRequires:  ruby-devel
@@ -55,7 +56,7 @@
 cmake -DYPREFIX=%{prefix} \
       -DCMAKE_INSTALL_PREFIX=%{prefix} \
       -DLIB=%{_lib} \
-      -DPYTHON_SITEDIR=%{python_sitelib} \
+      -DPYTHON_SITEDIR=%{python3_sitelib} \
       -DCMAKE_VERBOSE_MAKEFILE=TRUE \
       -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags}" \
       -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags}" \
@@ -130,8 +131,8 @@
 %files -n python3-yui
 %defattr(-,root,root,-)
 %doc swig/python/examples/*.py
-%{python_sitelib}/_yui.so
-%{python_sitelib}/yui.py
+%{python3_sitelib}/_yui.so
+%{python3_sitelib}/yui.py
 
 %files -n perl-yui
 %defattr(-,root,root,-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libyui-bindings-2.0.2/swig/python/examples/menubar.py 
new/libyui-bindings-2.1.1/swig/python/examples/menubar.py
--- old/libyui-bindings-2.0.2/swig/python/examples/menubar.py   1970-01-01 
01:00:00.000000000 +0100
+++ new/libyui-bindings-2.1.1/swig/python/examples/menubar.py   2020-11-25 
15:33:21.000000000 +0100
@@ -0,0 +1,117 @@
+# vim: set et ts=4 sw=4:
+#coding:utf-8
+#############################################################################
+#
+# menubar.py  -  Show a dialog with YMenuBar implementation
+#
+# License: GPLv2+
+# Author:  Angelo Naselli <[email protected]>
+#############################################################################
+
+###########
+# imports #
+###########
+import sys
+sys.path.insert(0,'../../../build/swig/python')
+import os
+
+import yui
+
+log = yui.YUILog.instance()
+log.setLogFileName("/tmp/menubar.log")
+log.enableDebugLogging( True )
+appl = yui.YUI.application()
+appl.setApplicationTitle("Show YMenuBar example")
+
+#################
+# class mainGui #
+#################
+
+class mainGui():
+    """
+    Main class
+    """
+
+    def __init__(self):
+        self.factory = yui.YUI.widgetFactory()
+        self.dialog = self.factory.createPopupDialog()
+        minSize = self.factory.createMinSize(self.dialog, 50, 20 )
+        mainvbox = self.factory.createVBox(minSize)
+        self.menubar = self.factory.createMenuBar(mainvbox)
+
+        #Items must be "disowned"
+        fileMenu = self.menubar.addMenu("&File")
+        fileMenu.this.own(False)
+        tmi = yui.YMenuItem(fileMenu, "&New")
+        tmi.this.own(False)
+        item = yui.YMenuItem( tmi, "New &1" , "document-new")
+        item.this.own(False)
+        item = yui.YMenuItem( tmi, "New &2" , "contact-new")
+        item.this.own(False)
+        item = fileMenu.addSeparator()
+        item.this.own(False)
+        item = yui.YMenuItem(fileMenu, "&Open", "document-open.png")
+        item.this.own(False)
+        item = fileMenu.addSeparator()
+        item.this.own(False)
+        item = yui.YMenuItem(fileMenu, "&Save", "document-save.png")
+        item.this.own(False)
+        item = yui.YMenuItem(fileMenu, "&Save as", "document-save-as")
+        item.this.own(False)
+        item = fileMenu.addSeparator()
+        item.this.own(False)
+        self.quitMenu = yui.YMenuItem(fileMenu, "&Quit", "application-exit")
+        self.quitMenu.this.own(False)
+
+        editmenu = self.menubar.addMenu("&Edit")
+        self.editMenu = {
+            'menu'      : editmenu,
+            'undo'      : editmenu.addItem("&Undo", "edit-undo.png"),
+            'redo'      : editmenu.addItem("&Redo", "edit-redo.png"),
+            'sep0'      : editmenu.addSeparator(),
+            'cut'       : editmenu.addItem("Cu&t", "edit-cut.png"),
+            'copy'      : editmenu.addItem("&Copy", "edit-copy.png"),
+            'paste'     : yui.YMenuItem(editmenu, "&Paste", "edit-paste.png"),
+        }
+        #Items must be "disowned"
+        for k in self.editMenu.keys():
+            self.editMenu[k].this.own(False)
+
+        self.menubar.resolveShortcutConflicts()
+        self.menubar.rebuildMenuTree()
+
+        HBox     = self.factory.createHBox(mainvbox)
+        self.closebutton = 
self.factory.createPushButton(self.factory.createRight(HBox), "&Close")
+
+
+    def handleevent(self):
+        """
+        Event-handler for the 'widgets' demo
+        """
+        while True:
+            event = self.dialog.waitForEvent()
+            eventType = event.eventType()
+            if eventType == yui.YEvent.CancelEvent:
+                break
+            elif (eventType == yui.YEvent.MenuEvent) :
+                item = event.item()
+                if (item) :
+                    if  item == self.quitMenu :
+                        break
+            elif (eventType == yui.YEvent.WidgetEvent) :
+                # widget selected
+                widget  = event.widget()
+                if (widget == self.closebutton) :
+                    break
+
+        self.dialog.destroy()
+
+if __name__ == "__main__":
+    main_gui = mainGui()
+    main_gui.handleevent()
+
+    yui.YDialog.deleteAllDialogs()
+    # next line seems to be a workaround to prevent the qt-app from crashing
+    # see https://github.com/libyui/libyui-qt/issues/41
+    yui.YUILoader.deleteUI()
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-bindings-2.0.2/swig/ruby/CMakeLists.txt 
new/libyui-bindings-2.1.1/swig/ruby/CMakeLists.txt
--- old/libyui-bindings-2.0.2/swig/ruby/CMakeLists.txt  2020-05-27 
09:55:17.000000000 +0200
+++ new/libyui-bindings-2.1.1/swig/ruby/CMakeLists.txt  2020-11-25 
15:33:21.000000000 +0100
@@ -7,8 +7,17 @@
 EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 
RbConfig::CONFIG['vendorarchdir']" OUTPUT_VARIABLE RUBY_VENDOR_ARCH_DIR)
 STRING(REGEX REPLACE "^/usr/" "${CMAKE_INSTALL_PREFIX}/" RUBY_VENDOR_ARCH_DIR 
"${RUBY_VENDOR_ARCH_DIR}")
 
+# 3.18.0: "Rename variables to match case of module name"
+if(
+   (("${CMAKE_MAJOR_VERSION}" GREATER_EQUAL 3) AND ("${CMAKE_MINOR_VERSION}" 
GREATER_EQUAL 18)) OR
+   ("${CMAKE_MAJOR_VERSION}" GREATER_EQUAL 4)
+  )
+  SET(RUBY_VENDORLIB_DIR "${Ruby_VENDORLIB_DIR}")
+endif()
+
 MESSAGE(STATUS "Ruby executable: ${RUBY_EXECUTABLE}")
 MESSAGE(STATUS "Ruby vendor arch dir: ${RUBY_VENDOR_ARCH_DIR}")
+MESSAGE(STATUS "Ruby vendor lib dir: ${RUBY_VENDORLIB_DIR}")
 MESSAGE(STATUS "Ruby include path: ${RUBY_INCLUDE_PATH}")
 
 SET( SWIG_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/yui_ruby.cxx" )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libyui-bindings-2.0.2/swig/yui.i 
new/libyui-bindings-2.1.1/swig/yui.i
--- old/libyui-bindings-2.0.2/swig/yui.i        2020-05-27 09:55:17.000000000 
+0200
+++ new/libyui-bindings-2.1.1/swig/yui.i        2020-11-25 15:33:21.000000000 
+0100
@@ -61,10 +61,13 @@
 #include "yui/YImage.h"
 #include "yui/YInputField.h"
 #include "yui/YItem.h"
+#include "yui/YItemSelector.h"
 #include "yui/YLogView.h"
 #include "yui/YMacro.h"
 #include "yui/YMacroPlayer.h"
 #include "yui/YMacroRecorder.h"
+#include "yui/YMenuWidget.h"
+#include "yui/YMenuBar.h"
 #include "yui/YMenuButton.h"
 #include "yui/YMenuItem.h"
 #include "yui/YMultiLineEdit.h"
@@ -214,12 +217,15 @@
 %include yui/YImage.h
 %include yui/YInputField.h
 %include yui/YIntField.h
+%include yui/YItemSelector.h
 %include yui/YLabel.h
 %include yui/YLayoutBox.h
 %include yui/YLogView.h
 %include yui/YMacro.h
 %include yui/YMacroPlayer.h
 %include yui/YMacroRecorder.h
+%include yui/YMenuWidget.h
+%include yui/YMenuBar.h
 %include yui/YMenuButton.h
 %include yui/YMenuItem.h
 %include yui/YMultiLineEdit.h
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to