Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Jul 2008 15:43:50 +0900 (JST)
From:      Ayumi M <ayu@commun.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125178: [NEW PORT] net/wizd: An open-source media server for Syabas-based media players
Message-ID:  <20080702064350.AE36B6262@dahlia.commun.jp>
Resent-Message-ID: <200807020710.m627A2sQ085787@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125178
>Category:       ports
>Synopsis:       [NEW PORT] net/wizd: An open-source media server for Syabas-based media players
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 02 07:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ayumi M
>Release:        FreeBSD 7.0-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD dahlia.commun.jp 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008
>Description:
Wizd is serving all your media files (video, audio, photo...) to your
Syabas-based network player.

WWW:	http://wizd.sourceforge.net/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- wizd-24.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wizd
#	wizd/pkg-descr
#	wizd/Makefile
#	wizd/pkg-plist
#	wizd/distinfo
#	wizd/files
#	wizd/files/patch-wizd_menu.c
#	wizd/files/patch-wizd_http.c
#	wizd/files/patch-wizd.conf
#	wizd/files/patch-nkfwrap__nkfwrap_test.c
#	wizd/files/wizd.sh.in
#	wizd/files/patch-Makefile
#
echo c - wizd
mkdir -p wizd > /dev/null 2>&1
echo x - wizd/pkg-descr
sed 's/^X//' >wizd/pkg-descr << 'END-of-wizd/pkg-descr'
XWizd is serving all your media files (video, audio, photo...) to your
XSyabas-based network player.
X
XWWW:	http://wizd.sourceforge.net/
END-of-wizd/pkg-descr
echo x - wizd/Makefile
sed 's/^X//' >wizd/Makefile << 'END-of-wizd/Makefile'
X# New ports collection makefile for:	wizd
X# Date created:		2008-06-25
X# Whom:			Ayumi M <ayu@commun.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	wizd
XPORTVERSION=	24
XCATEGORIES=	net multimedia
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTFILES=	wizd_sources_v${PORTVERSION}.zip simplicity_v1-2.zip
X
XMAINTAINER=	ayu@commun.jp
XCOMMENT=	An open-source media server for Syabas-based media players
X
XLIB_DEPENDS=	dvdread.5:${PORTSDIR}/multimedia/libdvdread
XRUN_DEPENDS=	nkf:${PORTSDIR}/japanese/nkf
X
XNO_WRKSUBDIR=	yes
XUSE_DOS2UNIX=	Makefile
XUSE_ZIP=	yes
XUSE_RC_SUBR=	${PORTNAME}.sh
X
X.include <bsd.port.pre.mk>
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wizd ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/wizd.conf ${PREFIX}/etc/wizd.conf.sample
X
X	@${MKDIR} ${PREFIX}/share/${PORTNAME}/skins
X.for DIR in simplicity simplicity_hires
X	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${PREFIX}/share/${PORTNAME}/skins)
X.endfor
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/ChangeLog.txt ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-wizd/Makefile
echo x - wizd/pkg-plist
sed 's/^X//' >wizd/pkg-plist << 'END-of-wizd/pkg-plist'
Xbin/wizd
Xetc/rc.d/wizd
Xetc/wizd.conf.sample
Xshare/doc/wizd/ChangeLog.txt
Xshare/wizd/skins/simplicity/back-delete.jpg
Xshare/wizd/skins/simplicity/back-portal.jpg
Xshare/wizd/skins/simplicity/back.jpg
Xshare/wizd/skins/simplicity/delete_head.html
Xshare/wizd/skins/simplicity/delete_tail.html
Xshare/wizd/skins/simplicity/down.png
Xshare/wizd/skins/simplicity/favorite.png
Xshare/wizd/skins/simplicity/favorite2.png
Xshare/wizd/skins/simplicity/files.png
Xshare/wizd/skins/simplicity/files2.png
Xshare/wizd/skins/simplicity/head.html
Xshare/wizd/skins/simplicity/icon-blank.gif
Xshare/wizd/skins/simplicity/icon_delete.png
Xshare/wizd/skins/simplicity/icon_dir.png
Xshare/wizd/skins/simplicity/icon_document.png
Xshare/wizd/skins/simplicity/icon_image.png
Xshare/wizd/skins/simplicity/icon_iso.png
Xshare/wizd/skins/simplicity/icon_jpeg.png
Xshare/wizd/skins/simplicity/icon_movie.png
Xshare/wizd/skins/simplicity/icon_music.png
Xshare/wizd/skins/simplicity/icon_svi.png
Xshare/wizd/skins/simplicity/icon_unknown.png
Xshare/wizd/skins/simplicity/icon_url.png
Xshare/wizd/skins/simplicity/icon_videots.png
Xshare/wizd/skins/simplicity/image_viewer.html
Xshare/wizd/skins/simplicity/line_album.html
Xshare/wizd/skins/simplicity/line_aviinfo.html
Xshare/wizd/skins/simplicity/line_chapter.html
Xshare/wizd/skins/simplicity/line_delete.html
Xshare/wizd/skins/simplicity/line_dir.html
Xshare/wizd/skins/simplicity/line_document.html
Xshare/wizd/skins/simplicity/line_image.html
Xshare/wizd/skins/simplicity/line_iso.html
Xshare/wizd/skins/simplicity/line_jpeg.html
Xshare/wizd/skins/simplicity/line_movie.html
Xshare/wizd/skins/simplicity/line_mp3info.html
Xshare/wizd/skins/simplicity/line_music.html
Xshare/wizd/skins/simplicity/line_musiclist.html
Xshare/wizd/skins/simplicity/line_playlist.html
Xshare/wizd/skins/simplicity/line_pseudo.html
Xshare/wizd/skins/simplicity/line_svi.html
Xshare/wizd/skins/simplicity/line_svi_file.html
Xshare/wizd/skins/simplicity/line_unknown.html
Xshare/wizd/skins/simplicity/line_url.html
Xshare/wizd/skins/simplicity/line_videots.html
Xshare/wizd/skins/simplicity/music.png
Xshare/wizd/skins/simplicity/music2.png
Xshare/wizd/skins/simplicity/nav-parentdir.gif
Xshare/wizd/skins/simplicity/next-gr.png
Xshare/wizd/skins/simplicity/next.png
Xshare/wizd/skins/simplicity/option_menu.html
Xshare/wizd/skins/simplicity/option_menu.jpg
Xshare/wizd/skins/simplicity/photos.png
Xshare/wizd/skins/simplicity/photos2.png
Xshare/wizd/skins/simplicity/prev-gr.png
Xshare/wizd/skins/simplicity/prev.png
Xshare/wizd/skins/simplicity/puce.png
Xshare/wizd/skins/simplicity/readme.txt
Xshare/wizd/skins/simplicity/services.png
Xshare/wizd/skins/simplicity/services2.png
Xshare/wizd/skins/simplicity/spacer.gif
Xshare/wizd/skins/simplicity/start.html
Xshare/wizd/skins/simplicity/tail.html
Xshare/wizd/skins/simplicity/thumb_aviinfo.html
Xshare/wizd/skins/simplicity/thumb_chapter.html
Xshare/wizd/skins/simplicity/thumb_delete.png
Xshare/wizd/skins/simplicity/thumb_dir.gif
Xshare/wizd/skins/simplicity/thumb_dir.html
Xshare/wizd/skins/simplicity/thumb_dir.png
Xshare/wizd/skins/simplicity/thumb_document.html
Xshare/wizd/skins/simplicity/thumb_document.png
Xshare/wizd/skins/simplicity/thumb_head.html
Xshare/wizd/skins/simplicity/thumb_image.html
Xshare/wizd/skins/simplicity/thumb_image.png
Xshare/wizd/skins/simplicity/thumb_iso.html
Xshare/wizd/skins/simplicity/thumb_iso.png
Xshare/wizd/skins/simplicity/thumb_jpeg.html
Xshare/wizd/skins/simplicity/thumb_jpeg.png
Xshare/wizd/skins/simplicity/thumb_movie.html
Xshare/wizd/skins/simplicity/thumb_movie.png
Xshare/wizd/skins/simplicity/thumb_mp3info.html
Xshare/wizd/skins/simplicity/thumb_music.html
Xshare/wizd/skins/simplicity/thumb_music.png
Xshare/wizd/skins/simplicity/thumb_musiclist.html
Xshare/wizd/skins/simplicity/thumb_playlist.html
Xshare/wizd/skins/simplicity/thumb_pseudo.html
Xshare/wizd/skins/simplicity/thumb_row.html
Xshare/wizd/skins/simplicity/thumb_svi.html
Xshare/wizd/skins/simplicity/thumb_svi.png
Xshare/wizd/skins/simplicity/thumb_tail.html
Xshare/wizd/skins/simplicity/thumb_unknown.html
Xshare/wizd/skins/simplicity/thumb_unknown.png
Xshare/wizd/skins/simplicity/thumb_url.html
Xshare/wizd/skins/simplicity/thumb_url.png
Xshare/wizd/skins/simplicity/thumb_videots.png
Xshare/wizd/skins/simplicity/up.png
Xshare/wizd/skins/simplicity/videos.png
Xshare/wizd/skins/simplicity/videos2.png
Xshare/wizd/skins/simplicity/wizd_skin.conf
Xshare/wizd/skins/simplicity_hires/back-delete.jpg
Xshare/wizd/skins/simplicity_hires/back-portal.jpg
Xshare/wizd/skins/simplicity_hires/back.jpg
Xshare/wizd/skins/simplicity_hires/delete_head.html
Xshare/wizd/skins/simplicity_hires/delete_tail.html
Xshare/wizd/skins/simplicity_hires/down.png
Xshare/wizd/skins/simplicity_hires/favorite.png
Xshare/wizd/skins/simplicity_hires/favorite2.png
Xshare/wizd/skins/simplicity_hires/files.png
Xshare/wizd/skins/simplicity_hires/files2.png
Xshare/wizd/skins/simplicity_hires/head.html
Xshare/wizd/skins/simplicity_hires/icon-blank.gif
Xshare/wizd/skins/simplicity_hires/icon_delete.png
Xshare/wizd/skins/simplicity_hires/icon_dir.png
Xshare/wizd/skins/simplicity_hires/icon_document.png
Xshare/wizd/skins/simplicity_hires/icon_image.png
Xshare/wizd/skins/simplicity_hires/icon_iso.png
Xshare/wizd/skins/simplicity_hires/icon_jpeg.png
Xshare/wizd/skins/simplicity_hires/icon_movie.png
Xshare/wizd/skins/simplicity_hires/icon_music.png
Xshare/wizd/skins/simplicity_hires/icon_svi.png
Xshare/wizd/skins/simplicity_hires/icon_unknown.png
Xshare/wizd/skins/simplicity_hires/icon_url.png
Xshare/wizd/skins/simplicity_hires/icon_videots.png
Xshare/wizd/skins/simplicity_hires/image_viewer.html
Xshare/wizd/skins/simplicity_hires/line_album.html
Xshare/wizd/skins/simplicity_hires/line_aviinfo.html
Xshare/wizd/skins/simplicity_hires/line_chapter.html
Xshare/wizd/skins/simplicity_hires/line_delete.html
Xshare/wizd/skins/simplicity_hires/line_dir.html
Xshare/wizd/skins/simplicity_hires/line_document.html
Xshare/wizd/skins/simplicity_hires/line_image.html
Xshare/wizd/skins/simplicity_hires/line_iso.html
Xshare/wizd/skins/simplicity_hires/line_jpeg.html
Xshare/wizd/skins/simplicity_hires/line_movie.html
Xshare/wizd/skins/simplicity_hires/line_mp3info.html
Xshare/wizd/skins/simplicity_hires/line_music.html
Xshare/wizd/skins/simplicity_hires/line_musiclist.html
Xshare/wizd/skins/simplicity_hires/line_playlist.html
Xshare/wizd/skins/simplicity_hires/line_pseudo.html
Xshare/wizd/skins/simplicity_hires/line_svi.html
Xshare/wizd/skins/simplicity_hires/line_svi_file.html
Xshare/wizd/skins/simplicity_hires/line_unknown.html
Xshare/wizd/skins/simplicity_hires/line_url.html
Xshare/wizd/skins/simplicity_hires/line_videots.html
Xshare/wizd/skins/simplicity_hires/music.png
Xshare/wizd/skins/simplicity_hires/music2.png
Xshare/wizd/skins/simplicity_hires/nav-parentdir.gif
Xshare/wizd/skins/simplicity_hires/next-gr.png
Xshare/wizd/skins/simplicity_hires/next.png
Xshare/wizd/skins/simplicity_hires/option_menu.html
Xshare/wizd/skins/simplicity_hires/option_menu.jpg
Xshare/wizd/skins/simplicity_hires/photos.png
Xshare/wizd/skins/simplicity_hires/photos2.png
Xshare/wizd/skins/simplicity_hires/prev-gr.png
Xshare/wizd/skins/simplicity_hires/prev.png
Xshare/wizd/skins/simplicity_hires/puce.png
Xshare/wizd/skins/simplicity_hires/readme.txt
Xshare/wizd/skins/simplicity_hires/services.png
Xshare/wizd/skins/simplicity_hires/services2.png
Xshare/wizd/skins/simplicity_hires/spacer.gif
Xshare/wizd/skins/simplicity_hires/start.html
Xshare/wizd/skins/simplicity_hires/tail.html
Xshare/wizd/skins/simplicity_hires/thumb_chapter.html
Xshare/wizd/skins/simplicity_hires/thumb_delete.png
Xshare/wizd/skins/simplicity_hires/thumb_dir.html
Xshare/wizd/skins/simplicity_hires/thumb_dir.png
Xshare/wizd/skins/simplicity_hires/thumb_document.html
Xshare/wizd/skins/simplicity_hires/thumb_document.png
Xshare/wizd/skins/simplicity_hires/thumb_head.html
Xshare/wizd/skins/simplicity_hires/thumb_image.html
Xshare/wizd/skins/simplicity_hires/thumb_image.png
Xshare/wizd/skins/simplicity_hires/thumb_iso.html
Xshare/wizd/skins/simplicity_hires/thumb_iso.png
Xshare/wizd/skins/simplicity_hires/thumb_jpeg.html
Xshare/wizd/skins/simplicity_hires/thumb_jpeg.png
Xshare/wizd/skins/simplicity_hires/thumb_movie.html
Xshare/wizd/skins/simplicity_hires/thumb_movie.png
Xshare/wizd/skins/simplicity_hires/thumb_music.html
Xshare/wizd/skins/simplicity_hires/thumb_music.png
Xshare/wizd/skins/simplicity_hires/thumb_musiclist.html
Xshare/wizd/skins/simplicity_hires/thumb_playlist.html
Xshare/wizd/skins/simplicity_hires/thumb_pseudo.html
Xshare/wizd/skins/simplicity_hires/thumb_row.html
Xshare/wizd/skins/simplicity_hires/thumb_svi.html
Xshare/wizd/skins/simplicity_hires/thumb_svi.png
Xshare/wizd/skins/simplicity_hires/thumb_tail.html
Xshare/wizd/skins/simplicity_hires/thumb_unknown.html
Xshare/wizd/skins/simplicity_hires/thumb_unknown.png
Xshare/wizd/skins/simplicity_hires/thumb_url.html
Xshare/wizd/skins/simplicity_hires/thumb_url.png
Xshare/wizd/skins/simplicity_hires/up.png
Xshare/wizd/skins/simplicity_hires/videos.png
Xshare/wizd/skins/simplicity_hires/videos2.png
Xshare/wizd/skins/simplicity_hires/wizd_skin.conf
X@dirrm share/wizd/skins/simplicity_hires
X@dirrm share/wizd/skins/simplicity
X@dirrm share/wizd/skins
X@dirrm share/wizd
X@dirrm share/doc/wizd
END-of-wizd/pkg-plist
echo x - wizd/distinfo
sed 's/^X//' >wizd/distinfo << 'END-of-wizd/distinfo'
XMD5 (wizd_sources_v24.zip) = c0c5ded8e67bdbdc3cd2abb255c12233
XSHA256 (wizd_sources_v24.zip) = 439def5e3e0e59c0ed6dfe83dc57da497d6fd826951f2fc4398007afdce31ecb
XSIZE (wizd_sources_v24.zip) = 414369
XMD5 (simplicity_v1-2.zip) = 055a9e2e321be1efc1473bc80cb07453
XSHA256 (simplicity_v1-2.zip) = 614c68b66022865d4d78523f3a3f3b9efe023f717ec1b2b97d2d95d867b735bb
XSIZE (simplicity_v1-2.zip) = 495381
END-of-wizd/distinfo
echo c - wizd/files
mkdir -p wizd/files > /dev/null 2>&1
echo x - wizd/files/patch-wizd_menu.c
sed 's/^X//' >wizd/files/patch-wizd_menu.c << 'END-of-wizd/files/patch-wizd_menu.c'
X--- wizd_menu.c.orig	2008-07-02 12:30:10.000000000 +0900
X+++ wizd_menu.c	2008-07-02 13:14:51.000000000 +0900
X@@ -27,7 +27,9 @@
X #include <errno.h>
X #include <libgen.h>
X #include <regex.h>
X+#ifdef __CYGWIN32__
X #include <sys/cygwin.h>
X+#endif
X 
X #include <dvdread/dvd_reader.h>
X #include <dvdread/ifo_types.h>
X@@ -3432,7 +3434,6 @@
X 				debug_log_output("ext = '%s'", file_info_p[count].ext);
X 			}
X 
X-	checkmime:
X 			if ((mime = lookup_mime_by_ext(file_info_p[count].ext)) == NULL) {
X # ifdef HAVE_W32API
X 				if (strcmp(file_info_p[count].ext, "lnk") == 0) {
END-of-wizd/files/patch-wizd_menu.c
echo x - wizd/files/patch-wizd_http.c
sed 's/^X//' >wizd/files/patch-wizd_http.c << 'END-of-wizd/files/patch-wizd_http.c'
X--- wizd_http.c.orig	2008-07-02 12:30:10.000000000 +0900
X+++ wizd_http.c	2008-07-02 13:12:25.000000000 +0900
X@@ -23,7 +23,9 @@
X #include <dirent.h>
X #include <fcntl.h>
X #include <libgen.h>
X+#ifdef __CYGWIN32__
X #include <sys/cygwin.h>
X+#endif
X 
X #include "wizd.h"
X #include "wizd_skin.h"
X@@ -1072,7 +1074,6 @@
X {
X 	struct stat send_filestat;
X 	int result;
X-	int len;
X 
X 	unsigned char	file_extension[16];
X 
END-of-wizd/files/patch-wizd_http.c
echo x - wizd/files/patch-wizd.conf
sed 's/^X//' >wizd/files/patch-wizd.conf << 'END-of-wizd/files/patch-wizd.conf'
X--- wizd.conf.orig	2008-07-02 12:30:10.000000000 +0900
X+++ wizd.conf	2008-07-02 13:26:19.000000000 +0900
X@@ -175,7 +175,7 @@
X ## Skin name is the subdirectory under skin_root for the selected skin.
X ##  When using skins, if these directories do not exist, the server will 
X ##  close immediately.
X-skin_root	./skin
X+skin_root	/usr/local/share/wizd/skins
X skin_name	simplicity_hires
X 
X ## Define alternate skin names which are selected based on the User-Agent string
END-of-wizd/files/patch-wizd.conf
echo x - wizd/files/patch-nkfwrap__nkfwrap_test.c
sed 's/^X//' >wizd/files/patch-nkfwrap__nkfwrap_test.c << 'END-of-wizd/files/patch-nkfwrap__nkfwrap_test.c'
X--- nkfwrap/nkfwrap_test.c.orig	2008-07-02 12:30:10.000000000 +0900
X+++ nkfwrap/nkfwrap_test.c	2008-07-02 13:13:52.000000000 +0900
X@@ -1,4 +1,5 @@
X #include <stdio.h>
X+#include <string.h>
X #include "nkfwrap.h"
X 
X int main()
END-of-wizd/files/patch-nkfwrap__nkfwrap_test.c
echo x - wizd/files/wizd.sh.in
sed 's/^X//' >wizd/files/wizd.sh.in << 'END-of-wizd/files/wizd.sh.in'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X# PROVIDE: wizd
X# REQUIRE: LOGIN cleanvar
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf to enable wizd:
X# wizd_enable (bool):		Set it to "YES" to enable wizd.
X#				Default is "NO".
X# wizd_flags (str):		Flags passed to widz on startup.
X#				Default is "".
X#
X
X. %%RC_SUBR%%
X
Xname="wizd"
Xrcvar=${name}_enable
X
Xcommand="%%PREFIX%%/bin/$name"
Xcommand_args="-d"
Xrequired_files="%%PREFIX%%/etc/$name.conf"
X
Xload_rc_config $name
X
X: ${wizd_enable="NO"}
X: ${wizd_flags=""}
X
Xrun_rc_command "$1"
END-of-wizd/files/wizd.sh.in
echo x - wizd/files/patch-Makefile
sed 's/^X//' >wizd/files/patch-Makefile << 'END-of-wizd/files/patch-Makefile'
X--- Makefile.orig	2008-07-02 12:30:10.000000000 +0900
X+++ Makefile	2008-07-02 13:23:30.000000000 +0900
X@@ -6,18 +6,14 @@
X .SUFFIXES: .c .o .obj
X 
X CC = gcc
X-CFLAGS = -pipe -O2 -Wall
X+CFLAGS = -pipe -O2 -Wall -Wno-pointer-sign
X CFLAGS += -g	# debug symbols
X CFLAGS += -D_FILE_OFFSET_BITS=64
X CFLAGS += -D_LARGEFILE_SOURCE
X ### -- If you dont want to use JPEG resize feature, comment it out.
X CFLAGS += -DRESIZE_JPEG
X CFLAGS += -I/usr/local/include
X-LDFLAGS += -static -L/usr/local/lib -ljpeg -ldvdread
X-
X-# keep the following lines only if you have the w32api library
X-LDFLAGS += -L/lib/w32api -lole32 -luuid
X-CFLAGS += -DHAVE_W32API
X+LDFLAGS += -L/usr/local/lib -ljpeg -ldvdread -lm -lcompat
X 
X ### --
X LDFLAGS += -s	# strip symbols
END-of-wizd/files/patch-Makefile
exit
--- wizd-24.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080702064350.AE36B6262>