Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide Windows build #3

Open
yarikoptic opened this issue Jan 6, 2020 · 4 comments
Open

Please provide Windows build #3

yarikoptic opened this issue Jan 6, 2020 · 4 comments

Comments

@yarikoptic
Copy link

May be recipe(s) from https://github.com/nscaife/file-windows could be of help.

@xhochy xhochy transferred this issue from conda-forge/libmagic-feedstock Jun 30, 2020
@yarikoptic
Copy link
Author

FWIW, I did manage to cross-build for windows using that recipe locally on my system: nscaife/file-windows#9 . I now wonder how to cross build (ideally using linux build of file from conda available while cross-building for windows -- although may be some patching away could help as well)

@yarikoptic
Copy link
Author

oh, and I was pointed to the fact that there is m2-file package (recipe: https://github.com/conda/conda-recipes/blob/master/msys2/m2-file/meta.yaml) from msys2 channel... 3 yo and contains:

$> tar -xjvf m2-file-5.25-2.tar.bz2 
info/index.json
info/files
info/paths.json
info/about.json
info/recipe/bld.bat
info/recipe/meta.yaml.template
info/recipe/meta.yaml
Library/usr/share/licenses/file/COPYING
Library/usr/share/man/man3/libmagic.3.gz
Library/usr/include/magic.h
Library/usr/lib/python3.4/site-packages/magic.py
Library/usr/lib/python2.7/site-packages/magic.py
Library/usr/share/man/man5/magic.5.gz
Library/usr/share/man/man1/file.1.gz
Library/usr/bin/file.exe
Library/usr/lib/libmagic.dll.a
Library/usr/bin/msys-magic-1.dll
Library/usr/share/file/magic
Library/usr/share/magic
Library/usr/share/misc/magic
Library/usr/share/misc/magic.mgc

@yarikoptic
Copy link
Author

yarikoptic commented Jul 16, 2020

ok,

and we ending up with adopting the MSVC recipe (using cmake) from https://github.com/julian-r/file-windows -- any takers? ;)

@h-vetinari
Copy link
Member

Interested in this as well in the context of conda-forge/python-magic-feedstock#9 --> diffoscope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants