git: ea52fdc7a840 - main - graphics/gnome-color-manager: eliminate canberra dependency

From: Tijl Coosemans <tijl_at_FreeBSD.org>
Date: Fri, 27 May 2022 09:55:01 UTC
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea52fdc7a8404532fccaf37223097602a8ab5dc4

commit ea52fdc7a8404532fccaf37223097602a8ab5dc4
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2022-05-20 15:51:52 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2022-05-27 09:11:01 +0000

    graphics/gnome-color-manager: eliminate canberra dependency
    
    PR:             263970
---
 graphics/gnome-color-manager/Makefile                     |  4 +---
 graphics/gnome-color-manager/files/patch-src_gcm-viewer.c | 10 ++++++++++
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/graphics/gnome-color-manager/Makefile b/graphics/gnome-color-manager/Makefile
index c2a9abc82c5e..d7cb18cab01e 100644
--- a/graphics/gnome-color-manager/Makefile
+++ b/graphics/gnome-color-manager/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	gnome-color-manager
 PORTVERSION=	3.36.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
@@ -19,8 +19,6 @@ BUILD_DEPENDS=	docbook2man:textproc/docbook-utils \
 LIB_DEPENDS=	liblcms2.so:graphics/lcms2 \
 		libcolord.so:graphics/colord \
 		libcolord-gtk.so:graphics/colord-gtk \
-		libcanberra.so:audio/libcanberra \
-		libcanberra-gtk3.so:audio/libcanberra-gtk3 \
 		libtiff.so:graphics/tiff \
 		libexif.so:graphics/libexif
 
diff --git a/graphics/gnome-color-manager/files/patch-src_gcm-viewer.c b/graphics/gnome-color-manager/files/patch-src_gcm-viewer.c
new file mode 100644
index 000000000000..4d9641067ab1
--- /dev/null
+++ b/graphics/gnome-color-manager/files/patch-src_gcm-viewer.c
@@ -0,0 +1,10 @@
+--- src/gcm-viewer.c.orig	2020-04-01 13:12:27 UTC
++++ 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>
+