public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/atril] epel8: update to 1.26.4 (#2260373, #2487669)
@ 2026-06-11 19:46 Robert Scheck
0 siblings, 0 replies; 2+ messages in thread
From: Robert Scheck @ 2026-06-11 19:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/atril
Branch : epel8
Commit : ccc8376054a2b40fb7c3eec235336d32b40b3c52
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2026-06-11T21:45:53+02:00
Stats : +234/-9 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/atril/c/ccc8376054a2b40fb7c3eec235336d32b40b3c52?branch=epel8
Log:
update to 1.26.4 (#2260373, #2487669)
---
diff --git a/.gitignore b/.gitignore
index 70e7872..b02a182 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,4 @@
/atril-1.26.0.tar.xz
/atril-1.26.1.tar.xz
/atril-1.26.2.tar.xz
+/atril-1.26.4.tar.xz
diff --git a/atril.spec b/atril.spec
index e1d0905..f46b1cc 100644
--- a/atril.spec
+++ b/atril.spec
@@ -13,7 +13,7 @@
%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
Name: atril
-Version: %{branch}.2
+Version: %{branch}.4
%if 0%{?rel_build}
Release: 1%{?dist}
%else
@@ -25,7 +25,7 @@ URL: http://mate-desktop.org
# for downloading the tarball use 'spectool -g -R caja.spec'
# Source for release-builds.
-%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
+%{?rel_build:Source0: https://github.com/mate-desktop/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz}
# Source for snapshot-builds.
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
@@ -204,6 +204,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/atril.desktop
%changelog
+* Thu Jun 11 2026 Robert Scheck <robert@fedoraproject.org> - 1.26.4-1
+- update to 1.26.4 (#2260373, #2487669)
+
* Wed Jan 24 2024 Wolfgang Ulbrich <fedora@raveit.de> - 1.26.2-1
- update to 1.26.2
diff --git a/sources b/sources
index 2557d40..9e3cf26 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (atril-1.26.2.tar.xz) = d0b3fe14443907e43a58083282d555b74189d63d94e9ec0c2053976ad529d236738c3af4a668e813307d1ba44551b0a8ad1bc78cd8f53ab61cb811eca136eec9
+SHA512 (atril-1.26.4.tar.xz) = 7fb2dfbf2e18f4b02c123862d9c2be184ae104c6eefe8bc6c43279b8ec22fed1fcdfc1fde776eee986111f8d6a885844b1ed0d56ff2ab5b4eaeea5d17ba8357b
diff --git a/atril.spec b/atril.spec
index 526a09f..f46b1cc 100644
--- a/atril.spec
+++ b/atril.spec
@@ -29,6 +29,14 @@ URL: http://mate-desktop.org
# Source for snapshot-builds.
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
+# from master branch
+# https://github.com/mate-desktop/atril/commit/e25ac2b
+Patch1: atril_0001-Remove-warnings-about-redefining-gettext-support-mac.patch
+# https://github.com/mate-desktop/atril/commit/b7fd397
+Patch2: atril_0002-Use-GLib-s-new-g_clear_signal_handler-function-to-si.patch
+# https://github.com/mate-desktop/atril/commit/05dc26a
+Patch3: atril_0003-Fix-the-type-for-the-signal-identifier-which-is-gulo.patch
+
BuildRequires: cairo-gobject-devel
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@@ -50,7 +58,8 @@ BuildRequires: libgxps-devel
# for the caja properties page
BuildRequires: caja-devel
# for the dvi back-end
-BuildRequires: texlive-lib-devel
+# syntex is broken in rhel8
+# BuildRequires: texlive-lib-devel
# for the djvu back-end
BuildRequires: djvulibre-devel
# for epub back-end
@@ -132,7 +141,7 @@ NOCONFIGURE=1 ./autogen.sh
--enable-pixbuf \
--enable-xps \
--enable-epub \
- --enable-synctex
+ --disable-synctex
# remove unused-direct-shlib-dependency
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
@@ -204,10 +213,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/atril.desktop
* Fri Apr 28 2023 Wolfgang Ulbrich <fedora@raveit.de> - 1.26.1-1
- update to 1.26.1 release
-* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.26.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Aug 06 2021 Wolfgang Ulbrich <fedora@raveit.de> - 1.26.0-1
+* Sun Jul 03 2022 Wolfgang Ulbrich <fedora@raveit.de> - 1.26.0-1
+- initial build for epel8
+- disable synctex support
- update to 1.26.0 release
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.24.1-2
diff --git a/atril_0001-Remove-warnings-about-redefining-gettext-support-mac.patch b/atril_0001-Remove-warnings-about-redefining-gettext-support-mac.patch
new file mode 100644
index 0000000..2028aed
--- /dev/null
+++ b/atril_0001-Remove-warnings-about-redefining-gettext-support-mac.patch
@@ -0,0 +1,43 @@
+From e25ac2b7fe574063881d12beadc7fc6b52ad0779 Mon Sep 17 00:00:00 2001
+From: rbuj <robert.buj@gmail.com>
+Date: Tue, 26 Oct 2021 21:35:44 +0200
+Subject: [PATCH 1/4] Remove warnings about redefining gettext support macros
+
+---
+ backend/epub/epub-document.c | 4 ++--
+ libdocument/ev-document.h | 3 ---
+ 2 files changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/backend/epub/epub-document.c b/backend/epub/epub-document.c
+index 979b50a0..c22d3e47 100644
+--- a/backend/epub/epub-document.c
++++ b/backend/epub/epub-document.c
+@@ -31,9 +31,9 @@
+ #include <libxml/parser.h>
+ #include <libxml/xmlmemory.h>
+ #include <libxml/HTMLparser.h>
+-#include <config.h>
+
+-#include <glib/gi18n.h>
++#include <config.h>
++#include <glib/gi18n-lib.h>
+ #include <glib/gstdio.h>
+
+ #include <gtk/gtk.h>
+diff --git a/libdocument/ev-document.h b/libdocument/ev-document.h
+index 67f53abb..744d0f95 100644
+--- a/libdocument/ev-document.h
++++ b/libdocument/ev-document.h
+@@ -27,9 +27,6 @@
+ #ifndef EV_DOCUMENT_H
+ #define EV_DOCUMENT_H
+
+-#include <config.h>
+-#include <glib/gi18n-lib.h>
+-
+ #include <glib-object.h>
+ #include <glib.h>
+ #include <gmodule.h>
+--
+2.31.1
+
diff --git a/atril_0002-Use-GLib-s-new-g_clear_signal_handler-function-to-si.patch b/atril_0002-Use-GLib-s-new-g_clear_signal_handler-function-to-si.patch
new file mode 100644
index 0000000..bd577bd
--- /dev/null
+++ b/atril_0002-Use-GLib-s-new-g_clear_signal_handler-function-to-si.patch
@@ -0,0 +1,81 @@
+From 888bd5d501637c4edce0401bf13552b5c9845e26 Mon Sep 17 00:00:00 2001
+From: rbuj <robert.buj@gmail.com>
+Date: Sun, 24 Oct 2021 12:19:27 +0200
+Subject: [PATCH 2/3] Use GLib's new g_clear_signal_handler() function to
+ simplify code
+
+---
+ cut-n-paste/toolbar-editor/egg-toolbar-editor.c | 6 ++++++
+ libmisc/ev-page-action-widget.c | 13 +++++++++++++
+ 2 files changed, 19 insertions(+)
+
+diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
+index 551bbde3..cb07011f 100644
+--- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
++++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
+@@ -149,6 +149,11 @@ egg_toolbar_editor_disconnect_model (EggToolbarEditor *t)
+ {
+ handler = priv->sig_handlers[i];
+
++#if GLIB_CHECK_VERSION(2,62,0)
++ if ((handler == 0) || !g_signal_handler_is_connected (model, handler))
++ continue;
++ g_clear_signal_handler (&handler, model);
++#else
+ if (handler != 0)
+ {
+ if (g_signal_handler_is_connected (model, handler))
+@@ -158,6 +163,7 @@ egg_toolbar_editor_disconnect_model (EggToolbarEditor *t)
+
+ priv->sig_handlers[i] = 0;
+ }
++#endif
+ }
+ }
+
+diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c
+index c24d9b97..30654d19 100644
+--- a/libmisc/ev-page-action-widget.c
++++ b/libmisc/ev-page-action-widget.c
+@@ -202,11 +202,16 @@ ev_page_action_widget_document_changed_cb (EvDocumentModel *model,
+ g_object_unref (action_widget->document);
+ action_widget->document = document;
+
++#if GLIB_CHECK_VERSION(2,62,0)
++ g_clear_signal_handler (&action_widget->signal_id,
++ action_widget->doc_model);
++#else
+ if (action_widget->signal_id > 0) {
+ g_signal_handler_disconnect (action_widget->doc_model,
+ action_widget->signal_id);
+ action_widget->signal_id = 0;
+ }
++#endif
+ action_widget->signal_id =
+ g_signal_connect_object (action_widget->doc_model,
+ "page-changed",
+@@ -240,6 +245,13 @@ ev_page_action_widget_finalize (GObject *object)
+ EvPageActionWidget *action_widget = EV_PAGE_ACTION_WIDGET (object);
+
+ if (action_widget->doc_model != NULL) {
++#if GLIB_CHECK_VERSION(2,62,0)
++ if ((action_widget->signal_id != 0) &&
++ (g_signal_handler_is_connected (action_widget->doc_model,
++ action_widget->signal_id)))
++ g_clear_signal_handler (&action_widget->signal_id,
++ action_widget->doc_model);
++#else
+ if (action_widget->signal_id > 0) {
+ if (g_signal_handler_is_connected(action_widget->doc_model,
+ action_widget->signal_id))
+@@ -247,6 +259,7 @@ ev_page_action_widget_finalize (GObject *object)
+ action_widget->signal_id);
+ action_widget->signal_id = 0;
+ }
++#endif
+ g_object_remove_weak_pointer (G_OBJECT (action_widget->doc_model),
+ (gpointer)&action_widget->doc_model);
+ action_widget->doc_model = NULL;
+--
+2.31.1
+
diff --git a/atril_0003-Fix-the-type-for-the-signal-identifier-which-is-gulo.patch b/atril_0003-Fix-the-type-for-the-signal-identifier-which-is-gulo.patch
new file mode 100644
index 0000000..08eeffd
--- /dev/null
+++ b/atril_0003-Fix-the-type-for-the-signal-identifier-which-is-gulo.patch
@@ -0,0 +1,89 @@
+From 6278aa65f523cdc0bd10071f7bc01ab9ce3e97a0 Mon Sep 17 00:00:00 2001
+From: rbuj <robert.buj@gmail.com>
+Date: Mon, 25 Oct 2021 09:52:41 +0200
+Subject: [PATCH 3/3] Fix the type for the signal identifier which is gulong
+
+---
+ cut-n-paste/zoom-control/ephy-zoom-control.c | 2 +-
+ libmisc/ev-page-action-widget.c | 2 +-
+ shell/ev-sidebar-annotations.c | 2 +-
+ shell/ev-sidebar-links.c | 10 +++++-----
+ 4 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/cut-n-paste/zoom-control/ephy-zoom-control.c b/cut-n-paste/zoom-control/ephy-zoom-control.c
+index c1364f32..3d5c7fde 100644
+--- a/cut-n-paste/zoom-control/ephy-zoom-control.c
++++ b/cut-n-paste/zoom-control/ephy-zoom-control.c
+@@ -34,7 +34,7 @@ struct _EphyZoomControlPrivate
+ float zoom;
+ float min_zoom;
+ float max_zoom;
+- guint handler_id;
++ gulong handler_id;
+ };
+
+ enum
+diff --git a/libmisc/ev-page-action-widget.c b/libmisc/ev-page-action-widget.c
+index 30654d19..6b5d476c 100644
+--- a/libmisc/ev-page-action-widget.c
++++ b/libmisc/ev-page-action-widget.c
+@@ -43,7 +43,7 @@ struct _EvPageActionWidget
+
+ GtkWidget *entry;
+ GtkWidget *label;
+- guint signal_id;
++ gulong signal_id;
+ GtkTreeModel *filter_model;
+ GtkTreeModel *model;
+ };
+diff --git a/shell/ev-sidebar-annotations.c b/shell/ev-sidebar-annotations.c
+index f445cd35..cc39617f 100644
+--- a/shell/ev-sidebar-annotations.c
++++ b/shell/ev-sidebar-annotations.c
+@@ -56,7 +56,7 @@ struct _EvSidebarAnnotationsPrivate {
+ GtkWidget *annot_text_item;
+
+ EvJob *job;
+- guint selection_changed_id;
++ gulong selection_changed_id;
+ };
+
+ static void ev_sidebar_annotations_page_iface_init (EvSidebarPageInterface *iface);
+diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c
+index 867408b4..98b16a1f 100644
+--- a/shell/ev-sidebar-links.c
++++ b/shell/ev-sidebar-links.c
+@@ -39,9 +39,9 @@ struct _EvSidebarLinksPrivate {
+ GtkWidget *tree_view;
+
+ /* Keep these ids around for blocking */
+- guint selection_id;
+- guint page_changed_id;
+- guint row_activated_id;
++ gulong selection_id;
++ gulong page_changed_id;
++ gulong row_activated_id;
+
+ EvJob *job;
+ GtkTreeModel *model;
+@@ -643,7 +643,7 @@ job_finished_callback (EvJobLinks *job,
+ selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (priv->tree_view));
+ gtk_tree_selection_set_mode (selection, GTK_SELECTION_SINGLE);
+
+- if (priv->selection_id <= 0) {
++ if (priv->selection_id == 0) {
+ priv->selection_id =
+ g_signal_connect (selection, "changed",
+ G_CALLBACK (selection_changed_callback),
+@@ -653,7 +653,7 @@ job_finished_callback (EvJobLinks *job,
+ g_signal_connect_swapped (priv->doc_model, "page-changed",
+ G_CALLBACK (update_page_callback),
+ sidebar_links);
+- if (priv->row_activated_id <= 0) {
++ if (priv->row_activated_id == 0) {
+ priv->row_activated_id =
+ g_signal_connect (priv->tree_view, "row-activated",
+ G_CALLBACK (row_activated_callback),
+--
+2.31.1
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/atril] epel8: update to 1.26.4 (#2260373, #2487669)
@ 2026-06-11 19:46 Robert Scheck
0 siblings, 0 replies; 2+ messages in thread
From: Robert Scheck @ 2026-06-11 19:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/atril
Branch : epel8
Commit : 45f8a5bc96ad4fa25d64ae2e36de35122d7a8092
Author : Robert Scheck <robert@fedoraproject.org>
Date : 2026-06-11T21:28:20+02:00
Stats : +7/-3 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/atril/c/45f8a5bc96ad4fa25d64ae2e36de35122d7a8092?branch=epel8
Log:
update to 1.26.4 (#2260373, #2487669)
---
diff --git a/.gitignore b/.gitignore
index 70e7872..b02a182 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,4 @@
/atril-1.26.0.tar.xz
/atril-1.26.1.tar.xz
/atril-1.26.2.tar.xz
+/atril-1.26.4.tar.xz
diff --git a/atril.spec b/atril.spec
index 58a9b8e..526a09f 100644
--- a/atril.spec
+++ b/atril.spec
@@ -13,7 +13,7 @@
%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
Name: atril
-Version: %{branch}.2
+Version: %{branch}.4
%if 0%{?rel_build}
Release: 1%{?dist}
%else
@@ -25,7 +25,7 @@ URL: http://mate-desktop.org
# for downloading the tarball use 'spectool -g -R caja.spec'
# Source for release-builds.
-%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
+%{?rel_build:Source0: https://github.com/mate-desktop/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz}
# Source for snapshot-builds.
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
@@ -195,6 +195,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/atril.desktop
%changelog
+* Thu Jun 11 2026 Robert Scheck <robert@fedoraproject.org> - 1.26.4-1
+- update to 1.26.4 (#2260373, #2487669)
+
* Wed Jan 24 2024 Wolfgang Ulbrich <fedora@raveit.de> - 1.26.2-1
- update to 1.26.2
diff --git a/sources b/sources
index 2557d40..9e3cf26 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (atril-1.26.2.tar.xz) = d0b3fe14443907e43a58083282d555b74189d63d94e9ec0c2053976ad529d236738c3af4a668e813307d1ba44551b0a8ad1bc78cd8f53ab61cb811eca136eec9
+SHA512 (atril-1.26.4.tar.xz) = 7fb2dfbf2e18f4b02c123862d9c2be184ae104c6eefe8bc6c43279b8ec22fed1fcdfc1fde776eee986111f8d6a885844b1ed0d56ff2ab5b4eaeea5d17ba8357b
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-11 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-11 19:46 [rpms/atril] epel8: update to 1.26.4 (#2260373, #2487669) Robert Scheck
-- strict thread matches above, loose matches on Subject: below --
2026-06-11 19:46 Robert Scheck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox