#33 minidlna port on Windows w/Cygwin


This is a port minidlna on Windows using Cygwin.

detail is described in "How to port minidlna to Windows.txt"



1 2 > >> (Page 1 of 2)
  • hiero

    hiero - 2011-03-17

    minidlna port on Windows w/Cygwin

  • hiero

    hiero - 2011-03-19

    added patch against minidlna_1.0.19

    also includes simple usage:

  • hiero

    hiero - 2011-06-11

    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.

  • hiero

    hiero - 2011-09-10

    patch against 1.0.22 is uploaded.

  • Justin Maggard

    Justin Maggard - 2011-09-16

    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.

  • hiero

    hiero - 2011-09-18

    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

    hiero - 2011-09-19

    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

    hiero - 2011-09-23

    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.

    ./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.


  • hiero

    hiero - 2011-10-02

    "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:

  • hiero

    hiero - 2011-10-10

    "minidlna_CVS_20110922_445_cygwin-2.patch" is uploaded.

    fix bug of multiple NICs support


  • hiero

    hiero - 2011-10-22

    "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

  • hiero

    hiero - 2011-11-12

    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
    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.


  • Antoine Turmel

    Antoine Turmel - 2013-01-04

    Any new progress on this ?
    Can you provide testing builds for Windows ?

  • hiero

    hiero - 2013-01-06

    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

    hiero - 2013-01-14

    patch against CVS on 20130103 porting miss is fixed

  • hiero

    hiero - 2013-01-14

    I uploaded revised tentative patch against latest CVS (20130103).

  • hiero

    hiero - 2013-06-16

    minidlna(1.1.0) port on Windows w/Cygwin


  • hiero

    hiero - 2013-12-14

    minidlna(1.1.1) port on Windows w/Cygwin


  • jonretting

    jonretting - 2013-12-17
    Post awaiting moderation.
  • hiero

    hiero - 2014-01-11

    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"


  • HMA

    HMA - 2014-03-12

    ... 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??

1 2 > >> (Page 1 of 2)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks