Compare commits
No commits in common. "c8" and "c9" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/gnome-color-manager-3.28.0.tar.xz
|
||||
SOURCES/gnome-color-manager-3.36.0.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
f8ee5eba012c95daed65fd7f2ef3a8545b88959c SOURCES/gnome-color-manager-3.28.0.tar.xz
|
||||
e5e667f84a085630103ada2daf576e4639e03450 SOURCES/gnome-color-manager-3.36.0.tar.xz
|
||||
|
24
SOURCES/0001-Remove-forgotten-libcanberra-include.patch
Normal file
24
SOURCES/0001-Remove-forgotten-libcanberra-include.patch
Normal file
@ -0,0 +1,24 @@
|
||||
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
|
||||
|
@ -1,41 +0,0 @@
|
||||
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,38 +1,25 @@
|
||||
Name: gnome-color-manager
|
||||
Version: 3.28.0
|
||||
Release: 3%{?dist}
|
||||
Version: 3.36.0
|
||||
Release: 7%{?dist}
|
||||
Summary: Color management tools for GNOME
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://mail.gnome.org/mailman/listinfo/gnome-color-manager-list
|
||||
Source0: http://download.gnome.org/sources/gnome-color-manager/3.28/%{name}-%{version}.tar.xz
|
||||
URL: https://gitlab.gnome.org/GNOME/gnome-color-manager
|
||||
Source0: http://download.gnome.org/sources/gnome-color-manager/3.36/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch0: gnome-color-manager-exiv2-027.patch
|
||||
Patch0: 0001-Remove-forgotten-libcanberra-include.patch
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gtk3-devel >= 3.0.0
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: lcms2-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libexif-devel
|
||||
BuildRequires: exiv2-devel
|
||||
BuildRequires: libcanberra-devel
|
||||
BuildRequires: glib2-devel >= 2.25.9-2
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: colord-devel >= 0.1.12
|
||||
BuildRequires: colord-gtk-devel >= 0.1.22
|
||||
BuildRequires: itstool
|
||||
BuildRequires: meson
|
||||
BuildRequires: vte291-devel
|
||||
|
||||
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
|
||||
Obsoletes: gnome-color-manager-devel <= 3.1.1
|
||||
Provides: gnome-color-manager-devel
|
||||
@ -42,9 +29,7 @@ gnome-color-manager is a session framework that makes it easy to manage, install
|
||||
and generate color profiles in the GNOME desktop.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch0 -p1 -b .exiv2-027
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
@ -59,31 +44,67 @@ and generate color profiles in the GNOME desktop.
|
||||
%license COPYING
|
||||
%doc AUTHORS README
|
||||
%{_bindir}/gcm-*
|
||||
%{_libexecdir}/gcm-*
|
||||
%{_datadir}/applications/gcm-*.desktop
|
||||
%{_datadir}/applications/org.gnome.ColorProfileViewer.desktop
|
||||
%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/ti1
|
||||
%{_datadir}/gnome-color-manager/targets/*
|
||||
%{_datadir}/gnome-color-manager/icons/*
|
||||
%{_datadir}/gnome-color-manager/figures/*
|
||||
%{_datadir}/gnome-color-manager/ti1/*
|
||||
%{_datadir}/icons/hicolor/*/*/*.png
|
||||
%{_datadir}/icons/hicolor/scalable/*/*.svg*
|
||||
%{_datadir}/metainfo/org.gnome.ColorProfileViewer.appdata.xml
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2019 Tomas Pelka <tpelka@redhat.com> - 3.28.0-3
|
||||
- Rebuild again to correctly trigger side-tag gating (exiv2)
|
||||
Resolves: bz#1757445
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.36.0-7
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Tue Oct 15 2019 Jan Grulich <jgrulich@redhat.com> - 3.28.0-2
|
||||
- Rebuild (exiv2)
|
||||
Resolves: bz#1757445
|
||||
* Mon May 17 2021 Richard Hughes <rhughes@redhat.com> - 3.36.0-6
|
||||
- Remove BRs no longer required for building
|
||||
- Resolves: rhbz#1961187
|
||||
|
||||
* 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
|
||||
- Update to 3.28.0
|
||||
|
Loading…
Reference in New Issue
Block a user