Compare commits
No commits in common. "c9-beta" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/gnome-color-manager-3.36.0.tar.xz
|
SOURCES/gnome-color-manager-3.28.0.tar.xz
|
||||||
|
@ -1 +1 @@
|
|||||||
e5e667f84a085630103ada2daf576e4639e03450 SOURCES/gnome-color-manager-3.36.0.tar.xz
|
f8ee5eba012c95daed65fd7f2ef3a8545b88959c SOURCES/gnome-color-manager-3.28.0.tar.xz
|
||||||
|
@ -1,24 +0,0 @@
|
|||||||
From 66aea36411477f284fa8a379b3bde282385d281c Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jan Tojnar <jtojnar@gmail.com>
|
|
||||||
Date: Wed, 8 Apr 2020 16:41:32 +0200
|
|
||||||
Subject: [PATCH] Remove forgotten libcanberra include
|
|
||||||
|
|
||||||
---
|
|
||||||
src/gcm-viewer.c | 1 -
|
|
||||||
1 file changed, 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
|
|
||||||
index 77463af..d778877 100644
|
|
||||||
--- a/src/gcm-viewer.c
|
|
||||||
+++ b/src/gcm-viewer.c
|
|
||||||
@@ -12,7 +12,6 @@
|
|
||||||
#include <gdk/gdkx.h>
|
|
||||||
#include <glib/gstdio.h>
|
|
||||||
#include <locale.h>
|
|
||||||
-#include <canberra-gtk.h>
|
|
||||||
#include <colord.h>
|
|
||||||
#include <math.h>
|
|
||||||
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
41
SOURCES/gnome-color-manager-exiv2-027.patch
Normal file
41
SOURCES/gnome-color-manager-exiv2-027.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
diff --git a/src/gcm-helper-exiv.cpp b/src/gcm-helper-exiv.cpp
|
||||||
|
index 9854e79..7ec6994 100644
|
||||||
|
--- a/src/gcm-helper-exiv.cpp
|
||||||
|
+++ b/src/gcm-helper-exiv.cpp
|
||||||
|
@@ -21,6 +21,12 @@
|
||||||
|
|
||||||
|
#include <exiv2/image.hpp>
|
||||||
|
#include <exiv2/exif.hpp>
|
||||||
|
+
|
||||||
|
+#if EXIV2_MAJOR_VERSION >= 1 || (EXIV2_MAJOR_VERSION == 0 && EXIV2_MINOR_VERSION >= 27)
|
||||||
|
+#define HAVE_EXIV2_ERROR_CODE
|
||||||
|
+#include <exiv2/error.hpp>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include <iostream>
|
||||||
|
#include <iomanip>
|
||||||
|
|
||||||
|
@@ -51,7 +57,11 @@ main (int argc, char* const argv[])
|
||||||
|
if (argc == 2)
|
||||||
|
filename = argv[1];
|
||||||
|
if (filename.empty())
|
||||||
|
+#ifdef HAVE_EXIV2_ERROR_CODE
|
||||||
|
+ throw Exiv2::Error(Exiv2::kerErrorMessage, "No filename specified");
|
||||||
|
+#else
|
||||||
|
throw Exiv2::Error(1, "No filename specified");
|
||||||
|
+#endif
|
||||||
|
image = Exiv2::ImageFactory::open(filename);
|
||||||
|
image->readMetadata();
|
||||||
|
|
||||||
|
@@ -60,7 +70,11 @@ main (int argc, char* const argv[])
|
||||||
|
if (exifData.empty()) {
|
||||||
|
std::string error(argv[1]);
|
||||||
|
error += ": No Exif data found in the file";
|
||||||
|
+#ifdef HAVE_EXIV2_ERROR_CODE
|
||||||
|
+ throw Exiv2::Error(Exiv2::kerErrorMessage, error);
|
||||||
|
+#else
|
||||||
|
throw Exiv2::Error(1, error);
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
/* try to find make, model and serial number */
|
@ -1,25 +1,38 @@
|
|||||||
Name: gnome-color-manager
|
Name: gnome-color-manager
|
||||||
Version: 3.36.0
|
Version: 3.28.0
|
||||||
Release: 7%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Color management tools for GNOME
|
Summary: Color management tools for GNOME
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://gitlab.gnome.org/GNOME/gnome-color-manager
|
URL: http://mail.gnome.org/mailman/listinfo/gnome-color-manager-list
|
||||||
Source0: http://download.gnome.org/sources/gnome-color-manager/3.36/%{name}-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/gnome-color-manager/3.28/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
Patch0: 0001-Remove-forgotten-libcanberra-include.patch
|
Patch0: gnome-color-manager-exiv2-027.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: gtk3-devel >= 3.0.0
|
BuildRequires: gtk3-devel >= 3.0.0
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: lcms2-devel
|
BuildRequires: lcms2-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: libexif-devel
|
||||||
|
BuildRequires: exiv2-devel
|
||||||
|
BuildRequires: libcanberra-devel
|
||||||
BuildRequires: glib2-devel >= 2.25.9-2
|
BuildRequires: glib2-devel >= 2.25.9-2
|
||||||
BuildRequires: docbook-utils
|
BuildRequires: docbook-utils
|
||||||
BuildRequires: colord-devel >= 0.1.12
|
BuildRequires: colord-devel >= 0.1.12
|
||||||
|
BuildRequires: colord-gtk-devel >= 0.1.22
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
|
BuildRequires: vte291-devel
|
||||||
|
|
||||||
Requires: shared-mime-info
|
Requires: shared-mime-info
|
||||||
|
|
||||||
|
# Not actually a hard requirement; it just sucks to have to install the
|
||||||
|
# package using PackageKit before the user can calibrate
|
||||||
|
%if 0%{?rhel} == 0
|
||||||
|
Requires: argyllcms
|
||||||
|
%endif
|
||||||
|
|
||||||
# obsolete sub-package
|
# obsolete sub-package
|
||||||
Obsoletes: gnome-color-manager-devel <= 3.1.1
|
Obsoletes: gnome-color-manager-devel <= 3.1.1
|
||||||
Provides: gnome-color-manager-devel
|
Provides: gnome-color-manager-devel
|
||||||
@ -29,7 +42,9 @@ gnome-color-manager is a session framework that makes it easy to manage, install
|
|||||||
and generate color profiles in the GNOME desktop.
|
and generate color profiles in the GNOME desktop.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
|
|
||||||
|
%patch0 -p1 -b .exiv2-027
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson
|
||||||
@ -44,67 +59,31 @@ and generate color profiles in the GNOME desktop.
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS README
|
%doc AUTHORS README
|
||||||
%{_bindir}/gcm-*
|
%{_bindir}/gcm-*
|
||||||
|
%{_libexecdir}/gcm-*
|
||||||
%{_datadir}/applications/gcm-*.desktop
|
%{_datadir}/applications/gcm-*.desktop
|
||||||
%{_datadir}/applications/org.gnome.ColorProfileViewer.desktop
|
%{_datadir}/applications/org.gnome.ColorProfileViewer.desktop
|
||||||
%dir %{_datadir}/gnome-color-manager
|
%dir %{_datadir}/gnome-color-manager
|
||||||
|
%dir %{_datadir}/gnome-color-manager/targets
|
||||||
|
%dir %{_datadir}/gnome-color-manager/icons
|
||||||
%dir %{_datadir}/gnome-color-manager/figures
|
%dir %{_datadir}/gnome-color-manager/figures
|
||||||
|
%dir %{_datadir}/gnome-color-manager/ti1
|
||||||
|
%{_datadir}/gnome-color-manager/targets/*
|
||||||
|
%{_datadir}/gnome-color-manager/icons/*
|
||||||
%{_datadir}/gnome-color-manager/figures/*
|
%{_datadir}/gnome-color-manager/figures/*
|
||||||
|
%{_datadir}/gnome-color-manager/ti1/*
|
||||||
%{_datadir}/icons/hicolor/*/*/*.png
|
%{_datadir}/icons/hicolor/*/*/*.png
|
||||||
%{_datadir}/icons/hicolor/scalable/*/*.svg*
|
%{_datadir}/icons/hicolor/scalable/*/*.svg*
|
||||||
%{_datadir}/metainfo/org.gnome.ColorProfileViewer.appdata.xml
|
%{_datadir}/metainfo/org.gnome.ColorProfileViewer.appdata.xml
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.36.0-7
|
* Tue Oct 29 2019 Tomas Pelka <tpelka@redhat.com> - 3.28.0-3
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuild again to correctly trigger side-tag gating (exiv2)
|
||||||
Related: rhbz#1991688
|
Resolves: bz#1757445
|
||||||
|
|
||||||
* Mon May 17 2021 Richard Hughes <rhughes@redhat.com> - 3.36.0-6
|
* Tue Oct 15 2019 Jan Grulich <jgrulich@redhat.com> - 3.28.0-2
|
||||||
- Remove BRs no longer required for building
|
- Rebuild (exiv2)
|
||||||
- Resolves: rhbz#1961187
|
Resolves: bz#1757445
|
||||||
|
|
||||||
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.36.0-5
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-3
|
|
||||||
- Second attempt - Rebuilt for
|
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.36.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Apr 02 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1
|
|
||||||
- Update to 3.36.0
|
|
||||||
|
|
||||||
* Wed Mar 04 2020 Kalev Lember <klember@redhat.com> - 3.35.90-1
|
|
||||||
- Update to 3.35.90
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 23 2020 Richard Hughes <rhughes@redhat.com> - 3.32.0-3
|
|
||||||
- Remove the req for argyllcms as it is now orphaned
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
|
|
||||||
- Update to 3.32.0
|
|
||||||
|
|
||||||
* Wed Jan 30 2019 Rex Dieter <rdieter@fedoraproject.org> - 3.30.0-3
|
|
||||||
- rebuild (exiv2)
|
|
||||||
|
|
||||||
* Wed Jan 30 2019 Björn Esser <besser82@fedoraproject.org> - 3.30.0-2
|
|
||||||
- rebuild (exiv2)
|
|
||||||
|
|
||||||
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
|
|
||||||
- Update to 3.30.0
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
||||||
- Update to 3.28.0
|
- Update to 3.28.0
|
||||||
|
Loading…
Reference in New Issue
Block a user