diff --git a/denemo-2.6.0-configure.patch b/denemo-2.6.0-configure.patch new file mode 100644 index 0000000..9143ccf --- /dev/null +++ b/denemo-2.6.0-configure.patch @@ -0,0 +1,51 @@ +diff --git a/configure.ac b/configure.ac +index 0cfe649..0d68d76 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1,9 +1,9 @@ + dnl Process this file with autoconf to produce a configure script. +-AC_INIT([denemo], [2.6.0], [denemo-devel@gnu.org]) ++AC_INIT([denemo],[2.6.0],[denemo-devel@gnu.org]) + AC_CONFIG_SRCDIR([src/core/main.c]) + AM_INIT_AUTOMAKE([tar-pax foreign dist-xz subdir-objects]) +-dnl AC_CANONICAL_SYSTEM +-AC_CONFIG_HEADER(config.h) ++dnl AC_CANONICAL_TARGET ++AC_CONFIG_HEADERS([config.h]) + + AC_CONFIG_MACRO_DIR([build]) + AM_MAINTAINER_MODE +@@ -32,7 +32,7 @@ AC_PROG_YACC + AM_PROG_LEX + GUILE_FLAGS + +-AC_PROG_LIBTOOL ++LT_INIT + + dnl Options for configuration + build_debug=no +@@ -476,7 +476,8 @@ AC_LINK_IFELSE( + [AC_DEFINE(HAVE_FILE_LOCKS, 1, [Define to 1 if file locking is available])]) + + dnl Checks for typedefs, structures, and compiler characteristics. +-dnl AC_HEADER_TIME ++dnl m4_warn([obsolete], ++ + + dnl Checks for library functions. + +@@ -517,8 +518,7 @@ AC_SUBST(CPPFLAGS) + AC_SUBST(LDFLAGS) + + +-AC_OUTPUT( +-[ ++AC_CONFIG_FILES([ + build/Makefile + Makefile + denemo.spec +@@ -538,3 +538,4 @@ AC_OUTPUT( + libs/libsffile/Makefile + libs/libsmf/Makefile + ]) ++AC_OUTPUT diff --git a/denemo.spec b/denemo.spec index 8523958..32c3a7d 100644 --- a/denemo.spec +++ b/denemo.spec @@ -1,19 +1,20 @@ Summary: Graphical music notation program Name: denemo Version: 2.6.0 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv3+ Source: https://ftp.gnu.org/gnu/denemo/denemo-%{version}.tar.gz Source1: %{name}-feta.metainfo.xml Source2: %{name}-emmentaler.metainfo.xml Source3: %{name}-music.metainfo.xml +Patch1: %{name}-%{version}-configure.patch URL: http://www.denemo.org/ BuildRequires: gcc libtool BuildRequires: portaudio-devel aubio-devel guile22-devel BuildRequires: gettext libxml2-devel fftw-devel desktop-file-utils -BuildRequires: libtool-ltdl-devel pipewire-jack-audio-connection-kit-devel +BuildRequires: libtool-ltdl-devel jack-audio-connection-kit-devel BuildRequires: fontpackages-devel lash-devel libsamplerate-devel BuildRequires: fluidsynth-devel librsvg2-devel gtk3-devel BuildRequires: chrpath libsndfile-devel evince-devel gtksourceview3-devel @@ -91,8 +92,10 @@ This contains the directory common to all Denemo fonts. %prep %setup -q +%patch1 -p1 %build +autoupdate autoreconf -if %configure --enable-jack=yes --disable-binreloc --enable-guile_2_2=yes @@ -149,6 +152,9 @@ install -Dm 0644 -p %{SOURCE3} \ %changelog +* Sun Aug 14 2022 Roy Rankin - 2.6.0-4 +> - fix jack-audio dependency, configure issue + * Thu Jul 21 2022 Fedora Release Engineering - 2.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild