commit bemenu for openSUSE:Leap:15.2

2020-04-17 Thread root
Hello community,

here is the log from the commit of package bemenu for openSUSE:Leap:15.2 
checked in at 2020-04-17 13:37:08

Comparing /work/SRC/openSUSE:Leap:15.2/bemenu (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.bemenu.new.2738 (New)


Package is "bemenu"

Fri Apr 17 13:37:08 2020 rev:4 rq:794129 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/bemenu/bemenu.changes  2020-04-14 
14:21:39.565304865 +0200
+++ /work/SRC/openSUSE:Leap:15.2/.bemenu.new.2738/bemenu.changes
2020-04-17 13:37:09.232202299 +0200
@@ -1,0 +2,5 @@
+Tue Apr 14 10:29:29 UTC 2020 - Michael Vetter 
+
+- Use %{_lib} macro
+
+---



Other differences:
--
++ bemenu.spec ++
--- /var/tmp/diff_new_pack.IwTOmP/_old  2020-04-17 13:37:09.684202639 +0200
+++ /var/tmp/diff_new_pack.IwTOmP/_new  2020-04-17 13:37:09.684202639 +0200
@@ -79,7 +79,7 @@
 %make_build PREFIX=%{_prefix} libdir=/lib64 clients x11 wayland curses
 
 %install
-%make_install PREFIX=%{_prefix} libdir=/lib64
+%make_install PREFIX=%{_prefix} libdir=/%{_lib}
 
 %post -n libbemenu0 -p /sbin/ldconfig
 %postun -n libbemenu0 -p /sbin/ldconfig




commit bemenu for openSUSE:Leap:15.2

2020-04-14 Thread root
Hello community,

here is the log from the commit of package bemenu for openSUSE:Leap:15.2 
checked in at 2020-04-14 14:21:29

Comparing /work/SRC/openSUSE:Leap:15.2/bemenu (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.bemenu.new.3248 (New)


Package is "bemenu"

Tue Apr 14 14:21:29 2020 rev:3 rq:793586 version:0.4.1

Changes:

--- /work/SRC/openSUSE:Leap:15.2/bemenu/bemenu.changes  2020-03-02 
13:26:08.170729866 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.bemenu.new.3248/bemenu.changes
2020-04-14 14:21:39.565304865 +0200
@@ -1,0 +2,35 @@
+Mon Apr 13 09:48:33 UTC 2020 - Michael Vetter 
+
+- Update to 0.4.1:
+  * This bug fix release fixes a build problem with missing
+wayland headers on some systems. #106
+- Remove bemenu-pkgconfig.patch: contained in upstream
+
+---
+Sun Apr 12 21:03:13 UTC 2020 - Michael Vetter 
+
+- Update to 0.4.0:
+  This release includes various bug fixes and some minor new features.
+  Following behavior has changed by default:
+  * The vertical UI now resembles vanilla dmenu more with the left
+padding added.
+  * Scrollbar thickness has changed to 1 character thick instead 1
+pixel, to make it more visible on hidpi displays.
+  * X11 should now contain windows class and name
+  * Wayland shows bemenu only on single monitor now, to have the
+old behavior back you can use the -m all option. Note that there
+seems to be input bugs in Wayland backend currently, and I would
+appreciate if some Wayland developer could help figure those
+out! #98 #102
+  * bemenu-run under curses won't fork anymore by default, to make
+bemenu-run under curses fork, use the --fork option, this option
+is no-op for any other backend.
+  Notable new features:
+  * BEMENU_OPTS env variable can be now used as a alternative way of 
specifying command line options for bemenu.
+- Remove because upstreamed:
+  * bemenu-0.3.0-boo1165235-ncurses.patch
+  * bemenu-0.3.0-curses.patch
+- Remove bemenu-0.3.0-wayland.patch: switch to makefile
+- Add bemenu-pkgconfig.patch: https://github.com/Cloudef/bemenu/issues/106
+
+---

Old:

  0.3.0.tar.gz
  bemenu-0.3.0-boo1165235-ncurses.patch
  bemenu-0.3.0-curses.patch
  bemenu-0.3.0-wayland.patch

New:

  0.4.1.tar.gz



Other differences:
--
++ bemenu.spec ++
--- /var/tmp/diff_new_pack.qT1X9O/_old  2020-04-14 14:21:39.913305125 +0200
+++ /var/tmp/diff_new_pack.qT1X9O/_new  2020-04-14 14:21:39.917305128 +0200
@@ -18,26 +18,22 @@
 
 %define bcond_with curses
 Name:   bemenu
-Version:0.3.0
+Version:0.4.1
 Release:0
 Summary:Dynamic menu library and client program inspired by dmenu
 License:MIT
 Group:  System/GUI/Other
 URL:https://github.com/Cloudef/bemenu
 Source0:https://github.com/Cloudef/bemenu/archive/%{version}.tar.gz
-# https://github.com/Cloudef/bemenu/pull/77
-Patch0: bemenu-0.3.0-curses.patch
-# https://github.com/Cloudef/bemenu/issues/26
-Patch1: bemenu-0.3.0-boo1165235-ncurses.patch
-Patch2: bemenu-0.3.0-wayland.patch
 BuildRequires:  Mesa-devel
-BuildRequires:  cmake
 BuildRequires:  gcc-c++
+BuildRequires:  make
 BuildRequires:  pango-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(ncurses)
 BuildRequires:  pkgconfig(wayland-client)
+BuildRequires:  pkgconfig(wayland-protocols)
 BuildRequires:  pkgconfig(wayland-server)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xinerama)
@@ -72,9 +68,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %if %{with curses}
 # fix colliding name with our ncurses library specifics
@@ -82,12 +75,11 @@
 %endif
 
 %build
-%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now"
-
-make %{?_smp_mflags} VERBOSE=1
+pkg-config --cflags wayland-client
+%make_build PREFIX=%{_prefix} libdir=/lib64 clients x11 wayland curses
 
 %install
-%cmake_install
+%make_install PREFIX=%{_prefix} libdir=/lib64
 
 %post -n libbemenu0 -p /sbin/ldconfig
 %postun -n libbemenu0 -p /sbin/ldconfig
@@ -97,11 +89,13 @@
 
 %files devel
 %{_libdir}/libbemenu.so
+%{_libdir}/pkgconfig/bemenu.pc
 %{_includedir}/bemenu.h
 
 %files
 %{_bindir}/%{name}*
-%{_libdir}/%{name}
+%dir %{_libdir}/bemenu/
+%{_libdir}/bemenu/bemenu-renderer-*.so
 %{_mandir}/man1/bemenu-run.1%{?ext_man}
 %{_mandir}/man1/bemenu.1%{?ext_man}
 

++ 0.3.0.tar.gz -> 0.4.1.tar.gz ++
 9161 lines of diff (skipped)




commit bemenu for openSUSE:Leap:15.2

2020-03-02 Thread root
Hello community,

here is the log from the commit of package bemenu for openSUSE:Leap:15.2 
checked in at 2020-03-02 13:26:02

Comparing /work/SRC/openSUSE:Leap:15.2/bemenu (Old)
 and  /work/SRC/openSUSE:Leap:15.2/.bemenu.new.26092 (New)


Package is "bemenu"

Mon Mar  2 13:26:02 2020 rev:2 rq:780780 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Leap:15.2/bemenu/bemenu.changes  2020-02-09 
15:02:29.226745244 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.bemenu.new.26092/bemenu.changes   
2020-03-02 13:26:08.170729866 +0100
@@ -1,0 +2,12 @@
+Fri Feb 28 12:44:45 UTC 2020 - Michael Vetter 
+
+- Add bemenu-0.3.0-wayland.patch: enable wayland renderer
+
+---
+Fri Feb 28 11:05:35 UTC 2020 - Michael Vetter 
+
+- boo#1165235: Undefined symbol get_wch
+  * Add bemenu-0.3.0-boo1165235-ncurses.patch:
+Search for ncursesw instead of ncurses
+
+---

New:

  bemenu-0.3.0-boo1165235-ncurses.patch
  bemenu-0.3.0-wayland.patch



Other differences:
--
++ bemenu.spec ++
--- /var/tmp/diff_new_pack.jwRP7p/_old  2020-03-02 13:26:09.478732466 +0100
+++ /var/tmp/diff_new_pack.jwRP7p/_new  2020-03-02 13:26:09.502732514 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package bemenu
 #
-# Copyright (c) 2019 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
@@ -27,6 +27,9 @@
 Source0:https://github.com/Cloudef/bemenu/archive/%{version}.tar.gz
 # https://github.com/Cloudef/bemenu/pull/77
 Patch0: bemenu-0.3.0-curses.patch
+# https://github.com/Cloudef/bemenu/issues/26
+Patch1: bemenu-0.3.0-boo1165235-ncurses.patch
+Patch2: bemenu-0.3.0-wayland.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
@@ -70,6 +73,8 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %if %{with curses}
 # fix colliding name with our ncurses library specifics

++ bemenu-0.3.0-boo1165235-ncurses.patch ++
diff -urEbw bemenu-0.3.0/lib/CMakeLists.txt bemenu-0.3.0.new/lib/CMakeLists.txt
--- bemenu-0.3.0/lib/CMakeLists.txt 2019-12-20 13:26:04.0 +0100
+++ bemenu-0.3.0.new/lib/CMakeLists.txt 2020-02-28 12:21:34.761885163 +0100
@@ -34,6 +34,14 @@
 # Add include directories
 INCLUDE_DIRECTORIES(${BEMENU_INCLUDE} ${CMAKE_CURRENT_BINARY_DIR})
 
+# curses
+set(CURSES_NEED_NCURSES TRUE)
+set(CURSES_NEED_WIDE TRUE)
+
+include(FindCurses)
+find_package(Curses REQUIRED)
+include_directories(${CURSES_INCLUDE_DIRS})
+
 # Compile renderer plugins
 ADD_SUBDIRECTORY(renderers)
 
@@ -42,7 +50,7 @@
 SET_TARGET_PROPERTIES(bemenu PROPERTIES
 VERSION ${BEMENU_VERSION}
 SOVERSION ${SOVERSION})
-TARGET_LINK_LIBRARIES(bemenu dl)
+TARGET_LINK_LIBRARIES(bemenu dl ${CURSES_LIBRARIES})
 
 # Install
 INSTALL(TARGETS bemenu DESTINATION "${CMAKE_INSTALL_LIBDIR}")
++ bemenu-0.3.0-wayland.patch ++
diff -urEbw bemenu-0.3.0/CMakeLists.txt bemenu-0.3.0.new/CMakeLists.txt
--- bemenu-0.3.0/CMakeLists.txt 2019-12-20 13:26:04.0 +0100
+++ bemenu-0.3.0.new/CMakeLists.txt 2020-02-28 13:42:22.740866682 +0100
@@ -7,7 +7,7 @@
 
 OPTION(BEMENU_CURSES_RENDERER "Build curses backend" ON)
 OPTION(BEMENU_X11_RENDERER "Build X11 backend" ON)
-OPTION(BEMENU_WAYLAND_RENDERER "Build wayland renderer" OFF)
+OPTION(BEMENU_WAYLAND_RENDERER "Build wayland renderer" ON)
 
 INCLUDE(CTest)
 INCLUDE(GetGitRevisionDescription)