This is a port minidlna on Windows using Cygwin.
detail is described in "How to port minidlna to Windows.txt"
minidlna port on Windows w/Cygwin
minidlna(1.0.19) port on Windows w/Cygwin
added patch against minidlna_1.0.19
also includes simple usage:
minidlna(1.0.20) port on Windows w/Cygwin
patch against 1.0.20 is uploaded.
- multiple NICs support
- faile to create db_path directory in some casess.
- files.db is not deleted/recreated with -R option.
- inotify adds duplicated rows in database for a file in some cases.
minidlna(1.0.22) port on Windows w/Cygwin
patch against 1.0.22 is uploaded.
Sorry for the trouble, but would you be able to rebase your patch against current CVS code with autoconf? Sorry it's taken so long, but I'm finally getting around to pulling in alternate OS support, and it would be great to add cygwin to the list.
The patch "minidlna_CVS_20110917_cygwin.patch" is uploaded.
In order to avoid library dependency problem and build exe in static,
it is necessary to set LDFLAGS and LIBS before autogen.
export LDFLAGS="-L/usr/local/lib -static-libgcc -static"
export LIBS="-lavcodec -lavutil -logg -lz -lintl -liconv -lbz2 -lswscale -lavdevice -lvfw32"
The revised patch "minidlna_CVS_20110917_cygwin-2.patch" is uploaded.
"getifaddr.c" is changed. This is simpler than previous one.
Sorry for inconvenience.
I uploaded "minidlna_CVS_20110922_445_cygwin.patch"
This has minor changes from previous one.
- "upnphttp.c" is gave back to original.
- modify "utils.c" to fix make_dir issue.
- change the position of '#include "config.h"' in "uuid.c"
This works as following.
./configure LDFLAGS="-L/usr/local/lib -static-libgcc -static" LIBS="-lavcodec -lavutil -logg -lz -lintl -liconv -lbz2 -lavdevice"
"__CYGWIN__" is already defined in gcc of cygwin.
It might be better to use it.
"minidlna_CVS_20110922_445_cygwin-1.patch" is uploaded.
1) include setting of LDFLAGS and LIBS into "configure.ac"
2) enable to support "network_interface=" in "minidlna.conf"
the name is GUID of the NIC
3) remove unused code in "inotify.c"
how to build:
"minidlna_CVS_20110922_445_cygwin-2.patch" is uploaded.
fix bug of multiple NICs support
"minidlna_CVS_20110922_445_cygwin-3.patch" is uploaded.
add @LIBINTL@ and @LIBICONV@ to Makefile.am
modify detecting ffmpeg headers process to support Mac OS X and others.
removed previous patchs.
Tested on Cygwin, Ubuntu, Fedora, Mac OS X, FreeBSD
revised patch against CVS on 20111110
I uploaded "minidlna_CVS_20111110-454_cygwin_patch.tag.gz"
This file includes two patches, "minidlna_CVS_20111110-454_cygwin_simple.patch" and "minidlna_CVS_20111110-454_cygwin.patch"
Though "minidlna_CVS_20111110-454_cygwin_simple.patch" is very small,
there are limitations.
- works on cygwin environment only.
- inotify function is not supported.
- only cygwin style path name is supported.
- NIC is specified in GUID as following
It is not convenient for windows user.
"minidlna_CVS_20111110-454_cygwin.patch" supports followings.
- work without cygwin installed
- inotify equivalent
- both windows and cygwin style path name
- fix search NIC function issue.
- multiple NIC support
"multiple NIC support" is convenient for windows users,
because many PCs equip both WiFi and Ethernet.
"multiple NIC support" also works on other platforms.
Any new progress on this ?
Can you provide testing builds for Windows ?
I uploaded tentative patch against latest CVS (20130103).
On current Cygwin, static library files of libexif(libexif.a) and libsqlite3(libsqlite3.a) are missing.
These can be built from sources. The sources can be downloaded using setup.exe of Cygwin.
patch against CVS on 20130103 porting miss is fixed
I uploaded revised tentative patch against latest CVS (20130103).
minidlna(1.1.0) port on Windows w/Cygwin
minidlna(1.1.1) port on Windows w/Cygwin
add to support "Don't require a configured network interface to start up, and add network interface monitoring support"
... i tryed to compile minidlna on my cygwin .... but i am not able to get it work ... maybe anybody can send me the compiled exe file??
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.