A while back JavaScript support was removed from mediatomb:

http://marc.info/?l=openbsd-ports&m=130203678125619&w=2
http://marc.info/?l=openbsd-ports-cvs&m=130245644017042&w=2

Well, I finally got around to trying to figure out what it would take
to re-enable
it. It turns out, nothing. I just turned it back on at it built
successfully and my
import.js stuff is working fine. I've tested this on amd64.

Hopefully Gmail doesn't mangle the patch. If it does, you can get it here:

http://www.nicktempleton.com/pub/OpenBSD/mediatomb-0.12.1p2.patch

-Nick

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mediatomb/Makefile,v
retrieving revision 1.5
diff -u Makefile
--- Makefile    10 Apr 2011 17:26:18 -0000      1.5
+++ Makefile    3 Jun 2011 02:18:30 -0000
@@ -4,7 +4,7 @@

 VER =          0.12.1
 DISTNAME =     mediatomb-${VER}
-REVISION =     1
+REVISION =     2

 CATEGORIES =   multimedia

@@ -17,7 +17,7 @@
 PERMIT_DISTFILES_FTP = Yes

 WANTLIB =      avformat avutil c crypto curl exif expat ffmpegthumbnailer idn
-WANTLIB +=     m magic mp4v2 pthread sqlite3 ssl stdc++ tag z
+WANTLIB +=     m magic mozjs mp4v2 pthread sqlite3 ssl stdc++ tag z

 MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mediatomb/}

@@ -28,13 +28,13 @@
                devel/libmagic \
                graphics/ffmpegthumbnailer \
                graphics/libexif \
+               lang/spidermonkey \
                net/curl

 CONFIGURE_STYLE =      autoconf
 CONFIGURE_ARGS +=      --disable-inotify \
                        --disable-lastfmlib \
                        --disable-mysql \
-                       --enable-libjs=no \
                        PTHREAD_LIBS="-pthread"
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"

Reply via email to