Hi Shinchiro,
On 20.11.2017 10:46, Shinchiro Shinchiro wrote:
> Actually, I tried to create diff between wine's widl and mingw-w64's
> widl before but maybe it's difficult to cherry-pick changes that never
> got upstreamed
I can see that your patches remove changes from mingw-w64 branch. If
we'd be willing to do that, we could just resurrect the old importing
script. I'm attaching a slightly updated import script (see commit
5f7f4e6beae5b5f1929d5ba9198bfe7c0ab13ba2) that seems to still work and
build.
Then, again, we can't do that if we want to preserve Kai's
mingw-w64-only patches for winrt. Kai was able to do a few merges
preserving those patches in the past, please check with him for his
opinion on further strategy.
Thanks,
Jacek
#!/bin/bash
set -e
WINE_DIR=$1
if test -z $WINE_DIR; then
echo "Usage: wine-impot.sh wine_dir"
exit 1
fi
for f in client.c expr.c expr.h hash.c hash.h header.c header.h parser.h
parser.l parser.tab.c parser.tab.h parser.y \
parser.yy.c proxy.c register.c server.c typegen.c typegen.h typelib.c
typelib.h typelib_struct.h typetree.c typetree.h \
utils.c utils.h widl.c widl.h widltypes.h write_msft.c
do
cp $WINE_DIR/tools/widl/$f src
done
for f in ppl.l ppl.yy.c ppy.tab.c ppy.tab.h ppy.y preproc.c wpp.c wpp_private.h
do
cp $WINE_DIR/libs/wpp/$f src/wpp
done
for f in basetsd.h guiddef.h poppack.h pshpack1.h pshpack2.h pshpack4.h
pshpack8.h winbase.h windef.h winerror.h winnls.h winnt.h libloaderapi.h
winnt.rh
do
cp $WINE_DIR/include/$f include
done
for f in list.h rpcfc.h wpp.h
do
cp $WINE_DIR/include/wine/$f include/wine
done
for f in getopt.c getopt1.c
do
cp $WINE_DIR/libs/port/$f src/port/
done
sed s/Wine/WIDL/ < $WINE_DIR/VERSION >VERSION
autoconf
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public