NetBSD Problem Report #53613

From www@NetBSD.org  Mon Sep 17 13:54:09 2018
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 924517A18A
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 17 Sep 2018 13:54:09 +0000 (UTC)
Message-Id: <20180917135406.DFA7D7A237@mollari.NetBSD.org>
Date: Mon, 17 Sep 2018 13:54:06 +0000 (UTC)
From: bastiangermann@fishpost.de
Reply-To: bastiangermann@fishpost.de
To: gnats-bugs@NetBSD.org
Subject: New package: audio/alure-1.2
X-Send-Pr-Version: www-1.0

>Number:         53613
>Category:       pkg
>Synopsis:       New package: audio/alure-1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 17 13:55:01 +0000 2018
>Closed-Date:    Fri Sep 21 13:26:19 +0000 2018
>Last-Modified:  Wed Sep 26 16:30:01 +0000 2018
>Originator:     Bastian Germann
>Release:        
>Organization:
>Environment:
>Description:
ALURE is a utility library to help manage common tasks with OpenAL applications. This includes device enumeration and initialization, file loading, and streaming.

The purpose of this library is to provide pre-made functionality that would otherwise be repetitive or difficult to (re)code for various projects and platforms, such as loading a sound file into an OpenAL buffer and streaming an audio file through a buffer queue. Support for different formats is consistant across platforms, so no special checks are needed when loading files, and all formats are handled through the same API.
>How-To-Repeat:

>Fix:
begin 644 alure.tar.gz
M'XL(`-RNGUL``^U9:W/:2!;-5^M7]";Y8!=!Z/U(+;/&1G;8\"J$LS.?J%:K
M!8J%I)6$,\Y4_OO>EL3+QD!F8Z=V5J<2"V[?OGWZH=/=%QPL$MIX]:P0`+JJ
MLJ>HJ\+F<XE7HBPKNB[*DJ*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%2I4
;J%"A0H4*%2I4J%"A0H4*?SG\!V:9P>``4```
`
end

>Release-Note:

>Audit-Trail:
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53613 CVS commit: pkgsrc/audio/alure
Date: Fri, 21 Sep 2018 13:24:34 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Fri Sep 21 13:24:34 UTC 2018

 Added Files:
 	pkgsrc/audio/alure: DESCR Makefile PLIST buildlink3.mk distinfo
 	    options.mk
 	pkgsrc/audio/alure/patches: patch-CMakeLists.txt
 	    patch-src_codec__fluidsynth.cpp

 Log Message:
 Add alure 1.2

 ALURE is a utility library to help manage common tasks with OpenAL
 applications. This includes device enumeration and initialization, file
 loading, and streaming.

 The purpose of this library is to provide pre-made functionality that would
 otherwise be repetitive or difficult to (re)code for various projects and
 platforms, such as loading a sound file into an OpenAL buffer and streaming an
 audio file through a buffer queue. Support for different formats is consistant
 across platforms, so no special checks are needed when loading files, and all
 formats are handled through the same API.

 Packaged by Bastian Germann in PR pkg/53613.


 To generate a diff of this commit:
 cvs rdiff -u -r0 -r1.1 pkgsrc/audio/alure/DESCR pkgsrc/audio/alure/Makefile \
     pkgsrc/audio/alure/PLIST pkgsrc/audio/alure/buildlink3.mk \
     pkgsrc/audio/alure/distinfo pkgsrc/audio/alure/options.mk
 cvs rdiff -u -r0 -r1.1 pkgsrc/audio/alure/patches/patch-CMakeLists.txt \
     pkgsrc/audio/alure/patches/patch-src_codec__fluidsynth.cpp

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

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 21 Sep 2018 13:26:19 +0000
State-Changed-Why:
Added, thanks!


From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53613: New package: audio/alure-1.2
Date: Fri, 21 Sep 2018 15:47:47 +0200

 Hello Bastian,

 bastiangermann@fishpost.de writes:
 > >Number:         53613
 > >Category:       pkg
 > >Synopsis:       New package: audio/alure-1.2
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          change-request
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon Sep 17 13:55:01 +0000 2018
 > >Originator:     Bastian Germann
 > >Release:        
 > >Organization:
 > >Environment:
 > >Description:
 > [...]

 At the moment alure buildlink3.mk is not used so practically it is
 not an issue but...

 Does the buildlink3.mk needs to be aware of the possible options and
 include corresponding bl3 as well on buildlink3.mk based on the options
 used?


 Thanks!

From: Bastian Germann <bastiangermann@fishpost.de>
To: gnats-bugs@NetBSD.org, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org
Cc: 
Subject: Re: pkg/53613: New package: audio/alure-1.2
Date: Tue, 25 Sep 2018 12:24:28 +0200

 In the submitted version the buildlink3 is aware of the options. You can
 check that with wip/gambas3-gb-openal.

 Am 21.09.18 um 15:50 schrieb Leonardo Taccari:
 > The following reply was made to PR pkg/53613; it has been noted by GNATS.
 > 
 > From: Leonardo Taccari <leot@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/53613: New package: audio/alure-1.2
 > Date: Fri, 21 Sep 2018 15:47:47 +0200
 > 
 >  Hello Bastian,
 >  
 >  bastiangermann@fishpost.de writes:
 >  > >Number:         53613
 >  > >Category:       pkg
 >  > >Synopsis:       New package: audio/alure-1.2
 >  > >Confidential:   no
 >  > >Severity:       non-critical
 >  > >Priority:       medium
 >  > >Responsible:    pkg-manager
 >  > >State:          open
 >  > >Class:          change-request
 >  > >Submitter-Id:   net
 >  > >Arrival-Date:   Mon Sep 17 13:55:01 +0000 2018
 >  > >Originator:     Bastian Germann
 >  > >Release:        
 >  > >Organization:
 >  > >Environment:
 >  > >Description:
 >  > [...]
 >  
 >  At the moment alure buildlink3.mk is not used so practically it is
 >  not an issue but...
 >  
 >  Does the buildlink3.mk needs to be aware of the possible options and
 >  include corresponding bl3 as well on buildlink3.mk based on the options
 >  used?
 >  
 >  
 >  Thanks!
 >  
 > 

From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53613: New package: audio/alure-1.2
Date: Tue, 25 Sep 2018 12:45:23 +0200

 Hello Bastian,

 Bastian Germann writes:
 > In the submitted version the buildlink3 is aware of the options. You can
 > check that with wip/gambas3-gb-openal.

 Sorry, I don't follow.  wip/gambas3-gb-openal seems to include alure
 bl3 and that's okay if alure was built with the default package
 options, but (maybe!) can be problematic if alure was built with
 non-default (extra) options.

 What I meant is, should audio/alure/buildlink3.mk be adjusted like that:

 Index: buildlink3.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/audio/alure/buildlink3.mk,v
 retrieving revision 1.1
 diff -u -p -r1.1 buildlink3.mk
 --- buildlink3.mk	21 Sep 2018 13:24:34 -0000	1.1
 +++ buildlink3.mk	25 Sep 2018 10:43:56 -0000
 @@ -8,6 +8,33 @@ ALURE_BUILDLINK3_MK:=
  BUILDLINK_API_DEPENDS.alure+=	alure>=1.2
  BUILDLINK_PKGSRCDIR.alure?=	../../audio/alure

 +pkgbase := alure
 +.include "../../mk/pkg-build-options.mk"
 +
 +.if !empty(PKG_BUILD_OPTIONS.alure:Mflac)
 +.include "../../audio/flac/buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_BUILD_OPTIONS.alure:Mfluidsynth)
 +.include "../../audio/fluidsynth/buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_BUILD_OPTIONS.alure:Mmodplug)
 +.include "../../audio/libmodplug/buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_BUILD_OPTIONS.alure:Msndfile)
 +.include "../../audio/libsndfile/buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_BUILD_OPTIONS.alure:Mvorbis)
 +.include "../../audio/libvorbis/buildlink3.mk"
 +.endif
 +
 +.if !empty(PKG_BUILD_OPTIONS.alure:Mmpg123)
 +.include "../../audio/mpg123/buildlink3.mk"
 +.endif
 +
  .include "../../audio/openal-soft/buildlink3.mk"
  .endif	# ALURE_BUILDLINK3_MK


 Thank you!

From: Bastian Germann <bastiangermann@fishpost.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53613: New package: audio/alure-1.2
Date: Tue, 25 Sep 2018 12:53:14 +0200

 If that is what packages with buildlink3 and options do, you can add the
 patch. I am new to this.

 Am 25.09.18 um 12:50 schrieb Leonardo Taccari:
 > The following reply was made to PR pkg/53613; it has been noted by GNATS.
 > 
 > From: Leonardo Taccari <leot@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/53613: New package: audio/alure-1.2
 > Date: Tue, 25 Sep 2018 12:45:23 +0200
 > 
 >  Hello Bastian,
 >  
 >  Bastian Germann writes:
 >  > In the submitted version the buildlink3 is aware of the options. You can
 >  > check that with wip/gambas3-gb-openal.
 >  
 >  Sorry, I don't follow.  wip/gambas3-gb-openal seems to include alure
 >  bl3 and that's okay if alure was built with the default package
 >  options, but (maybe!) can be problematic if alure was built with
 >  non-default (extra) options.
 >  
 >  What I meant is, should audio/alure/buildlink3.mk be adjusted like that:
 >  
 >  Index: buildlink3.mk
 >  ===================================================================
 >  RCS file: /cvsroot/pkgsrc/audio/alure/buildlink3.mk,v
 >  retrieving revision 1.1
 >  diff -u -p -r1.1 buildlink3.mk
 >  --- buildlink3.mk	21 Sep 2018 13:24:34 -0000	1.1
 >  +++ buildlink3.mk	25 Sep 2018 10:43:56 -0000
 >  @@ -8,6 +8,33 @@ ALURE_BUILDLINK3_MK:=
 >   BUILDLINK_API_DEPENDS.alure+=	alure>=1.2
 >   BUILDLINK_PKGSRCDIR.alure?=	../../audio/alure
 >   
 >  +pkgbase := alure
 >  +.include "../../mk/pkg-build-options.mk"
 >  +
 >  +.if !empty(PKG_BUILD_OPTIONS.alure:Mflac)
 >  +.include "../../audio/flac/buildlink3.mk"
 >  +.endif
 >  +
 >  +.if !empty(PKG_BUILD_OPTIONS.alure:Mfluidsynth)
 >  +.include "../../audio/fluidsynth/buildlink3.mk"
 >  +.endif
 >  +
 >  +.if !empty(PKG_BUILD_OPTIONS.alure:Mmodplug)
 >  +.include "../../audio/libmodplug/buildlink3.mk"
 >  +.endif
 >  +
 >  +.if !empty(PKG_BUILD_OPTIONS.alure:Msndfile)
 >  +.include "../../audio/libsndfile/buildlink3.mk"
 >  +.endif
 >  +
 >  +.if !empty(PKG_BUILD_OPTIONS.alure:Mvorbis)
 >  +.include "../../audio/libvorbis/buildlink3.mk"
 >  +.endif
 >  +
 >  +.if !empty(PKG_BUILD_OPTIONS.alure:Mmpg123)
 >  +.include "../../audio/mpg123/buildlink3.mk"
 >  +.endif
 >  +
 >   .include "../../audio/openal-soft/buildlink3.mk"
 >   .endif	# ALURE_BUILDLINK3_MK
 >   
 >  
 >  Thank you!
 >  
 > 

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53613: New package: audio/alure-1.2
Date: Wed, 26 Sep 2018 16:28:14 +0000

 On Tue, Sep 25, 2018 at 10:50:01AM +0000, Leonardo Taccari wrote:
  >  What I meant is, should audio/alure/buildlink3.mk be adjusted like that:
  >  [...]
  >  +.include "../../mk/pkg-build-options.mk"
  >  +
  >  +.if !empty(PKG_BUILD_OPTIONS.alure:Mflac)
  >  +.include "../../audio/flac/buildlink3.mk"
  >  +.endif
  >  [...]

 It depends on how the library works -- if its public include files
 include (for this example) flac's, then you need this or the package
 using alure won't be able to get to them. Otherwise (if the library
 presents its own self-contained API and ABI) you don't.

 I think. Now that I think about it I'm not sure what happens with
 static linking :-/

 -- 
 David A. Holland
 dholland@netbsd.org

>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.