forked from pool/hugin
Accepting request 37354 from graphics
Copy from graphics/hugin based on submit request 37354 from user adrianSuSE OBS-URL: https://build.opensuse.org/request/show/37354 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=19
This commit is contained in:
parent
c1bae0f279
commit
cfdc6f9004
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4cd5848d61b890b707793594cc52369318ee49176bd8d32f3038e34d6e0100b1
|
||||
size 10511916
|
3
hugin-2010.0.0.tar.bz2
Normal file
3
hugin-2010.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cb6a7733199c6d627c1dea27d686ceb692b8956361f7b97698d780c9cbf2534
|
||||
size 10437425
|
15
hugin-libpng14.patch
Normal file
15
hugin-libpng14.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Index: src/foreign/vigra/vigra_impex/png.cxx
|
||||
===================================================================
|
||||
--- src/foreign/vigra/vigra_impex.orig/png.cxx
|
||||
+++ src/foreign/vigra/vigra_impex/png.cxx
|
||||
@@ -271,8 +271,8 @@ namespace vigra {
|
||||
// expand gray values to at least one byte size
|
||||
if ( color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8 ) {
|
||||
if (setjmp(png->jmpbuf))
|
||||
- vigra_postcondition( false,png_error_message.insert(0, "error in png_set_gray_1_2_4_to_8(): ").c_str());
|
||||
- png_set_gray_1_2_4_to_8(png);
|
||||
+ vigra_postcondition( false,png_error_message.insert(0, "error in png_set_expand_gray_1_2_4_to_8(): ").c_str());
|
||||
+ png_set_expand_gray_1_2_4_to_8(png);
|
||||
bit_depth = 8;
|
||||
}
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 8 11:46:35 CEST 2010 - pgajdos@suse.cz
|
||||
|
||||
- Fixed build with libpng14.
|
||||
- Updated to version 2010.0.0:
|
||||
* Fix storage of image cache upperbound.
|
||||
* Set response type to linear when adding hdr images.
|
||||
* Set blender and fusion options to default value when user
|
||||
entered an empty string.
|
||||
* Fixes update of preview window when projection parameter
|
||||
changed.
|
||||
* etc. see ChangeLog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 18:35:32 CEST 2009 - sbrabec@suse.cz
|
||||
|
||||
|
14
hugin.spec
14
hugin.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hugin (Version 0.8.0)
|
||||
# spec file for package hugin (Version 2010.0.0)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,21 +19,22 @@
|
||||
|
||||
|
||||
Name: hugin
|
||||
BuildRequires: OpenEXR-devel SDL-devel boost-devel cmake fftw-devel gcc-c++ glew-devel libexiv2-devel libpano-devel libxml2 python-wxGTK update-desktop-files vigra wxGTK-devel zip
|
||||
BuildRequires: OpenEXR-devel SDL-devel boost-devel cmake fftw-devel freeglut-devel gcc-c++ glew-devel libexiv2-devel libpano-devel libxml2 python-wxGTK update-desktop-files vigra wxGTK-devel zip
|
||||
%if %suse_version > 1020
|
||||
BuildRequires: fdupes licenses
|
||||
Requires: licenses
|
||||
%endif
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Group: Productivity/Graphics/Other
|
||||
Summary: Toolchain for Stitching of Images and Creating Panoramas
|
||||
Version: 0.8.0
|
||||
Version: 2010.0.0
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
# For SVN snapshot:
|
||||
# svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
|
||||
#Source: %{name}-svn2008xxxx.tar.bz2
|
||||
Source1: %{name}-svn-dummy
|
||||
Patch0: hugin-libpng14.patch
|
||||
Url: http://hugin.sourceforge.net/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: licenses
|
||||
@ -69,6 +70,7 @@ Authors:
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
# For SVN snapshot:
|
||||
#setup -q -n %{name}
|
||||
# Rename Catalan in Spain to Catalan.
|
||||
@ -129,7 +131,7 @@ fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING ChangeLog LICENCE LICENCE_JHEAD LICENCE_VIGRA README README_JP TODO
|
||||
%doc AUTHORS authors.txt COPYING ChangeLog LICENCE_VIGRA README README_JP TODO
|
||||
%{_bindir}/*
|
||||
%{_datadir}/hugin
|
||||
%{_datadir}/applications/*.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user