Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dunst for openSUSE:Factory checked 
in at 2021-09-03 21:26:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dunst (Old)
 and      /work/SRC/openSUSE:Factory/.dunst.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dunst"

Fri Sep  3 21:26:15 2021 rev:10 rq:916567 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dunst/dunst.changes      2021-05-03 
22:08:19.996449366 +0200
+++ /work/SRC/openSUSE:Factory/.dunst.new.1899/dunst.changes    2021-09-03 
21:27:05.566249540 +0200
@@ -1,0 +2,6 @@
+Fri Jul  2 16:50:21 UTC 2021 - Michal Suchanek <[email protected]>
+
+- Do not hardcode web browser
+  + dunst-xdg-open-can-open-URLs-don-t-rely-on-specific-hardco.patch
+
+-------------------------------------------------------------------

New:
----
  dunst-xdg-open-can-open-URLs-don-t-rely-on-specific-hardco.patch

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

Other differences:
------------------
++++++ dunst.spec ++++++
--- /var/tmp/diff_new_pack.p5YAZZ/_old  2021-09-03 21:27:05.910250221 +0200
+++ /var/tmp/diff_new_pack.p5YAZZ/_new  2021-09-03 21:27:05.914250228 +0200
@@ -26,8 +26,10 @@
 URL:            https://dunst-project.org
 Source:         
https://github.com/dunst-project/dunst/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         makefile.patch
+Patch2:         
dunst-xdg-open-can-open-URLs-don-t-rely-on-specific-hardco.patch
 BuildRequires:  pkgconfig
 BuildRequires:  systemd-rpm-macros
+BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
 BuildRequires:  pkgconfig(gio-2.0)
@@ -47,7 +49,7 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%autopatch -p1
 
 %build
 CFLAGS="%{optflags}" make %{?_smp_mflags} all dunstify

++++++ dunst-xdg-open-can-open-URLs-don-t-rely-on-specific-hardco.patch ++++++
>From 0a20e8325ae33bae09f8684834adfa8b0265faa2 Mon Sep 17 00:00:00 2001
From: Michal Suchanek <[email protected]>
Date: Fri, 2 Jul 2021 18:31:46 +0200
Subject: [PATCH] xdg-open can open URLs, don't rely on specific hardcoded
 browser.

Upstream: https://github.com/dunst-project/dunst/pull/889

---
 config.h         | 2 +-
 docs/dunst.5.pod | 2 +-
 dunstrc          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h
index fe59af1..f21504a 100644
--- a/config.h
+++ b/config.h
@@ -72,7 +72,7 @@ struct settings defaults = {
 /* path to dmenu */
 .dmenu = "/usr/bin/dmenu",
 
-.browser = "/usr/bin/firefox",
+.browser = "/usr/bin/xdg-open",
 
 .min_icon_size = 0,
 .max_icon_size = 0,
diff --git a/docs/dunst.5.pod b/docs/dunst.5.pod
index bf4d59e..aafa8b7 100644
--- a/docs/dunst.5.pod
+++ b/docs/dunst.5.pod
@@ -458,7 +458,7 @@ HISTORY.
 The command that will be run when opening the context menu. Should be either
 a dmenu command or a dmenu-compatible menu.
 
-=item B<browser> (default: "/usr/bin/firefox")
+=item B<browser> (default: "/usr/bin/xdg-open")
 
 The command that will be run when opening a URL. The URL to be opened will be
 appended to the end of the value of this setting.
diff --git a/dunstrc b/dunstrc
index 0c3009c..7f4aa36 100644
--- a/dunstrc
+++ b/dunstrc
@@ -212,7 +212,7 @@
     dmenu = /usr/bin/dmenu -p dunst:
 
     # Browser for opening urls in context menu.
-    browser = /usr/bin/firefox -new-tab
+    browser = /usr/bin/xdg-open
 
     # Always run rule-defined scripts, even if the notification is suppressed
     always_run_script = true
-- 
2.31.1

Reply via email to