commit mako for openSUSE:Factory
Hello community, here is the log from the commit of package mako for openSUSE:Factory checked in at 2020-01-13 22:22:09 Comparing /work/SRC/openSUSE:Factory/mako (Old) and /work/SRC/openSUSE:Factory/.mako.new.6675 (New) Package is "mako" Mon Jan 13 22:22:09 2020 rev:4 rq:763930 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/mako/mako.changes2019-07-22 12:21:39.639644369 +0200 +++ /work/SRC/openSUSE:Factory/.mako.new.6675/mako.changes 2020-01-13 22:22:13.354537660 +0100 @@ -1,0 +2,9 @@ +Mon Jan 13 12:10:22 UTC 2020 - Michael Vetter + +- Update to 1.4.1: + * `makoctl menu` to choose a notification action + * A CLI flag to use a custom config file path + * Improved touch support (multiple touches) + * Bug fixes + +--- Old: v1.4.tar.gz New: v1.4.1.tar.gz Other differences: -- ++ mako.spec ++ --- /var/tmp/diff_new_pack.V7uhMm/_old 2020-01-13 22:22:14.442538165 +0100 +++ /var/tmp/diff_new_pack.V7uhMm/_new 2020-01-13 22:22:14.446538167 +0100 @@ -1,7 +1,7 @@ # # spec file for package mako # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: mako -Version:1.4 +Version:1.4.1 Release:0 Summary:A Wayland notification daemon License:MIT ++ v1.4.tar.gz -> v1.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mako-1.4/README.md new/mako-1.4.1/README.md --- old/mako-1.4/README.md 2019-07-19 12:57:01.0 +0200 +++ new/mako-1.4.1/README.md2020-01-12 03:44:08.0 +0100 @@ -6,6 +6,8 @@ https://sr.ht/meoc.png; alt="mako screenshot"> +mako implements the [GNOME Desktop Notifications Specification][gnome-draft]. + Feel free to join the IRC channel: ##emersion on irc.freenode.net. ## Running @@ -27,6 +29,8 @@ * systemd or elogind (for the sd-bus library) * gdk-pixbuf (optional, for icons support) * dbus (runtime dependency, user-session support is required) +* scdoc (optional, for man pages) +* jq (optional, runtime dependency) Then run: @@ -43,3 +47,5 @@ ## License MIT + +[gnome-draft]: https://developer.gnome.org/notification-spec/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mako-1.4/config.c new/mako-1.4.1/config.c --- old/mako-1.4/config.c 2019-07-19 12:57:01.0 +0200 +++ new/mako-1.4.1/config.c 2020-01-12 03:44:08.0 +0100 @@ -544,10 +544,15 @@ return NULL; } -int load_config_file(struct mako_config *config) { - char *path = get_config_path(); - if (!path) { - return 0; +int load_config_file(struct mako_config *config, char *config_arg) { + char *path = NULL; + if (config_arg == NULL) { + path = get_config_path(); + if (!path) { + return 0; + } + } else { + path = config_arg; } FILE *f = fopen(path, "r"); @@ -642,6 +647,7 @@ int parse_config_arguments(struct mako_config *config, int argc, char **argv) { static const struct option long_options[] = { {"help", no_argument, 0, 'h'}, + {"config", required_argument, 0, 'c'}, {"font", required_argument, 0, 0}, {"background-color", required_argument, 0, 0}, {"text-color", required_argument, 0, 0}, @@ -674,13 +680,34 @@ wl_container_of(config->criteria.next, root_criteria, link); optind = 1; + char *config_arg = NULL; while (1) { int option_index = -1; - int c = getopt_long(argc, argv, "h", long_options, _index); + int c = getopt_long(argc, argv, "hc:", long_options, _index); if (c < 0) { break; } else if (c == 'h') { return 1; + } else if (c == 'c') { + config_arg = strdup(optarg); + } else if (c != 0) { + return -1; + } + } + + int config_status = load_config_file(config, config_arg); + if (config_status < 0) { + return -1; + } + + optind = 1; + while (1) { + int option_index = -1; + int c = getopt_long(argc, argv, "hc:", long_options, _index); + if (c < 0) { +
commit mako for openSUSE:Factory
Hello community, here is the log from the commit of package mako for openSUSE:Factory checked in at 2019-07-22 12:21:37 Comparing /work/SRC/openSUSE:Factory/mako (Old) and /work/SRC/openSUSE:Factory/.mako.new.4126 (New) Package is "mako" Mon Jul 22 12:21:37 2019 rev:3 rq:717447 version:1.4 Changes: --- /work/SRC/openSUSE:Factory/mako/mako.changes2019-04-23 14:37:14.301519484 +0200 +++ /work/SRC/openSUSE:Factory/.mako.new.4126/mako.changes 2019-07-22 12:21:39.639644369 +0200 @@ -1,0 +2,11 @@ +Sat Jul 20 17:41:42 UTC 2019 - Michael Aquilina + +- Update to 1.4 + * Icon support is now complete + * Touchscreens are now supported + * makoctl can now list current notifications + * makoctl can now list and invoke notification actions + * A D-Bus service file has been added + * Various bug fixes + +--- Old: v1.3.tar.gz New: v1.4.tar.gz Other differences: -- ++ mako.spec ++ --- /var/tmp/diff_new_pack.Oen5Wd/_old 2019-07-22 12:21:40.211644220 +0200 +++ /var/tmp/diff_new_pack.Oen5Wd/_new 2019-07-22 12:21:40.215644218 +0200 @@ -12,12 +12,12 @@ # 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/ # Name: mako -Version:1.3 +Version:1.4 Release:0 Summary:A Wayland notification daemon License:MIT @@ -50,6 +50,9 @@ %files %license LICENSE %doc README.md +%dir %{_datadir}/dbus-1/ +%dir %{_datadir}/dbus-1/services/ +%{_datadir}/dbus-1/services/fr.emersion.mako.service %{_bindir}/%{name}* %{_mandir}/man?/%{name}* ++ v1.3.tar.gz -> v1.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mako-1.3/README.md new/mako-1.4/README.md --- old/mako-1.3/README.md 2019-04-19 04:32:04.0 +0200 +++ new/mako-1.4/README.md 2019-07-19 12:57:01.0 +0200 @@ -6,6 +6,8 @@ https://sr.ht/meoc.png; alt="mako screenshot"> +Feel free to join the IRC channel: ##emersion on irc.freenode.net. + ## Running If you're using Sway you can start mako on launch by putting `exec mako` in @@ -23,7 +25,8 @@ * pango * cairo * systemd or elogind (for the sd-bus library) -* dbus (with user-session support) +* gdk-pixbuf (optional, for icons support) +* dbus (runtime dependency, user-session support is required) Then run: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mako-1.3/config.c new/mako-1.4/config.c --- old/mako-1.3/config.c 2019-04-19 04:32:04.0 +0200 +++ new/mako-1.4/config.c 2019-07-19 12:57:01.0 +0200 @@ -58,9 +58,10 @@ config->sort_criteria = MAKO_SORT_CRITERIA_TIME; config->sort_asc = 0; - config->button_bindings.left = MAKO_BUTTON_BINDING_INVOKE_DEFAULT_ACTION; - config->button_bindings.right = MAKO_BUTTON_BINDING_DISMISS; - config->button_bindings.middle = MAKO_BUTTON_BINDING_NONE; + config->button_bindings.left = MAKO_BINDING_INVOKE_DEFAULT_ACTION; + config->button_bindings.right = MAKO_BINDING_DISMISS; + config->button_bindings.middle = MAKO_BINDING_NONE; + config->touch = MAKO_BINDING_DISMISS; config->anchor = ZWLR_LAYER_SURFACE_V1_ANCHOR_TOP | ZWLR_LAYER_SURFACE_V1_ANCHOR_RIGHT; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mako-1.3/criteria.c new/mako-1.4/criteria.c --- old/mako-1.3/criteria.c 2019-04-19 04:32:04.0 +0200 +++ new/mako-1.4/criteria.c 2019-07-19 12:57:01.0 +0200 @@ -262,8 +262,13 @@ } criteria->spec.group_index = true; return true; + } else if (strcmp(key, "summary") == 0) { + // TODO: convert to regex, currently only exact matching + criteria->summary = strdup(value); + criteria->spec.summary = true; + return true; } else { - // TODO: summary + body, once we support regex and they're useful. + // TODO: body, once we support regex and they're useful. // Anything left must be one of the boolean fields, defined using // standard syntax. Continue on. } @@ -305,7 +310,7 @@ assert(false && "Criteria parser fell through"); } -// Retreive the global critiera from a given
commit mako for openSUSE:Factory
Hello community, here is the log from the commit of package mako for openSUSE:Factory checked in at 2019-04-23 14:37:07 Comparing /work/SRC/openSUSE:Factory/mako (Old) and /work/SRC/openSUSE:Factory/.mako.new.5536 (New) Package is "mako" Tue Apr 23 14:37:07 2019 rev:2 rq:696965 version:1.3 Changes: --- /work/SRC/openSUSE:Factory/mako/mako.changes2019-02-11 21:23:07.631153393 +0100 +++ /work/SRC/openSUSE:Factory/.mako.new.5536/mako.changes 2019-04-23 14:37:14.301519484 +0200 @@ -1,0 +2,10 @@ +Tue Apr 23 05:57:53 UTC 2019 - mvet...@suse.com + +- Update to 1.3: + * Grouping (#98 and #111) + * Icons (#115 and #128) + * Progress bar indicator (#109) + * Rounded corners (#134) + * For details see https://github.com/emersion/mako/releases/tag/v1.3 + +--- Old: v1.2.tar.gz New: v1.3.tar.gz Other differences: -- ++ mako.spec ++ --- /var/tmp/diff_new_pack.A6F5B5/_old 2019-04-23 14:37:15.025519897 +0200 +++ /var/tmp/diff_new_pack.A6F5B5/_new 2019-04-23 14:37:15.029519900 +0200 @@ -12,12 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mako -Version:1.2 +Version:1.3 Release:0 Summary:A Wayland notification daemon License:MIT @@ -28,6 +28,7 @@ BuildRequires: pkgconfig BuildRequires: scdoc BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(wayland-client) ++ v1.2.tar.gz -> v1.3.tar.gz ++ 2663 lines of diff (skipped)