[PATCH] Taglib on MinGW

Stefan Gehn mETz81 at web.de
Thu Nov 24 23:06:48 CET 2005


Moin,

and here we go once again. The attached zip contains the following stuff:

taglib-trunk-mingw.patch - patch that does nothing more as adding 
TAGLIB_EXPORT all over the place, proper symbol exporting is needed on 
Win32 if you want to build a shared library

win32 - directory to be put in the taglib sourcedir
This dir contains the config.h as working for Win32 and dllfct.h which 
defines TAGLIB_EXPORT. Also it contains the Dev-C++ project file which 
is needed to compile the whole thing. As a convenience I also wrote a 
short taglib-config.sh lookalike for cmd, see taglib-config.bat

Switching between static and shared building is done in Dev-C++, both 
builds worked for me.

TODO:

- dllfct.h should actually be part of taglib itself
Somebody with any unix and a recent gcc could try adding 
visibility-support for that platform too (I might do that myself soon as 
I finally installed gcc 4.0.x on my laptop).

- no install routine
I could write a NSIS-based installer for a binary distro where you only 
have to choose the MinGW installation path, there is no such thing as 
"make install" on win32 AFAIK. Note, this greatly depends on the 
feedback I get and usually developers should know where to put headers 
and libs

- Beg for better win32 support in bksys so I can use it as a 
build-system, it's going to be the build-system in kde-svn anyway

I can create a binary tarball too if needed but for now my first 
priority is getting this into trunk instead of patching taglib manually 
every time.

Bye, Stefan aka mETz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: taglib-trunk-mingw.zip
Type: application/zip
Size: 7673 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/taglib-devel/attachments/20051124/bcf6b1a0/taglib-trunk-mingw.zip


More information about the taglib-devel mailing list