fixed issues
- 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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
network_interface={12345678-1234-ABCD-EFGH-IJKLMNOPQRST}
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.
hiero
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
hiero
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
"Note-for-MiniDLNA-cygwin.txt"
minidlna(1.0.20) port on Windows w/Cygwin
patch against 1.0.20 is uploaded.
added function
- multiple NICs support
fixed issues
- 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.
Hi hiero,
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.
Hello Justin,
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"
hiero
Hello Justin,
The revised patch "minidlna_CVS_20110917_cygwin-2.patch" is uploaded.
"getifaddr.c" is changed. This is simpler than previous one.
Sorry for inconvenience.
hiero
Hello Justin,
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.
./autogen.sh
./configure LDFLAGS="-L/usr/local/lib -static-libgcc -static" LIBS="-lavcodec -lavutil -logg -lz -lintl -liconv -lbz2 -lavdevice"
make
BTW
"__CYGWIN__" is already defined in gcc of cygwin.
It might be better to use it.
hiero
"minidlna_CVS_20110922_445_cygwin-1.patch" is uploaded.
changes are:
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:
./autogen.sh
./configure
make
"minidlna_CVS_20110922_445_cygwin-2.patch" is uploaded.
fix bug of multiple NICs support
hiero
"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
Hello Justin,
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
network_interface={12345678-1234-ABCD-EFGH-IJKLMNOPQRST}
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.
hiero
@hieroun
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.
hiero
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
hiero
minidlna(1.1.1) port on Windows w/Cygwin
hiero
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"
hiero
... 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??