public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/engauge-digitizer] f44: Disable log4cpp
@ 2026-10-19  9:17 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-10-19  9:17 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/engauge-digitizer
            Branch : f44
            Commit : c26bfd25af7e0010abdd95dc8d0483aad872958e
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-10-15T22:01:41-04:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/engauge-digitizer/c/c26bfd25af7e0010abdd95dc8d0483aad872958e?branch=f44

            Log:
            Disable log4cpp

This code is not compatible with a change in log4cpp 1.1.6, which results in
error: use of undeclared identifier 'LOG4CPP_INFO_S'

https://github.com/akhuettel/engauge-digitizer/issues/4

---
diff --git a/engauge-digitizer.spec b/engauge-digitizer.spec
index 56ed76e..294432e 100644
--- a/engauge-digitizer.spec
+++ b/engauge-digitizer.spec
@@ -20,7 +20,10 @@ BuildRequires: gcc
 BuildRequires: gcc-c++
 BuildRequires: make
 BuildRequires: fftw-devel
-BuildRequires: log4cpp-devel
+# incompatible with log4cpp 1.1.6
+# https://github.com/akhuettel/engauge-digitizer/issues/4
+# when fixed, remove log4cpp_null from CONFIG below
+#BuildRequires: log4cpp-devel
 BuildRequires: desktop-file-utils
 BuildRequires: qt6-qtbase-devel
 BuildRequires: qt6-qttools-devel
@@ -149,7 +152,7 @@ export OPENJPEG_INCLUDE=`pkg-config --cflags libopenjp2 | sed 's/-I//'`
 export OPENJPEG_LIB=%{_libdir}
 export POPPLER_INCLUDE=`pkg-config --cflags poppler-qt6 | sed 's/-I//'`
 export POPPLER_LIB=%{_libdir}
-%{qmake_qt6} engauge.pro "CONFIG+=pdf jpeg2000" QT_SELECT=qt6 \
+%{qmake_qt6} engauge.pro "CONFIG+=pdf jpeg2000 log4cpp_null" QT_SELECT=qt6 \
  DEFINES+=HELPDIR=%{_datadir}/doc/%{name}/help \
  QMAKE_CXXFLAGS_RELEASE="%{optflags} %(pkgconf --cflags Qt6Widgets)"
 %make_build

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

only message in thread, other threads:[~2026-10-19  9:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19  9:17 [rpms/engauge-digitizer] f44: Disable log4cpp Yaakov Selkowitz

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