Skip to content
Snippets Groups Projects
Commit 7b6c91fb authored by achill (fossdd)'s avatar achill (fossdd) :gay_pride_flag: Committed by Celeste
Browse files
parent ea09b23f
No related branches found
No related tags found
2 merge requests!79570community/firefox-esr: upgrade to 128.7.0,!76248community/dunst: upgrade to 1.12.0
Pipeline #285646 canceled
Pipeline: aports

#285647

    ......@@ -3,7 +3,7 @@
    # Contributor: Stefan Wagner <stw@bit-strickerei.de>
    # Maintainer: Stefan Wagner <stw@bit-strickerei.de>
    pkgname=dunst
    pkgver=1.11.0
    pkgver=1.12.1
    pkgrel=0
    pkgdesc="Customizable and lightweight notification-daemon"
    url="https://dunst-project.org/"
    ......@@ -12,7 +12,7 @@ arch="all"
    depends="dunstify"
    makedepends="libxscrnsaver-dev libxinerama-dev libxrandr-dev
    libnotify-dev dbus-dev wayland-dev perl pango-dev wayland-protocols"
    checkdepends="dbus librsvg bash"
    checkdepends="dbus librsvg bash ttf-dejavu"
    subpackages="
    $pkgname-doc
    $pkgname-bash-completion
    ......@@ -20,7 +20,9 @@ subpackages="
    $pkgname-zsh-completion
    dunstify
    "
    source="$pkgname-$pkgver.tar.gz::https://github.com/dunst-project/dunst/archive/v$pkgver.tar.gz"
    source="$pkgname-$pkgver.tar.gz::https://github.com/dunst-project/dunst/archive/v$pkgver.tar.gz
    fix-s390x-tests.patch
    "
    build() {
    make all dunstify
    ......@@ -32,7 +34,6 @@ check() {
    package() {
    make DESTDIR="$pkgdir" SYSCONFDIR=/etc PREFIX=/usr install
    install -Dm755 dunstify "$pkgdir"/usr/bin/dunstify
    }
    dunstify() {
    ......@@ -41,5 +42,6 @@ dunstify() {
    }
    sha512sums="
    84c9edccddd183fb867233cb5377115d96735f4c1be84007194ac39dd48d913e5bb021d2952057aecdb978564c2471a8974c4ee4eeccfb188e5345527007a5c4 dunst-1.11.0.tar.gz
    0b4ef72bde6bd4b535f11b58d8bf463df3b9b06d5e2ff40e327eb25f13771eb52c7f7aa91590c6d1228ecb3bc2105510409b6984dd45b5e747c1141f3b79b46c dunst-1.12.1.tar.gz
    1576b7d1a24ea4045685f1d88fc344ca8a306e8bdb2e30c342d196ca501c7e5f01430376d3bb188549153eb82ceed7821131764aa8cc991cbaa981e8756e71eb fix-s390x-tests.patch
    "
    Patch-Source: https://github.com/dunst-project/dunst/commit/62be5b46c5ee69ce675e12a86d73c81d324a13b1
    ---
    From 62be5b46c5ee69ce675e12a86d73c81d324a13b1 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
    Date: Fri, 20 Dec 2024 10:43:01 +0100
    Subject: [PATCH] Change type of bool to gboolean
    `bool` and `gboolean` are not exactly the same type, they only evaluate to the
    same value in C on little endian architectures but evaluate differently on big
    endian. This causes issues on e.g. s390x as described in #1421
    This fixes https://github.com/dunst-project/dunst/issues/1421
    Co-authored-by: Josef Reidinger <jreidinger@suse.com>
    Co-authored-by: Aleksei Bavshin <alebastr@fedoraproject.org>
    ---
    src/rules.h | 2 +-
    test/dbus.c | 2 +-
    2 files changed, 2 insertions(+), 2 deletions(-)
    diff --git a/src/rules.h b/src/rules.h
    index bdeb17004..9f99c01de 100644
    --- a/src/rules.h
    +++ b/src/rules.h
    @@ -56,7 +56,7 @@ struct rule {
    char *format;
    char *script;
    enum behavior_fullscreen fullscreen;
    - bool enabled;
    + gboolean enabled;
    int progress_bar_alignment;
    char *set_stack_tag; // this has to be the last modifying rule
    };
    diff --git a/test/dbus.c b/test/dbus.c
    index 77d7d42bb..66e9e9fdc 100644
    --- a/test/dbus.c
    +++ b/test/dbus.c
    @@ -639,7 +639,7 @@ TEST test_dbus_cb_dunst_RuleList(void)
    g_variant_dict_init(&d, dict);
    char *str;
    - bool boolean;
    + gboolean boolean;
    ASSERT(g_variant_dict_lookup(&d, "name", "s", &str));
    ASSERT_STR_EQ("testing RuleList", str);
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment