public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Antoine Pichot <antoine.pichot@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/geany-plugins] rawhide: Build the markdown plugin against discount (libmarkdown)
Date: Sat, 10 Oct 2026 15:52:29 GMT	[thread overview]
Message-ID: <179164754940.1.6970756330893601437.rpms-geany-plugins-af1de08ef022@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/geany-plugins
            Branch : rawhide
            Commit : af1de08ef02291d335f9c31ea1fa50e6c5db2f07
            Author : Antoine Pichot <antoine.pichot@gmail.com>
            Date   : 2026-10-06T09:59:36+09:00
            Stats  : +7/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/geany-plugins/c/af1de08ef02291d335f9c31ea1fa50e6c5db2f07?branch=rawhide

            Log:
            Build the markdown plugin against discount (libmarkdown)

Without libmarkdown-devel in the buildroot, configure silently falls back
to the bundled peg-markdown, which has no support for tables. Add the
BuildRequires and pass --disable-peg-markdown so a missing libmarkdown
fails the build instead of falling back.

Fixes: rhbz#2546259

---
diff --git a/geany-plugins.spec b/geany-plugins.spec
index 96a0dcf..e64c9c0 100644
--- a/geany-plugins.spec
+++ b/geany-plugins.spec
@@ -3,7 +3,7 @@
 
 Name:           geany-plugins
 Version:        2.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Plugins for Geany
 
 # Automatically converted from old format: GPLv3+ - review is highly recommended.
@@ -494,6 +494,7 @@ files.
 Summary:       Real time preview for Markdown documents
 Requires:      geany-plugins-common = %{version}-%{release}
 BuildRequires: pkgconfig(webkit2gtk-4.1)
+BuildRequires: pkgconfig(libmarkdown)
 BuildRequires: python3-docutils
 Provides:      geany-plugins-markdown >= 1.34
 
@@ -680,7 +681,7 @@ automatically inserts a matching snippet after you type an opening tag.
 
 %build
 autoreconf -fiv
-%configure --docdir=%{geany_plug_docdir}
+%configure --docdir=%{geany_plug_docdir} --disable-peg-markdown
 %make_build
 
 
@@ -890,6 +891,10 @@ find $RPM_BUILD_ROOT -type f -empty -delete
 
 
 %changelog
+* Tue Oct 06 2026 Antoine Pichot <antoine.pichot@gmail.com> - 2.1-7
+- Build the markdown plugin against discount (libmarkdown) instead of the
+  bundled peg-markdown, which has no table support
+
 * Thu Sep 10 2026 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1-6
 - Rebuilt for libxml-2.5.4
 

                 reply	other threads:[~2026-10-10 15:52 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=179164754940.1.6970756330893601437.rpms-geany-plugins-af1de08ef022@fedoraproject.org \
    --to=antoine.pichot@gmail.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