public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geany-plugins] rawhide: Build the markdown plugin against discount (libmarkdown)
@ 2026-10-10 15:52 Antoine Pichot
  0 siblings, 0 replies; only message in thread
From: Antoine Pichot @ 2026-10-10 15:52 UTC (permalink / raw)
  To: git-commits

            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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-10 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10 15:52 [rpms/geany-plugins] rawhide: Build the markdown plugin against discount (libmarkdown) Antoine Pichot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox