forked from pool/hugin
Accepting request 715491 from graphics
OBS-URL: https://build.opensuse.org/request/show/715491 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hugin?expand=0&rev=63
This commit is contained in:
commit
e14f1198d6
127
0001-Unified-inclusion-of-exiv2-library-1828925.patch
Normal file
127
0001-Unified-inclusion-of-exiv2-library-1828925.patch
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
From 20020250a02e3e6c5813a24012bb7454a6195f51 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
|
||||||
|
Date: Sun, 14 Jul 2019 19:00:49 +0200
|
||||||
|
Subject: [PATCH] Unified inclusion of exiv2 library [1828925]
|
||||||
|
|
||||||
|
Before only the needed include files were used. This is depreacated.
|
||||||
|
Exiv2 wants only to include the main <exiv2/exiv2.hpp> file
|
||||||
|
---
|
||||||
|
src/hugin1/hugin/AboutDialog.cpp | 2 +-
|
||||||
|
src/hugin1/hugin/PanoOperation.cpp | 3 +--
|
||||||
|
src/hugin1/hugin/RawImport.cpp | 5 +----
|
||||||
|
src/hugin1/hugin/TextureManager.cpp | 3 +--
|
||||||
|
src/hugin1/ptbatcher/FindPanoDialog.cpp | 3 +--
|
||||||
|
src/hugin_base/panodata/Exiv2Helper.cpp | 5 ++---
|
||||||
|
src/hugin_base/panodata/SrcPanoImage.cpp | 4 +---
|
||||||
|
7 files changed, 8 insertions(+), 17 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/hugin1/hugin/AboutDialog.cpp b/src/hugin1/hugin/AboutDialog.cpp
|
||||||
|
index 5603957..d1291aa 100755
|
||||||
|
--- a/src/hugin1/hugin/AboutDialog.cpp
|
||||||
|
+++ b/src/hugin1/hugin/AboutDialog.cpp
|
||||||
|
@@ -42,7 +42,7 @@ extern "C"
|
||||||
|
// workaround for a conflict between exiv2 and wxWidgets/CMake built
|
||||||
|
#define HAVE_PID_T 1
|
||||||
|
#endif
|
||||||
|
-#include "exiv2/exiv2.hpp"
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
#include "lensdb/LensDB.h"
|
||||||
|
#include "sqlite3.h"
|
||||||
|
#include <lcms2.h>
|
||||||
|
diff --git a/src/hugin1/hugin/PanoOperation.cpp b/src/hugin1/hugin/PanoOperation.cpp
|
||||||
|
index cf7a6c3..7a3f0d7 100755
|
||||||
|
--- a/src/hugin1/hugin/PanoOperation.cpp
|
||||||
|
+++ b/src/hugin1/hugin/PanoOperation.cpp
|
||||||
|
@@ -36,8 +36,7 @@
|
||||||
|
// workaround for a conflict between exiv2 and wxWidgets/CMake built
|
||||||
|
#define HAVE_PID_T 1
|
||||||
|
#endif
|
||||||
|
-#include <exiv2/exif.hpp>
|
||||||
|
-#include <exiv2/image.hpp>
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
#include "base_wx/LensTools.h"
|
||||||
|
#include "base_wx/wxLensDB.h"
|
||||||
|
#include "hugin/ResetDialog.h"
|
||||||
|
diff --git a/src/hugin1/hugin/RawImport.cpp b/src/hugin1/hugin/RawImport.cpp
|
||||||
|
index 2dd4eb9..73bb143 100755
|
||||||
|
--- a/src/hugin1/hugin/RawImport.cpp
|
||||||
|
+++ b/src/hugin1/hugin/RawImport.cpp
|
||||||
|
@@ -35,10 +35,7 @@
|
||||||
|
// workaround for a conflict between exiv2 and wxWidgets/CMake built
|
||||||
|
#define HAVE_PID_T 1
|
||||||
|
#endif
|
||||||
|
-#include <exiv2/exif.hpp>
|
||||||
|
-#include <exiv2/image.hpp>
|
||||||
|
-#include <exiv2/easyaccess.hpp>
|
||||||
|
-#include <exiv2/xmpsidecar.hpp>
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
#include <wx/msw/registry.h>
|
||||||
|
#endif
|
||||||
|
diff --git a/src/hugin1/hugin/TextureManager.cpp b/src/hugin1/hugin/TextureManager.cpp
|
||||||
|
index 0d2f5da..9a0822a 100755
|
||||||
|
--- a/src/hugin1/hugin/TextureManager.cpp
|
||||||
|
+++ b/src/hugin1/hugin/TextureManager.cpp
|
||||||
|
@@ -65,8 +65,7 @@
|
||||||
|
// workaround for a conflict between exiv2 and wxWidgets/CMake built
|
||||||
|
#define HAVE_PID_T 1
|
||||||
|
#endif
|
||||||
|
-#include "exiv2/exiv2.hpp"
|
||||||
|
-#include "exiv2/preview.hpp"
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
|
||||||
|
TextureManager::TextureManager(HuginBase::Panorama *pano, ViewState *view_state_in)
|
||||||
|
{
|
||||||
|
diff --git a/src/hugin1/ptbatcher/FindPanoDialog.cpp b/src/hugin1/ptbatcher/FindPanoDialog.cpp
|
||||||
|
index 64774fb..96cd762 100755
|
||||||
|
--- a/src/hugin1/ptbatcher/FindPanoDialog.cpp
|
||||||
|
+++ b/src/hugin1/ptbatcher/FindPanoDialog.cpp
|
||||||
|
@@ -36,8 +36,7 @@
|
||||||
|
// workaround for a conflict between exiv2 and wxWidgets/CMake built
|
||||||
|
#define HAVE_PID_T 1
|
||||||
|
#endif
|
||||||
|
-#include "exiv2/exiv2.hpp"
|
||||||
|
-#include "exiv2/preview.hpp"
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
#ifdef _WIN32
|
||||||
|
#include <commctrl.h>
|
||||||
|
#endif
|
||||||
|
diff --git a/src/hugin_base/panodata/Exiv2Helper.cpp b/src/hugin_base/panodata/Exiv2Helper.cpp
|
||||||
|
index bc4c12a..5f8bcea 100755
|
||||||
|
--- a/src/hugin_base/panodata/Exiv2Helper.cpp
|
||||||
|
+++ b/src/hugin_base/panodata/Exiv2Helper.cpp
|
||||||
|
@@ -28,8 +28,7 @@
|
||||||
|
#include "Exiv2Helper.h"
|
||||||
|
#include "hugin_math/hugin_math.h"
|
||||||
|
#include "hugin_utils/utils.h"
|
||||||
|
-#include "exiv2/easyaccess.hpp"
|
||||||
|
-#include "exiv2/version.hpp"
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
|
||||||
|
namespace HuginBase
|
||||||
|
{
|
||||||
|
@@ -601,4 +600,4 @@ namespace HuginBase
|
||||||
|
};
|
||||||
|
|
||||||
|
}; //namespace Exiv2Helper
|
||||||
|
-}; //namespace HuginBase
|
||||||
|
\ No newline at end of file
|
||||||
|
+}; //namespace HuginBase
|
||||||
|
diff --git a/src/hugin_base/panodata/SrcPanoImage.cpp b/src/hugin_base/panodata/SrcPanoImage.cpp
|
||||||
|
index cc6a565..8484dd9 100755
|
||||||
|
--- a/src/hugin_base/panodata/SrcPanoImage.cpp
|
||||||
|
+++ b/src/hugin_base/panodata/SrcPanoImage.cpp
|
||||||
|
@@ -40,9 +40,7 @@
|
||||||
|
#include <vigra/diff2d.hxx>
|
||||||
|
#include <vigra/imageinfo.hxx>
|
||||||
|
#include <hugin_utils/utils.h>
|
||||||
|
-#include <exiv2/exif.hpp>
|
||||||
|
-#include <exiv2/image.hpp>
|
||||||
|
-#include <exiv2/easyaccess.hpp>
|
||||||
|
+#include <exiv2/exiv2.hpp>
|
||||||
|
#include <lensdb/LensDB.h>
|
||||||
|
#include "Exiv2Helper.h"
|
||||||
|
|
||||||
|
--
|
||||||
|
2.22.0
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d3af0d066ac50e3bb243a175a64ecda136d87178419457e8822e11bcf0e565cb
|
|
||||||
size 9838518
|
|
3
hugin-2019.0.0.tar.bz2
Normal file
3
hugin-2019.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f94717c5035b776a552163bac5815916e0662008fabefafd790fa54b352e22d1
|
||||||
|
size 10297887
|
@ -1,20 +0,0 @@
|
|||||||
Index: hugin-2018.0.0/src/hugin_base/panodata/Exiv2Helper.cpp
|
|
||||||
===================================================================
|
|
||||||
--- hugin-2018.0.0.orig/src/hugin_base/panodata/Exiv2Helper.cpp
|
|
||||||
+++ hugin-2018.0.0/src/hugin_base/panodata/Exiv2Helper.cpp
|
|
||||||
@@ -28,7 +28,7 @@
|
|
||||||
#include "Exiv2Helper.h"
|
|
||||||
#include "hugin_math/hugin_math.h"
|
|
||||||
#include "hugin_utils/utils.h"
|
|
||||||
-#include "exiv2/easyaccess.hpp"
|
|
||||||
+#include "exiv2/exiv2.hpp"
|
|
||||||
|
|
||||||
namespace HuginBase
|
|
||||||
{
|
|
||||||
@@ -600,4 +600,4 @@ namespace HuginBase
|
|
||||||
};
|
|
||||||
|
|
||||||
}; //namespace Exiv2Helper
|
|
||||||
-}; //namespace HuginBase
|
|
||||||
\ No newline at end of file
|
|
||||||
+}; //namespace HuginBase
|
|
@ -1,38 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This is a dummy SVN command, which allows to build the package without network access.
|
|
||||||
case "$*" in
|
|
||||||
"info $RPM_BUILD_DIR/hugin" )
|
|
||||||
cat <<EOF
|
|
||||||
Path: .
|
|
||||||
URL: https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk
|
|
||||||
Repository Root: https://hugin.svn.sourceforge.net/svnroot/hugin
|
|
||||||
Repository UUID: 2038758d-bd2d-0410-8553-d98df698c6e5
|
|
||||||
Revision: ${RPM_PACKAGE_VERSION##*.}
|
|
||||||
Node Kind: directory
|
|
||||||
Schedule: normal
|
|
||||||
Last Changed Author: svn-dummy-unknown
|
|
||||||
Last Changed Rev: ${RPM_PACKAGE_VERSION##*.}
|
|
||||||
Last Changed Date: svn-dummy-unknown
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
"log --non-interactive -r BASE $RPM_BUILD_DIR/hugin" )
|
|
||||||
cat <<EOF
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
r${RPM_PACKAGE_VERSION##*.} | unknown | svn-dummy- un:kn:ow +n000 | ? lines
|
|
||||||
|
|
||||||
svn-dummy-unknown
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
--version )
|
|
||||||
cat <<EOF
|
|
||||||
svn, version 0.7.0 (r?????)
|
|
||||||
svn-dummy-unknown
|
|
||||||
EOF
|
|
||||||
;;
|
|
||||||
* )
|
|
||||||
exec /usr/bin/svn "$@"
|
|
||||||
;;
|
|
||||||
esac
|
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 14 16:12:38 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- update to version 2019.0.0
|
||||||
|
* Added raw import: It converts the RAW images to TIFF using a
|
||||||
|
raw converter. This can be done by dcraw (requires additional
|
||||||
|
exiftool), RawTherapee or darktable. These programs needs to be
|
||||||
|
installed externally.
|
||||||
|
* Fixes for align_image_stack with EXR images.
|
||||||
|
* Added option for range compression. Can be helpful for LDR
|
||||||
|
panoramas to brighten the shadows before merging, because at this
|
||||||
|
stage the blender has some more information which can be helpful.
|
||||||
|
* New hotkeys for mask editor (change zoom level with 0, 1 and 2).
|
||||||
|
* Expression parser (pto_var and "manipulate image variables" in
|
||||||
|
GUI) can now read also all image variables.
|
||||||
|
* line_find: Ignore lines with low distance to each other to get
|
||||||
|
better coverage. Also use only central part of the panorama for
|
||||||
|
searching for line control points (ignoring zenit/nadir near areas).
|
||||||
|
* pano_modify: Added new switch --projection-parameter to set
|
||||||
|
projection parameters.
|
||||||
|
* Store program settings according to XDG base dir specification
|
||||||
|
(Linux only, needs to compile with wxWidgets 3.1.1 or later).
|
||||||
|
- Enable parallel build, use memory-constraints
|
||||||
|
- Replace hugin-exiv2-0.27.patch with upstream patch,
|
||||||
|
0001-Unified-inclusion-of-exiv2-library-1828925.patch
|
||||||
|
- Cleanup spec file:
|
||||||
|
* Drop obsolete SDL and freeglut BuildRequires
|
||||||
|
* Remove obsolete references to SVN (hugin uses mercurial)
|
||||||
|
* Minor cleanups, remove obsolete comments etc.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 13 10:55:00 UTC 2019 - Adam Majer <adam.majer@suse.de>
|
Wed Mar 13 10:55:00 UTC 2019 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
71
hugin.spec
71
hugin.spec
@ -17,12 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
%bcond_with hsi
|
%bcond_with hsi
|
||||||
|
%bcond_with system_flann
|
||||||
|
%bcond_without lapack
|
||||||
|
|
||||||
Name: hugin
|
Name: hugin
|
||||||
BuildRequires: Mesa-devel
|
BuildRequires: Mesa-devel
|
||||||
BuildRequires: OpenEXR-devel
|
BuildRequires: OpenEXR-devel
|
||||||
BuildRequires: SDL-devel
|
%if 0%{?suse_version} > 1325 || 0%{?sle_version} >= 150000
|
||||||
%if 0%{?suse_version} > 1325
|
|
||||||
BuildRequires: libboost_filesystem-devel
|
BuildRequires: libboost_filesystem-devel
|
||||||
BuildRequires: libboost_system-devel
|
BuildRequires: libboost_system-devel
|
||||||
%else
|
%else
|
||||||
@ -33,42 +34,43 @@ BuildRequires: desktop-file-utils
|
|||||||
BuildRequires: exiftool
|
BuildRequires: exiftool
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: fftw3-devel
|
BuildRequires: fftw3-devel
|
||||||
BuildRequires: freeglut-devel
|
%if %{with system_flann}
|
||||||
|
BuildRequires: flann-devel
|
||||||
|
%endif
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glew-devel
|
BuildRequires: glew-devel
|
||||||
BuildRequires: lapack
|
%if %{with lapack}
|
||||||
|
BuildRequires: lapack-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libexiv2-devel
|
BuildRequires: libexiv2-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: liblapack3
|
|
||||||
BuildRequires: liblcms2-devel
|
BuildRequires: liblcms2-devel
|
||||||
BuildRequires: libpano-devel >= 2.9.19
|
BuildRequires: libpano-devel >= 2.9.19
|
||||||
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libtiff-devel
|
BuildRequires: libtiff-devel
|
||||||
BuildRequires: libxml2
|
BuildRequires: memory-constraints
|
||||||
%if %{with hsi}
|
%if %{with hsi}
|
||||||
BuildRequires: python-wxWidgets >= 3
|
BuildRequires: python-wxWidgets >= 3
|
||||||
%endif
|
|
||||||
BuildRequires: sqlite3-devel
|
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
|
%endif
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: sqlite3-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: vigra-devel
|
BuildRequires: vigra-devel
|
||||||
BuildRequires: wxWidgets-devel >= 3
|
BuildRequires: wxWidgets-devel >= 3
|
||||||
BuildRequires: zip
|
%define mversion 2019.0
|
||||||
%define mversion 2018.0
|
Version: 2019.0.0
|
||||||
Version: 2018.0.0
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Toolchain for Stitching of Images and Creating Panoramas
|
Summary: Toolchain for Stitching of Images and Creating Panoramas
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Graphics/Other
|
Group: Productivity/Graphics/Other
|
||||||
Url: http://hugin.sourceforge.net/
|
Url: http://hugin.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversion}/%{name}-%{version}.tar.bz2
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{mversion}/%{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
|
|
||||||
# This script is a combined appdata.prov and desktop-file.prov to enable hugin to provide appdata.xml and desktop files see boo#952324
|
# This script is a combined appdata.prov and desktop-file.prov to enable hugin to provide appdata.xml and desktop files see boo#952324
|
||||||
Source2: find-hugin-provides.prov
|
Source1: find-hugin-provides.prov
|
||||||
Patch0: hugin.appdata.patch
|
Patch0: hugin.appdata.patch
|
||||||
Patch1: hugin-exiv2-0.27.patch
|
# PATCH-FIX-UPSTREAM https://sourceforge.net/p/hugin/hugin/ci/01e87b730bb3d2fba65e5738e4e20c25900d7ab0/
|
||||||
|
Patch1: 0001-Unified-inclusion-of-exiv2-library-1828925.patch
|
||||||
Requires: enblend-enfuse >= 3.2
|
Requires: enblend-enfuse >= 3.2
|
||||||
# needed for photo stiching (bnc#822775)
|
# needed for photo stiching (bnc#822775)
|
||||||
Requires: make
|
Requires: make
|
||||||
@ -76,7 +78,7 @@ Recommends: autopano-sift
|
|||||||
Recommends: exiftool
|
Recommends: exiftool
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%define __find_provides %{SOURCE2}
|
%define __find_provides %{SOURCE1}
|
||||||
#%%debug_package
|
#%%debug_package
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -95,34 +97,22 @@ detection and extraction of key points.
|
|||||||
|
|
||||||
chmod -x AUTHORS authors.txt Changes.txt README TODO COPYING.txt
|
chmod -x AUTHORS authors.txt Changes.txt README TODO COPYING.txt
|
||||||
|
|
||||||
# For SVN snapshot:
|
|
||||||
#setup -q -n %%{name}
|
|
||||||
# Rename Catalan in Spain to Catalan (translation removed in version 2014.0.0).
|
|
||||||
#mv src/translations/ca_ES.po src/translations/ca.po
|
|
||||||
# Rename Czech in Czech Republic to Czech.
|
# Rename Czech in Czech Republic to Czech.
|
||||||
mv src/translations/cs_CZ.po src/translations/cs.po
|
mv src/translations/cs_CZ.po src/translations/cs.po
|
||||||
#sed -i "s/ca_ES/ca/;s/cs_CZ/cs/" src/hugin/po/LINGUAS
|
#sed -i "s/ca_ES/ca/;s/cs_CZ/cs/" src/hugin/po/LINGUAS
|
||||||
# For SVN snapshot:
|
chmod 0755 %{SOURCE1}
|
||||||
#mkdir bin
|
|
||||||
#cp %%{SOURCE1} bin/svn
|
|
||||||
#chmod +x bin/svn
|
|
||||||
chmod 0755 %{SOURCE2}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo -n be8da0221960 > rev.txt
|
echo -n be8da0221960 > rev.txt
|
||||||
export PATH=$PWD/bin:$PATH
|
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
export CXXFLAGS="$CFLAGS"
|
|
||||||
# FIXME: This is an ugly hack. Build system should be fixed instead! Remove as soon as upstream fixes it (bnc#846944).
|
|
||||||
export LDFLAGS="-Wl,-rpath -Wl,%{_libdir}/hugin"
|
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-DENABLE_LAPACK=ON \
|
-DENABLE_LAPACK=%{?with_lapack:ON}%{!?with_lapack:OFF} \
|
||||||
-DBUILD_HSI=%{?with_hsi:ON}%{!?with_hsi:OFF} \
|
-DBUILD_HSI=%{?with_hsi:ON}%{!?with_hsi:OFF} \
|
||||||
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
||||||
..
|
..
|
||||||
# parallel make kills our workers
|
|
||||||
make VERBOSE=1 %{?_smp_mflags} -j1
|
%limit_build
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd .
|
pushd .
|
||||||
@ -134,8 +124,12 @@ popd
|
|||||||
%suse_update_desktop_file calibrate_lens_gui 2DGraphics
|
%suse_update_desktop_file calibrate_lens_gui 2DGraphics
|
||||||
# locales
|
# locales
|
||||||
%{find_lang} %{name}
|
%{find_lang} %{name}
|
||||||
# Use better place for MIME icons.
|
|
||||||
mv -f %{buildroot}%{_datadir}/icons/gnome %{buildroot}%{_datadir}/icons/hicolor
|
# Use better place for MIME icon.
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes
|
||||||
|
mv -f %{buildroot}%{_datadir}/icons/{gnome/48x48/mimetypes/gnome-mime-,hicolor/48x48/mimetypes/}application-x-ptoptimizer-script.png
|
||||||
|
rmdir -p --ignore-fail-on-non-empty %{buildroot}%{_datadir}/icons/gnome/48x48/mimetypes
|
||||||
|
|
||||||
# Install manually so it can be dedup'ed with the one in the program resources
|
# Install manually so it can be dedup'ed with the one in the program resources
|
||||||
install -m644 -D -t %{buildroot}%{_licensedir}/hugin/ COPYING.txt
|
install -m644 -D -t %{buildroot}%{_licensedir}/hugin/ COPYING.txt
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
@ -157,8 +151,9 @@ install -m644 -D -t %{buildroot}%{_licensedir}/hugin/ COPYING.txt
|
|||||||
%{_datadir}/hugin
|
%{_datadir}/hugin
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%{_datadir}/icons/hicolor/48x48/mimetypes/*.png
|
%{_datadir}/icons/hicolor/48x48/mimetypes/*.png
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
||||||
%{_datadir}/mime/packages/*.xml
|
%{_datadir}/mime/packages/*.xml
|
||||||
%{_datadir}/pixmaps/*.png
|
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
%{_datadir}/appdata/*xml
|
%{_datadir}/appdata/*xml
|
||||||
%dir %{_libdir}/hugin
|
%dir %{_libdir}/hugin
|
||||||
|
Loading…
Reference in New Issue
Block a user