Date: Wed, 8 Jul 2009 15:41:26 -0400 From: "Joseph S. Atkinson" <jsa@wickedmachine.net> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/136481: audio/exaile-devel - include recommended depend Message-ID: <1247082086.4428@shaitan.wickedmachine.net> Resent-Message-ID: <200907081950.n68Jo1a3029473@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136481 >Category: ports >Synopsis: audio/exaile-devel - include recommended depend >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jul 08 19:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Joseph S. Atkinson >Release: FreeBSD 8.0-BETA1 amd64 >Organization: >Environment: System: FreeBSD 8.0-BETA1 #3 r195422: Mon Jul 6 23:16:46 EDT 2009 jsa@shaitan.wickedmachine.net:/usr/obj/usr/src/sys/SHAITAN >Description: On most systems, the default Python bsddb module is Python's module. On FreeBSD, we build one based on the bsddb in base and make Python's a seperate port. Our default works with Exaile, but causes a bit of oddness, such as file paths inexplicably relocating. This oddness may cause further unseen consequences, so instead we will rely on databases/py-bsddb to keep in sync with expected behaviors. If users decide that potentially broken behavior is good enough for them and they do not want this extra dependency, I have left the rope on the chandelier for them. >How-To-Repeat: After setting up Exaile with paths to the music directories, exaile will create the file: ~/.local/share/exail/music.db.db This file should really have only one db extension, and this artifact is tied to some differenence in behavior between the the two flavors of bsddb modules. >Fix: --- exail-devel_bsddb.diff begins here --- diff -ru exaile-devel.orig/Makefile exaile-devel/Makefile --- exaile-devel.orig/Makefile 2009-07-08 15:04:09.576086902 -0400 +++ exaile-devel/Makefile 2009-07-08 15:16:11.955643801 -0400 @@ -7,7 +7,7 @@ PORTNAME= exaile DISTVERSION= 0.2.99.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.exaile.org/files/ \ http://wickedmachine.net/~jsa/FreeBSD/distfiles/ @@ -29,7 +29,8 @@ # The reality with these options is that they all will be autodetected and used # if already installed. These just force Exaile to bring them in as well. -OPTIONS= BAD "Install bad gstreamer plugins" On\ +OPTIONS= BAD "Install bad GStreamer plugins" On \ + BDB "Install Python Berkley DB module" On \ CDDB "Lookup CD information within Exaile" On \ DBUS "Rely on Python D-Bus bindings" On \ HAL "Force depend on HAL" On \ @@ -41,6 +42,10 @@ USE_GSTREAMER+= bad .endif +.if !defined(WITHOUT_BDB) +RUN_DEPENDS+= py*-bsddb>=2.5:${PORTSDIR}/databases/py-bsddb +.endif + .if !defined(WITHOUT_CDDB) RUN_DEPENDS+= py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb .endif --- exail-devel_bsddb.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1247082086.4428>