Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bemenu for openSUSE:Factory checked in at 2022-07-06 15:42:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bemenu (Old) and /work/SRC/openSUSE:Factory/.bemenu.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bemenu" Wed Jul 6 15:42:20 2022 rev:15 rq:987131 version:0.6.10 Changes: -------- --- /work/SRC/openSUSE:Factory/bemenu/bemenu.changes 2022-07-05 12:10:29.296643604 +0200 +++ /work/SRC/openSUSE:Factory/.bemenu.new.1548/bemenu.changes 2022-07-06 15:42:36.218570472 +0200 @@ -1,0 +2,8 @@ +Wed Jul 6 10:21:25 UTC 2022 - Michael Vetter <mvet...@suse.com> + +- Update to 0.6.10: + * Add options to set cursor bg/fg color #278 + * Don't alternate colors by default (let ALTERNATE color be + same as ITEM) #280 + +------------------------------------------------------------------- Old: ---- bemenu-0.6.9.tar.gz New: ---- bemenu-0.6.10.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bemenu.spec ++++++ --- /var/tmp/diff_new_pack.WfLifZ/_old 2022-07-06 15:42:36.582570994 +0200 +++ /var/tmp/diff_new_pack.WfLifZ/_new 2022-07-06 15:42:36.586571000 +0200 @@ -18,7 +18,7 @@ %define bcond_with curses Name: bemenu -Version: 0.6.9 +Version: 0.6.10 Release: 0 Summary: Dynamic menu library and client program inspired by dmenu License: MIT ++++++ bemenu-0.6.9.tar.gz -> bemenu-0.6.10.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.9/VERSION new/bemenu-0.6.10/VERSION --- old/bemenu-0.6.9/VERSION 2022-07-05 03:07:58.000000000 +0200 +++ new/bemenu-0.6.10/VERSION 2022-07-06 10:11:27.000000000 +0200 @@ -1 +1 @@ -0.6.9 +0.6.10 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.9/client/common/common.c new/bemenu-0.6.10/client/common/common.c --- old/bemenu-0.6.9/client/common/common.c 2022-07-05 03:07:58.000000000 +0200 +++ new/bemenu-0.6.10/client/common/common.c 2022-07-06 10:11:27.000000000 +0200 @@ -285,6 +285,8 @@ { "tf", required_argument, 0, 0x103 }, { "fb", required_argument, 0, 0x104 }, { "ff", required_argument, 0, 0x105 }, + { "cb", required_argument, 0, 0x126 }, + { "cf", required_argument, 0, 0x127 }, { "nb", required_argument, 0, 0x106 }, { "nf", required_argument, 0, 0x107 }, { "hb", required_argument, 0, 0x108 }, @@ -416,6 +418,12 @@ case 0x105: client->colors[BM_COLOR_FILTER_FG] = optarg; break; + case 0x126: + client->colors[BM_COLOR_CURSOR_BG] = optarg; + break; + case 0x127: + client->colors[BM_COLOR_CURSOR_FG] = optarg; + break; case 0x106: client->colors[BM_COLOR_ITEM_BG] = optarg; break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.9/lib/bemenu.h new/bemenu-0.6.10/lib/bemenu.h --- old/bemenu-0.6.9/lib/bemenu.h 2022-07-05 03:07:58.000000000 +0200 +++ new/bemenu-0.6.10/lib/bemenu.h 2022-07-06 10:11:27.000000000 +0200 @@ -335,6 +335,8 @@ BM_COLOR_TITLE_FG, BM_COLOR_FILTER_BG, BM_COLOR_FILTER_FG, + BM_COLOR_CURSOR_BG, + BM_COLOR_CURSOR_FG, BM_COLOR_ITEM_BG, BM_COLOR_ITEM_FG, BM_COLOR_HIGHLIGHTED_BG, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.9/lib/menu.c new/bemenu-0.6.10/lib/menu.c --- old/bemenu-0.6.9/lib/menu.c 2022-07-05 03:07:58.000000000 +0200 +++ new/bemenu-0.6.10/lib/menu.c 2022-07-06 10:11:27.000000000 +0200 @@ -19,6 +19,8 @@ "#D81860FF", // BM_COLOR_TITLE_FG "#121212FF", // BM_COLOR_FILTER_BG "#CACACAFF", // BM_COLOR_FILTER_FG + "#121212FF", // BM_COLOR_CURSOR_BG + "#CACACAFF", // BM_COLOR_CURSOR_FG "#121212FF", // BM_COLOR_ITEM_BG "#CACACAFF", // BM_COLOR_ITEM_FG "#121212FF", // BM_COLOR_HIGHLIGHTED_BG @@ -27,8 +29,8 @@ "#121212FF", // BM_COLOR_FEEDBACK_FG "#121212FF", // BM_COLOR_SELECTED_BG "#D81860FF", // BM_COLOR_SELECTED_FG - "#D81860FF", // BM_COLOR_ALTERNATE_BG - "#121212FF", // BM_COLOR_ALTERNATE_FG + "#121212FF", // BM_COLOR_ALTERNATE_BG + "#CACACAFF", // BM_COLOR_ALTERNATE_FG "#121212FF", // BM_COLOR_SCROLLBAR_BG "#D81860FF", // BM_COLOR_SCROLLBAR_FG "#D81860FF", // BM_COLOR_BORDER diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.9/lib/renderers/cairo_renderer.h new/bemenu-0.6.10/lib/renderers/cairo_renderer.h --- old/bemenu-0.6.9/lib/renderers/cairo_renderer.h 2022-07-05 03:07:58.000000000 +0200 +++ new/bemenu-0.6.10/lib/renderers/cairo_renderer.h 2022-07-06 10:11:27.000000000 +0200 @@ -27,6 +27,8 @@ uint32_t cursor; uint32_t cursor_height; uint32_t cursor_width; + struct cairo_color cursor_fg; + struct cairo_color cursor_bg; uint32_t hpadding; bool draw_cursor; @@ -161,7 +163,7 @@ cursor_width = paint->cursor_width; } uint32_t cursor_height = fmin(paint->cursor_height == 0 ? line_height : paint->cursor_height, line_height); - cairo_set_source_rgba(cairo->cr, paint->fg.r, paint->fg.b, paint->fg.g, paint->fg.a); + cairo_set_source_rgba(cairo->cr, paint->cursor_fg.r, paint->cursor_fg.b, paint->cursor_fg.g, paint->cursor_fg.a); cairo_rectangle(cairo->cr, paint->pos.x + paint->box.lx + rect.x / PANGO_SCALE, paint->pos.y - paint->box.ty + ((line_height - cursor_height) / 2), cursor_width, cursor_height); @@ -172,7 +174,7 @@ cursor_width, line_height); cairo_clip(cairo->cr); - cairo_set_source_rgba(cairo->cr, paint->bg.r, paint->bg.b, paint->bg.g, paint->bg.a); + cairo_set_source_rgba(cairo->cr, paint->cursor_bg.r, paint->cursor_bg.b, paint->cursor_bg.g, paint->cursor_bg.a); cairo_move_to(cairo->cr, paint->box.lx + paint->pos.x, paint->pos.y - base + paint->baseline); pango_cairo_show_layout(cairo->cr, layout); cairo_reset_clip(cairo->cr); @@ -301,6 +303,8 @@ bm_cairo_color_from_menu_color(menu, BM_COLOR_FILTER_FG, &paint.fg); bm_cairo_color_from_menu_color(menu, BM_COLOR_FILTER_BG, &paint.bg); + bm_cairo_color_from_menu_color(menu, BM_COLOR_CURSOR_FG, &paint.cursor_fg); + bm_cairo_color_from_menu_color(menu, BM_COLOR_CURSOR_BG, &paint.cursor_bg); paint.draw_cursor = true; paint.cursor = menu->cursor; paint.cursor_height = menu->cursor_height; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bemenu-0.6.9/man/bemenu.1.scd.in new/bemenu-0.6.10/man/bemenu.1.scd.in --- old/bemenu-0.6.9/man/bemenu.1.scd.in 2022-07-05 03:07:58.000000000 +0200 +++ new/bemenu-0.6.10/man/bemenu.1.scd.in 2022-07-06 10:11:27.000000000 +0200 @@ -136,6 +136,10 @@ *--ff* <_color_> Filter foreground +*--cb* <_color_> Cursor background. + +*--cf* <_color_> Cursor foreground + *--nb* <_color_> Normal background. *--nf* <_color_> Normal foreground.