NetBSD Problem Report #52570

From www@NetBSD.org  Sat Sep 23 12:09:43 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F10AB7A208
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 23 Sep 2017 12:09:42 +0000 (UTC)
Message-Id: <20170923120942.36A167A217@mollari.NetBSD.org>
Date: Sat, 23 Sep 2017 12:09:42 +0000 (UTC)
From: js-pkgsrc@heap.zone
Reply-To: js-pkgsrc@heap.zone
To: gnats-bugs@NetBSD.org
Subject: audio/libcanberra does not build on Darwin
X-Send-Pr-Version: www-1.0

>Number:         52570
>Category:       pkg
>Synopsis:       audio/libcanberra does not build on Darwin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adam
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 23 12:10:00 +0000 2017
>Closed-Date:    
>Last-Modified:  Mon Feb 05 07:15:44 +0000 2018
>Originator:     Jonathan Schleifer
>Release:        HEAD
>Organization:
>Environment:
>Description:
audio/libcanberra does not build on Darwin because it wants to use gdkx:
canberra-gtk.c:29:10: fatal error: 'gdk/gdkx.h' file not found
#include <gdk/gdkx.h>
         ^~~~~~~~~~~~

But gtk2 is built without x11 on Darwin.
>How-To-Repeat:

>Fix:
MacPorts has a patch:

https://trac.macports.org/browser/trunk/dports/audio/libcanberra/files/patch-gtkquartz.diff?rev=77611

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 23 Sep 2017 13:55:07 +0000
Responsible-Changed-Why:
take


From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52570: audio/libcanberra does not build on Darwin
Date: Sat, 23 Sep 2017 15:52:52 +0200

 > MacPorts has a patch:
 >=20
 > =
 https://trac.macports.org/browser/trunk/dports/audio/libcanberra/files/pat=
 ch-gtkquartz.diff?rev=3D77611

 Thanks, I will look at incorporating this.

 Does upstream know about this? If not, could you file a bug there?

 =E2=80=94Benny.=

State-Changed-From-To: open->feedback
State-Changed-By: adam@NetBSD.org
State-Changed-When: Sun, 10 Dec 2017 17:59:03 +0000
State-Changed-Why:
Fixed building, but does it really work on Darwin? Please, confirm.


From: "Adam Ciarcinski" <adam@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52570 CVS commit: pkgsrc/audio/libcanberra
Date: Sun, 10 Dec 2017 17:57:43 +0000

 Module Name:	pkgsrc
 Committed By:	adam
 Date:		Sun Dec 10 17:57:43 UTC 2017

 Modified Files:
 	pkgsrc/audio/libcanberra: distinfo
 Added Files:
 	pkgsrc/audio/libcanberra/patches: patch-src_canberra-gtk-module.c
 	    patch-src_canberra-gtk.c

 Log Message:
 libcanberra: Fix for GTK compiled with Quartz support. (PR 52570)


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/audio/libcanberra/distinfo
 cvs rdiff -u -r0 -r1.1 \
     pkgsrc/audio/libcanberra/patches/patch-src_canberra-gtk-module.c \
     pkgsrc/audio/libcanberra/patches/patch-src_canberra-gtk.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: bsiegert->adam
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Mon, 05 Feb 2018 07:15:44 +0000
Responsible-Changed-Why:
adam fixed it


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.