Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7924c522b8 | ||
|
|
ed263421f2 | ||
|
|
a3c1db8fc8 | ||
|
|
b57c85c41f | ||
|
|
271e35ef49 |
6 changed files with 104 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
ale-0.9.0.1.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: ale
|
|
||||||
# $Id$
|
|
||||||
NAME := ale
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
11
ale-0.9.0.1-gcc43.patch
Normal file
11
ale-0.9.0.1-gcc43.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff -ruN ale-0.9.0.1-orig/ui/ui.h ale-0.9.0.1/ui/ui.h
|
||||||
|
--- ale-0.9.0.1-orig/ui/ui.h 2008-06-13 18:20:56.000000000 -0400
|
||||||
|
+++ ale-0.9.0.1/ui/ui.h 2008-09-24 09:32:51.000000000 -0400
|
||||||
|
@@ -21,6 +21,7 @@
|
||||||
|
#ifndef __ui_h__
|
||||||
|
#define __ui_h__
|
||||||
|
|
||||||
|
+#include <cstring>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
91
ale.spec
Normal file
91
ale.spec
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
Name: ale
|
||||||
|
Version: 0.9.0.1
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Combines multiple inputs of the same scene
|
||||||
|
|
||||||
|
Group: Applications/Multimedia
|
||||||
|
License: GPLv3
|
||||||
|
URL: http://auricle.dyndns.org/ALE/
|
||||||
|
Source0: http://auricle.dyndns.org/ALE/download/%{name}-%{version}.tar.gz
|
||||||
|
# sent patch to upstream mailing list on 2008.09.23
|
||||||
|
Patch0: ale-0.9.0.1-gcc43.patch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: ImageMagick-devel
|
||||||
|
BuildRequires: fftw-devel >= 3.0.0
|
||||||
|
Requires: perl-Image-ExifTool
|
||||||
|
Requires: dcraw
|
||||||
|
|
||||||
|
%description
|
||||||
|
ALE is an image-processing program used for tasks such as image mosaicking,
|
||||||
|
super-resolution, deblurring, noise reduction, anti-aliasing, and scene
|
||||||
|
reconstruction. Its principle of operation is synthetic capture, combining
|
||||||
|
multiple inputs representing the same scene.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--enable-wmx \
|
||||||
|
--with-hashmap=gnu \
|
||||||
|
--with-imagemagick \
|
||||||
|
--with-fftw3
|
||||||
|
make %{_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make DESTDIR=%{buildroot} install
|
||||||
|
|
||||||
|
# install scripts
|
||||||
|
%{__install} -p -m 0755 scripts/ale-psf-calibrate %{buildroot}%{_bindir}
|
||||||
|
%{__install} -p -m 0755 scripts/cpfmerge %{buildroot}%{_bindir}
|
||||||
|
%{__install} -p -m 0755 scripts/sko2cpf %{buildroot}%{_bindir}
|
||||||
|
%{__install} -p -m 0755 scripts/transform %{buildroot}%{_bindir}/ale-transform
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Sep 23 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.0.1-2
|
||||||
|
- updated gcc4.3 patch for 0.9.0.1 to compile w/ new fuzz settings
|
||||||
|
|
||||||
|
* Wed Jun 18 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.0.1-1
|
||||||
|
- updating to ale 0.9.0.1
|
||||||
|
|
||||||
|
* Fri May 09 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.0-3
|
||||||
|
- adding Requires perl-Image-ExifTool, dcraw
|
||||||
|
|
||||||
|
* Mon Apr 21 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.0-2
|
||||||
|
- adding additional configuration options (imagemagick, fftw3, wmx,
|
||||||
|
gnu hashmap) and build requires to satisfy them
|
||||||
|
- installing scripts
|
||||||
|
|
||||||
|
* Mon Apr 21 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.0-1
|
||||||
|
- update to 0.9.0
|
||||||
|
- added GCC 4.3 compilation patch
|
||||||
|
|
||||||
|
* Wed Mar 19 2008 Douglas E. Warner <silfreed@silfreed.net> 0.8.11-1
|
||||||
|
- update to 0.8.11
|
||||||
|
- updating spec to fedora standards
|
||||||
|
- updating License to GPLv3
|
||||||
|
- removing Requires ldconfig
|
||||||
|
- shortened summary
|
||||||
|
- added dist tag
|
||||||
|
|
||||||
|
* Mon Apr 30 2007 Douglas E. Warner <silfreed@silfreed.net> 0.8.7-1
|
||||||
|
- Initial RPM release.
|
||||||
|
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
a4e595cfa52485eebd57e4de112b0609 ale-0.9.0.1.tar.gz
|
||||||
Reference in a new issue