forked from pool/hugin
Accepting request 98363 from graphics
-Updated to version 2011.4.0: * numerous translation updates * bug fixes * new pto-gen tool * build system fixes - Fixed build on openSUSE 11.3. - Updated to version 2011.2.0: * New Python scripting interface. * New lens calibration tool * A critical bug affecting a significant number of Mac users has been fixed. * Many general improvements have been made. - disable parallel build and enable verbose compilne - Add hugin-fix-gcc46.patch: fix gcc 4.6 compilation * Set blender and fusion options to default value when user * Fixes update of preview window when projection parameter - fix build with gcc-4.4 - removed gnome-icon-theme from BuildRequires [#247450] - accept gettext 0.16 ... * added tool fulla (see man pages), for distortion, TCA and vignetting - remove some extra qualifications to fix build with gcc-4.1 - fixed missing part of function - fix build with current wxGTK - change desktopfile OBS-URL: https://build.opensuse.org/request/show/98363 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=32
This commit is contained in:
commit
f19e3605ea
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:866273f6218d300a52c0148960681faa2c4e05383d97f868a2eb47b457b5f4fc
|
|
||||||
size 11439430
|
|
3
hugin-2011.4.0.tar.bz2
Normal file
3
hugin-2011.4.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e4b8eabdb243b24b2dd4a6af82a1a2a7451e2e749f84349f8cdfd8e9fa4ddae
|
||||||
|
size 11740410
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 22 06:39:12 UTC 2011 - mrdocs@opensuse.org
|
||||||
|
|
||||||
|
-Updated to version 2011.4.0:
|
||||||
|
* numerous translation updates
|
||||||
|
* bug fixes
|
||||||
|
* new pto-gen tool
|
||||||
|
* build system fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 21 04:40:46 UTC 2011 - tony@daylessday.org
|
||||||
|
|
||||||
|
- Fixed build on openSUSE 11.3.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 20 14:05:44 UTC 2011 - tony@daylessday.org
|
||||||
|
|
||||||
|
- Updated to version 2011.2.0:
|
||||||
|
* New Python scripting interface.
|
||||||
|
* New lens calibration tool
|
||||||
|
* A critical bug affecting a significant number of Mac users has been fixed.
|
||||||
|
* Many general improvements have been made.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 4 18:27:07 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- disable parallel build and enable verbose compilne
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 31 16:34:47 CEST 2011 - sbrabec@suse.cz
|
Tue May 31 16:34:47 CEST 2011 - sbrabec@suse.cz
|
||||||
|
|
||||||
@ -32,7 +60,7 @@ Tue Apr 26 19:34:14 CEST 2011 - sbrabec@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 22 08:12:00 UTC 2011 - idoenmez@novell.com
|
Mon Mar 22 08:12:00 UTC 2011 - idoenmez@novell.com
|
||||||
|
|
||||||
- Add hugin-fix-gcc46.patch: fix gcc 4.6 compilation
|
- Add hugin-fix-gcc46.patch: fix gcc 4.6 compilation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 21 16:51:59 UTC 2011 - coolo@novell.com
|
Mon Mar 21 16:51:59 UTC 2011 - coolo@novell.com
|
||||||
@ -61,9 +89,9 @@ Thu Apr 8 11:46:35 CEST 2010 - pgajdos@suse.cz
|
|||||||
- Updated to version 2010.0.0:
|
- Updated to version 2010.0.0:
|
||||||
* Fix storage of image cache upperbound.
|
* Fix storage of image cache upperbound.
|
||||||
* Set response type to linear when adding hdr images.
|
* Set response type to linear when adding hdr images.
|
||||||
* Set blender and fusion options to default value when user
|
* Set blender and fusion options to default value when user
|
||||||
entered an empty string.
|
entered an empty string.
|
||||||
* Fixes update of preview window when projection parameter
|
* Fixes update of preview window when projection parameter
|
||||||
changed.
|
changed.
|
||||||
* etc. see ChangeLog.
|
* etc. see ChangeLog.
|
||||||
|
|
||||||
@ -116,7 +144,7 @@ Tue Jun 9 11:56:59 CEST 2009 - coolo@novell.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 27 02:07:54 CEST 2009 - ro@suse.de
|
Wed May 27 02:07:54 CEST 2009 - ro@suse.de
|
||||||
|
|
||||||
- fix build with gcc-4.4
|
- fix build with gcc-4.4
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 7 17:42:37 CEST 2008 - sbrabec@suse.cz
|
Tue Oct 7 17:42:37 CEST 2008 - sbrabec@suse.cz
|
||||||
@ -219,7 +247,7 @@ Mon Jul 16 18:48:54 CEST 2007 - sbrabec@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 9 16:59:33 CEST 2007 - pgajdos@suse.cz
|
Wed May 9 16:59:33 CEST 2007 - pgajdos@suse.cz
|
||||||
|
|
||||||
- removed gnome-icon-theme from BuildRequires [#247450]
|
- removed gnome-icon-theme from BuildRequires [#247450]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 30 14:03:16 CET 2007 - sbrabec@suse.cz
|
Tue Jan 30 14:03:16 CET 2007 - sbrabec@suse.cz
|
||||||
@ -229,7 +257,7 @@ Tue Jan 30 14:03:16 CET 2007 - sbrabec@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 26 01:45:26 CET 2007 - ro@suse.de
|
Fri Jan 26 01:45:26 CET 2007 - ro@suse.de
|
||||||
|
|
||||||
- accept gettext 0.16 ...
|
- accept gettext 0.16 ...
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 21 13:21:34 CEST 2006 - schwab@suse.de
|
Sat Oct 21 13:21:34 CEST 2006 - schwab@suse.de
|
||||||
@ -258,7 +286,7 @@ Thu Aug 17 19:10:04 CEST 2006 - postadal@suse.cz
|
|||||||
* multithreaded remapping for hugin and nona
|
* multithreaded remapping for hugin and nona
|
||||||
* support for dcraw 16 bit .ppm files
|
* support for dcraw 16 bit .ppm files
|
||||||
* disabled PTOptimizer progress display on OSX
|
* disabled PTOptimizer progress display on OSX
|
||||||
* added tool fulla (see man pages), for distortion, TCA and vignetting
|
* added tool fulla (see man pages), for distortion, TCA and vignetting
|
||||||
correction (can use old version PTLens database)
|
correction (can use old version PTLens database)
|
||||||
* added Czech translation
|
* added Czech translation
|
||||||
- removed obsoleted patches: hugin-xqual.patch, filedialog-close-crash.patch
|
- removed obsoleted patches: hugin-xqual.patch, filedialog-close-crash.patch
|
||||||
@ -301,12 +329,12 @@ Thu Jan 12 13:02:13 CET 2006 - sbrabec@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 8 01:58:09 CET 2005 - ro@suse.de
|
Tue Nov 8 01:58:09 CET 2005 - ro@suse.de
|
||||||
|
|
||||||
- remove some extra qualifications to fix build with gcc-4.1
|
- remove some extra qualifications to fix build with gcc-4.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 25 15:37:15 CEST 2005 - yxu@suse.de
|
Tue Oct 25 15:37:15 CEST 2005 - yxu@suse.de
|
||||||
|
|
||||||
- fixed missing part of function
|
- fixed missing part of function
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 22 16:11:32 CEST 2005 - sbrabec@suse.cz
|
Thu Sep 22 16:11:32 CEST 2005 - sbrabec@suse.cz
|
||||||
@ -372,7 +400,7 @@ Wed Dec 22 17:05:40 CET 2004 - mcihar@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 22 17:39:14 CET 2004 - ro@suse.de
|
Mon Nov 22 17:39:14 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
- fix build with current wxGTK
|
- fix build with current wxGTK
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 30 12:48:14 CEST 2004 - mcihar@suse.cz
|
Thu Sep 30 12:48:14 CEST 2004 - mcihar@suse.cz
|
||||||
@ -382,7 +410,7 @@ Thu Sep 30 12:48:14 CEST 2004 - mcihar@suse.cz
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 21 17:10:43 CEST 2004 - mskibbe@suse.de
|
Tue Sep 21 17:10:43 CEST 2004 - mskibbe@suse.de
|
||||||
|
|
||||||
- change desktopfile
|
- change desktopfile
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 11 11:29:07 CEST 2004 - mcihar@suse.cz
|
Wed Aug 11 11:29:07 CEST 2004 - mcihar@suse.cz
|
||||||
|
117
hugin.spec
117
hugin.spec
@ -15,37 +15,50 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: hugin
|
Name: hugin
|
||||||
BuildRequires: Mesa-devel OpenEXR-devel SDL-devel boost-devel cmake fftw3-devel freeglut-devel gcc-c++ glew-devel lapack libexiv2-devel liblapack3 libpano-devel >= 2.9.18 libxml2 update-desktop-files vigra zip
|
BuildRequires: Mesa-devel
|
||||||
%if %suse_version > 1130
|
BuildRequires: OpenEXR-devel
|
||||||
BuildRequires: python-wxWidgets >= 2.7.0 wxWidgets-devel
|
BuildRequires: SDL-devel
|
||||||
%else
|
BuildRequires: boost-devel
|
||||||
BuildRequires: python-wxGTK >= 2.7.0 wxGTK-devel
|
BuildRequires: cmake
|
||||||
%endif
|
|
||||||
%if %suse_version > 1020
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: fftw3-devel
|
||||||
|
BuildRequires: freeglut-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: glew-devel
|
||||||
|
BuildRequires: lapack
|
||||||
|
BuildRequires: libexiv2-devel
|
||||||
|
BuildRequires: liblapack3
|
||||||
|
BuildRequires: libpano-devel >= 2.9.18
|
||||||
|
BuildRequires: libxml2
|
||||||
|
BuildRequires: tclap
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: vigra
|
||||||
|
BuildRequires: zip
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
|
BuildRequires: python-wxWidgets >= 2.7.0
|
||||||
|
BuildRequires: wxWidgets-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: python-wxGTK >= 2.7.0
|
||||||
|
BuildRequires: wxGTK-devel
|
||||||
%endif
|
%endif
|
||||||
License: GPLv2+
|
%define mversion 2011.4
|
||||||
Group: Productivity/Graphics/Other
|
Version: %{mversion}.0
|
||||||
|
Release: 0
|
||||||
Summary: Toolchain for Stitching of Images and Creating Panoramas
|
Summary: Toolchain for Stitching of Images and Creating Panoramas
|
||||||
Version: 2011.0.0
|
License: GPL-2.0+
|
||||||
Release: 1
|
Group: Productivity/Graphics/Other
|
||||||
Source: http://sourceforge.net/projects/%{name}/files/%{name}/%{name}-2011.0/%{name}-%{version}.tar.bz2
|
Url: http://hugin.sourceforge.net/
|
||||||
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversion}/%{name}-%{version}.tar.bz2
|
||||||
# For SVN snapshot:
|
# For SVN snapshot:
|
||||||
# svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
|
# svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
|
||||||
#Source: %{name}-svn2008xxxx.tar.bz2
|
#Source: %%{name}-svn2008xxxx.tar.bz2
|
||||||
Source1: %{name}-svn-dummy
|
Source1: %{name}-svn-dummy
|
||||||
Url: http://hugin.sourceforge.net/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
Requires: make
|
|
||||||
# Optional package, if missing, it could cause unexpected errors:
|
|
||||||
Requires: enblend-enfuse >= 3.2
|
Requires: enblend-enfuse >= 3.2
|
||||||
# Optional third party package:
|
Recommends: autopano-sift
|
||||||
Recommends: autopano-sift exiftool
|
Recommends: exiftool
|
||||||
%if %suse_version > 1130
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
%define _use_internal_dependency_generator 0
|
%define _use_internal_dependency_generator 0
|
||||||
%define __find_requires %wx_requires
|
%define __find_requires %wx_requires
|
||||||
%endif
|
%endif
|
||||||
@ -59,24 +72,11 @@ Other tools in this package can correct lens distortion, vignetting and
|
|||||||
chromatic abberation, create HDR images, provide automatic feature
|
chromatic abberation, create HDR images, provide automatic feature
|
||||||
detection and extraction of key points.
|
detection and extraction of key points.
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Pablo d'Angelo <pablo.dangelo@web.de>
|
|
||||||
Kai-Uwe Behrmann <ku.b@gmx.de>
|
|
||||||
Douglas Wilkins
|
|
||||||
Ed Halley
|
|
||||||
Ippei Ukai
|
|
||||||
Bruno Postle
|
|
||||||
Alexandre Jenny
|
|
||||||
Ziv Yaniv
|
|
||||||
John Navas
|
|
||||||
Luca Vascon
|
|
||||||
Fabian Wetzel
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# For SVN snapshot:
|
# For SVN snapshot:
|
||||||
#setup -q -n %{name}
|
#setup -q -n %%{name}
|
||||||
# Rename Catalan in Spain to Catalan.
|
# Rename Catalan in Spain to Catalan.
|
||||||
mv src/translations/ca_ES.po src/translations/ca.po
|
mv src/translations/ca_ES.po src/translations/ca.po
|
||||||
# Rename Czech in Czech Republic to Czech.
|
# Rename Czech in Czech Republic to Czech.
|
||||||
@ -90,38 +90,51 @@ mv README_JP.new2 README_JP
|
|||||||
rm README_JP.new
|
rm README_JP.new
|
||||||
# For SVN snapshot:
|
# For SVN snapshot:
|
||||||
#mkdir bin
|
#mkdir bin
|
||||||
#cp %{S:1} bin/svn
|
#cp %%{SOURCE1} bin/svn
|
||||||
#chmod +x bin/svn
|
#chmod +x bin/svn
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=$PWD/bin:$PATH
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
|
export CXXFLAGS="$CFLAGS"
|
||||||
LIB_SUFFIX=%{_lib}
|
LIB_SUFFIX=%{_lib}
|
||||||
LIB_SUFFIX=${LIB_SUFFIX#lib}
|
LIB_SUFFIX=${LIB_SUFFIX#lib}
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=$LIB_SUFFIX -DENABLE_LAPACK=ON .
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIB_SUFFIX=$LIB_SUFFIX -DENABLE_LAPACK=ON .
|
||||||
make %{?jobs:-j%jobs}
|
# parallel make kills our workers
|
||||||
|
make -j1 VERBOSE=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
%suse_update_desktop_file hugin 2DGraphics
|
%suse_update_desktop_file hugin 2DGraphics
|
||||||
%suse_update_desktop_file PTBatcherGUI 2DGraphics
|
%suse_update_desktop_file PTBatcherGUI 2DGraphics
|
||||||
|
%suse_update_desktop_file calibrate_lens_gui 2DGraphics
|
||||||
# locales
|
# locales
|
||||||
%{find_lang} %{name}
|
%{find_lang} %{name}
|
||||||
# Use better place for MIME icons.
|
# Use better place for MIME icons.
|
||||||
mv $RPM_BUILD_ROOT%{_datadir}/icons/gnome $RPM_BUILD_ROOT%{_datadir}/icons/hicolor
|
mv %{buildroot}%{_datadir}/icons/gnome %{buildroot}%{_datadir}/icons/hicolor
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||||
cp -a AUTHORS authors.txt COPYING ChangeLog LICENCE_VIGRA README README_JP TODO $RPM_BUILD_ROOT%{_docdir}/%{name}/
|
cp -a AUTHORS authors.txt COPYING ChangeLog LICENCE_VIGRA README README_JP TODO %{buildroot}%{_docdir}/%{name}/
|
||||||
%fdupes $RPM_BUILD_ROOT%{_datadir}
|
chmod -x %{buildroot}%{_docdir}/%{name}/*
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%icon_theme_cache_post
|
%if 0%{?suse_version} > 1130
|
||||||
%mime_database_post
|
%icon_theme_cache_post
|
||||||
|
%mime_database_post
|
||||||
|
%else
|
||||||
|
if test -f %{_bindir}/update-mime-database ; then
|
||||||
|
%{_bindir}/update-mime-database %{_datadir}/mime >/dev/null
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%icon_theme_cache_postun
|
%if 0%{?suse_version} > 1130
|
||||||
%mime_database_postun
|
%icon_theme_cache_postun
|
||||||
|
%mime_database_postun
|
||||||
|
%else
|
||||||
|
if test -f %{_bindir}/update-mime-database ; then
|
||||||
|
%{_bindir}/update-mime-database %{_datadir}/mime >/dev/null
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user