public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/zathura] rawhide: Disable synctex in flatpak builds
Date: Tue, 09 Jun 2026 20:58:28 GMT	[thread overview]
Message-ID: <178103870808.1.10745349446004677489.rpms-zathura-57dd0f8b59c3@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/zathura
            Branch : rawhide
            Commit : 57dd0f8b59c3879148672146d86e51bfd2c870cd
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-09T15:51:47-04:00
            Stats  : +7/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/zathura/c/57dd0f8b59c3879148672146d86e51bfd2c870cd?branch=rawhide

            Log:
            Disable synctex in flatpak builds

This matches the Flathub build, as synctex support doesn't seem to make
sense between flatpak apps and a non-flatpak TeX.

---
diff --git a/zathura.spec b/zathura.spec
index 75099e9..7c3e622 100644
--- a/zathura.spec
+++ b/zathura.spec
@@ -1,3 +1,5 @@
+%bcond synctex %{undefined flatpak}
+
 Name:              zathura
 Version:           2026.05.20
 Release:           1%{?dist}
@@ -34,7 +36,9 @@ BuildRequires:     meson >= 1.5
 # Needed to build man pages (/doc subdir)
 BuildRequires:     python3-sphinx
 BuildRequires:     sqlite-devel >= 3.6.23
+%if %{with synctex}
 BuildRequires:     texlive-lib-devel
+%endif
 BuildRequires:     zsh
 # Tests
 BuildRequires:     pkgconfig(check) >= 0.11
@@ -117,7 +121,9 @@ This package provides %{summary}.
 %autosetup
 
 %build
-%meson -Dsynctex=enabled -Dseccomp=enabled -Dtests=enabled
+%meson \
+   -Dseccomp=enabled -Dtests=enabled \
+   -Dsynctex=%{?with_synctex:enabled}%{!?with_synctex:disabled}
 %meson_build
 
 %install

                 reply	other threads:[~2026-06-09 20:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178103870808.1.10745349446004677489.rpms-zathura-57dd0f8b59c3@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox