Bug 174925 - Properly Link Speex modules for audio/baresip
Summary: Properly Link Speex modules for audio/baresip
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 05:20 UTC by Anish Mistry
Modified: 2013-01-03 15:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.91 KB, patch)
2013-01-03 05:20 UTC, Anish Mistry
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anish Mistry 2013-01-03 05:20:00 UTC
baresip doesn't correctly link the speex modules against libspeexdsp.  This causes the speex_* modules to not load correctly when specified in ~/.baresip/config

Fix: Apply attached patch and recompile.

Patch attached with submission follows:
How-To-Repeat: Install baresip and add speex_pp.so to your modules
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-01-03 05:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-01-03 15:09:36 UTC
Author: crees
Date: Thu Jan  3 15:09:27 2013
New Revision: 309885
URL: http://svnweb.freebsd.org/changeset/ports/309885

Log:
  Introducing baresip 0.4.2, along with the same versions of libre and librem.
  re and rem must be updated first, since baresip will not compile against older
  versions.
  
  [
  Fix linking of Speex modules
  
  PR:		ports/174925 (based on)
  Submitted by:	Anish Mistry <amistry@unitedware.com>
  ]

Deleted:
  head/audio/baresip/files/patch-modules-v4l-v4l-c
  head/audio/baresip/files/patch-modules-v4l2-v4l2-c
Modified:
  head/UPDATING
  head/audio/baresip/Makefile
  head/audio/baresip/distinfo
  head/audio/re/Makefile
  head/audio/re/distinfo
  head/audio/rem/Makefile
  head/audio/rem/distinfo

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/UPDATING	Thu Jan  3 15:09:27 2013	(r309885)
@@ -6,6 +6,16 @@ You should get into the habit of checkin
 you update your ports collection, before attempting any port upgrades.
 
 20130103:
+  AFFECTS: users of audio/baresip
+  AUTHOR: crees@FreeBSD.org
+
+  Baresip is tightly linked to the versions of audio/re and audio/rem, and
+  will not build against different versions.
+
+  To update without problems, the -R flag for portupgrade is mandatory, or
+  build will fail.  Portmaster and pkgng will handle this correctly.
+
+20130103:
   AFFECTS: users of emulators/virtualbox-ose
   AUTHOR: decke@FreeBSD.org
 

Modified: head/audio/baresip/Makefile
==============================================================================
--- head/audio/baresip/Makefile	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/audio/baresip/Makefile	Thu Jan  3 15:09:27 2013	(r309885)
@@ -1,15 +1,15 @@
 # $FreeBSD$
 
 PORTNAME=	baresip
-PORTVERSION=	0.4.0
+PORTVERSION=	0.4.2
 CATEGORIES=	audio
 MASTER_SITES=	http://www.creytiv.com/pub/
 
 MAINTAINER=	crees@FreeBSD.org
 COMMENT=	Small SIP client
 
-BUILD_DEPENDS=	${LOCALBASE}/share/re/re.mk:${PORTSDIR}/audio/re \
-		${LOCALBASE}/include/rem/rem.h:${PORTSDIR}/audio/rem
+BUILD_DEPENDS=	re=${PORTVERSION}:${PORTSDIR}/audio/re \
+		rem=${PORTVERSION}:${PORTSDIR}/audio/rem
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USE_GMAKE=	yes
@@ -58,6 +58,7 @@ USE_SDL=	sdl sound
 . for s in SPEEX_AEC SPEEX_PP SPEEX_RESAMP
 MAKE_ARGS+=	USE_$s=yes
 . endfor
+MAKE_ARGS+=	HAVE_SPEEXDSP=yes
 .endif
 
 .if ${PORT_OPTIONS:MX11}

Modified: head/audio/baresip/distinfo
==============================================================================
--- head/audio/baresip/distinfo	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/audio/baresip/distinfo	Thu Jan  3 15:09:27 2013	(r309885)
@@ -1,2 +1,2 @@
-SHA256 (baresip-0.4.0.tar.gz) = e1c81730556f2cd24db94e63e4f3172892a1e8ca1047f1f506d5bbd0b436e17f
-SIZE (baresip-0.4.0.tar.gz) = 288029
+SHA256 (baresip-0.4.2.tar.gz) = 3ac15b3d3cf17b2417ba871e7eaaaf41ab10cb30b900adcee357d5e91ea033e7
+SIZE (baresip-0.4.2.tar.gz) = 323824

Modified: head/audio/re/Makefile
==============================================================================
--- head/audio/re/Makefile	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/audio/re/Makefile	Thu Jan  3 15:09:27 2013	(r309885)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	re
-PORTVERSION=	0.4.0
+PORTVERSION=	0.4.2
 CATEGORIES=	audio devel
 MASTER_SITES=	http://www.creytiv.com/pub/
 

Modified: head/audio/re/distinfo
==============================================================================
--- head/audio/re/distinfo	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/audio/re/distinfo	Thu Jan  3 15:09:27 2013	(r309885)
@@ -1,2 +1,2 @@
-SHA256 (re-0.4.0.tar.gz) = 1057da19d56dd44ca8d36202aeb5801f611bc9840840e19f55c4f17388de0683
-SIZE (re-0.4.0.tar.gz) = 252293
+SHA256 (re-0.4.2.tar.gz) = 1585e2f954abda8e9b97a8eafa2165e816aea46fb0b7ac80220d6243f4f329b1
+SIZE (re-0.4.2.tar.gz) = 263172

Modified: head/audio/rem/Makefile
==============================================================================
--- head/audio/rem/Makefile	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/audio/rem/Makefile	Thu Jan  3 15:09:27 2013	(r309885)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	rem
-PORTVERSION=	0.4.0
+PORTVERSION=	0.4.2
 CATEGORIES=	audio devel
 MASTER_SITES=	http://www.creytiv.com/pub/
 

Modified: head/audio/rem/distinfo
==============================================================================
--- head/audio/rem/distinfo	Thu Jan  3 14:57:13 2013	(r309884)
+++ head/audio/rem/distinfo	Thu Jan  3 15:09:27 2013	(r309885)
@@ -1,2 +1,2 @@
-SHA256 (rem-0.4.0.tar.gz) = 7b85a0945ad2632fcc950f5d29a1e38dc47e29bffa0063ec1176ad85df32e8fc
-SIZE (rem-0.4.0.tar.gz) = 24352
+SHA256 (rem-0.4.2.tar.gz) = 55c66118e3026c5ed42d8b9e0c668149baefe83f1aa76394cddba2d72f45d5c7
+SIZE (rem-0.4.2.tar.gz) = 32978
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Chris Rees freebsd_committer freebsd_triage 2013-01-03 15:10:42 UTC
State Changed
From-To: open->closed

I traced this to the autodetection logic being supposed to handle this; 
since I disabled it in the port it must be enabled manually.  Thanks for 
the hint!