--- /dev/null
+For some reason texinfo 5 doesn't like @if... just after @macro and @end ... just before @end macro
+(strange things happen...)
+--- enblend-enfuse-4.1.1/doc/auxmac.texi.orig 2013-07-20 18:07:37.617634914 +0200
++++ enblend-enfuse-4.1.1/doc/auxmac.texi 2013-07-20 18:09:19.710963959 +0200
+@@ -82,6 +82,7 @@
+
+ @c Generate a nice representation of base^exponent.
+ @macro power{base, exponent}
++
+ @ifinfo
+ \base\^\exponent\
+ @end ifinfo
+@@ -94,10 +95,12 @@
+ @docbook
+ \base\<superscript>\exponent\</superscript>
+ @end docbook
++
+ @end macro
+
+
+ @macro classictimes
++
+ @ifinfo
+ x@c gobble following newline -- The Tricks of a Texinfo Wizard.
+ @end ifinfo
+@@ -110,6 +113,7 @@
+ @docbook
+ ×
+ @end docbook
++
+ @end macro
+
+
+@@ -117,6 +121,7 @@
+ @c for TeX lives in auxmac.tex.
+ @ifnottex
+ @macro geq
++
+ @ifinfo
+ >=@c
+ @end ifinfo
+@@ -126,6 +131,7 @@
+ @docbook
+ ≥
+ @end docbook
++
+ @end macro
+ @end ifnottex
+
+@@ -140,6 +140,7 @@
+ @c for TeX lives in auxmac.tex.
+ @ifnottex
+ @macro leq
++
+ @ifinfo
+ <=@c
+ @end ifinfo
+@@ -149,6 +150,7 @@
+ @docbook
+ ≤
+ @end docbook
++
+ @end macro
+ @end ifnottex
+
+@@ -172,6 +174,7 @@
+ @c Special Characters
+
+ @macro inlineomega
++
+ @ifinfo
+ @math{omega}@c
+ @end ifinfo
+@@ -186,10 +189,12 @@
+ @docbook
+ ω
+ @end docbook
++
+ @end macro
+
+
+ @macro inlinesigma
++
+ @ifinfo
+ @math{sigma}@c
+ @end ifinfo
+@@ -204,10 +209,12 @@
+ @docbook
+ σ
+ @end docbook
++
+ @end macro
+
+
+ @macro inlinexi
++
+ @ifinfo
+ @math{xi}@c
+ @end ifinfo
+@@ -222,6 +229,7 @@
+ @docbook
+ ξ
+ @end docbook
++
+ @end macro
+
+
+@@ -239,6 +245,7 @@
+
+
+ @macro semilog{significant, exponent}
++
+ @ifinfo
+ \significant\*10^\exponent\@c
+ @end ifinfo
+@@ -258,4 +265,5 @@
+ @docbook
+ \significant\×10<superscript>\exponent\</superscript>
+ @end docbook
++
+ @end macro
+--- enblend-enfuse-4.1.1/doc/enfuse.texi.orig 2013-07-20 18:14:21.924284611 +0200
++++ enblend-enfuse-4.1.1/doc/enfuse.texi 2013-07-20 18:33:00.144237684 +0200
+@@ -2434,6 +2434,7 @@
+ input images@tie{}@math{n}.
+
+ @macro equationW{}
++
+ @ifnotdocbook
+ @ifnottex
+ (W)
+@@ -2445,6 +2446,7 @@
+ @docbook
+ <xref linkend="equ:pixel-weighting-function"/>
+ @end docbook
++
+ @end macro
+
+ Enfuse allows for weighting the contribution of each @math{P(i, x, y)}
Source0: http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz
# Source0-md5: 9bc34f423f3bee35150ab593211da4a2
Patch0: %{name}-info.patch
+Patch1: %{name}-texinfo.patch
URL: http://enblend.sourceforge.net/
BuildRequires: OpenEXR-devel >= 1.0
BuildRequires: OpenGL-GLU-devel
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
+
+%{__sed} -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in
%build
%{__aclocal} -I m4