Generate the DLL name provides from mingw-crt import libraries

The virtual mingw32(...) and mingw64(...) provides used to be generated
from the names of WINE DLLs. This changes it to generate the list from
mingw-crt import libs instead. The advantage with the new approach is
that we can be sure that the virtual provides match with the actual DLL
names we can end up linking with: we'll be linking with the same stubs
from mingw-crt package that are used for the virtual provides list.
This commit is contained in:
Kalev Lember 2012-03-17 17:34:23 +02:00
parent 9dad08a5b6
commit e66c6cc210
4 changed files with 1524 additions and 341 deletions

View File

@ -2,7 +2,7 @@
Name: mingw-filesystem
Version: 95
Release: 7%{?dist}
Release: 8%{?dist}
Summary: MinGW cross compiler base filesystem and environment
Group: Development/Libraries
@ -27,8 +27,10 @@ Source13: mingw-find-lang.sh
Source14: mingw32.attr
Source15: mingw64.attr
# generated with:
# ls -1 /usr/lib64/wine/fakedlls | grep "\.dll$" >standard-dlls
Source16: standard-dlls
# (rpm -ql mingw32-crt | grep '\.a$' | while read f ; do i686-w64-mingw32-dlltool -I $f 2>/dev/null ; done) | sort | uniq | tr A-Z a-z > standard-dlls-mingw32
Source16: standard-dlls-mingw32
# (rpm -ql mingw64-crt | grep '\.a$' | while read f ; do x86_64-w64-mingw32-dlltool -I $f 2>/dev/null ; done) | sort | uniq | tr A-Z a-z > standard-dlls-mingw64
Source17: standard-dlls-mingw64
%description
@ -78,9 +80,6 @@ Requires: %{name}-base = %{version}-%{release}
#
Provides: %(sed "s/\(.*\)/mingw32(\1) /g" %{SOURCE16} | tr "\n" " ")
# Wine currently doesn't implement ksuser.dll, so add it manually here
Provides: mingw32(ksuser.dll)
%description -n mingw32-filesystem
This package contains the base filesystem layout, RPM macros and
environment for all Fedora MinGW packages.
@ -94,10 +93,7 @@ This environment is maintained by the Fedora MinGW SIG at:
Summary: MinGW cross compiler base filesystem and environment for the win64 target
Requires: %{name}-base = %{version}-%{release}
Provides: %(sed "s/\(.*\)/mingw64(\1) /g" %{SOURCE16} | tr "\n" " ")
# Wine currently doesn't implement ksuser.dll, so add it manually here
Provides: mingw64(ksuser.dll)
Provides: %(sed "s/\(.*\)/mingw64(\1) /g" %{SOURCE17} | tr "\n" " ")
%description -n mingw64-filesystem
This package contains the base filesystem layout, RPM macros and
@ -250,6 +246,10 @@ install -m 0644 %{SOURCE12} $RPM_BUILD_ROOT%{_datadir}/mingw/
%changelog
* Sat Mar 17 2012 Kalev Lember <kalevlember@gmail.com> - 95-8
- Generate the list of mingw32(...) and mingw64(...) DLL name provides from
mingw-crt import libraries
* Sat Mar 17 2012 Kalev Lember <kalevlember@gmail.com> - 95-7
- Define mingw_build_win32/win64 in system macros, so that each
individual package wouldn't have to

View File

@ -1,331 +0,0 @@
acledit.dll
aclui.dll
activeds.dll
actxprxy.dll
advapi32.dll
advpack.dll
amstream.dll
apphelp.dll
atl.dll
authz.dll
avicap32.dll
avifil32.dll
avrt.dll
bcrypt.dll
browseui.dll
cabinet.dll
capi2032.dll
cards.dll
cfgmgr32.dll
clusapi.dll
comcat.dll
comctl32.dll
comdlg32.dll
compstui.dll
credui.dll
crtdll.dll
crypt32.dll
cryptdlg.dll
cryptdll.dll
cryptnet.dll
cryptui.dll
ctapi32.dll
ctl3d32.dll
d3d10core.dll
d3d10.dll
d3d8.dll
d3d9.dll
d3dcompiler_33.dll
d3dcompiler_34.dll
d3dcompiler_35.dll
d3dcompiler_36.dll
d3dcompiler_37.dll
d3dcompiler_38.dll
d3dcompiler_39.dll
d3dcompiler_40.dll
d3dcompiler_41.dll
d3dcompiler_42.dll
d3dcompiler_43.dll
d3dim.dll
d3drm.dll
d3dx10_33.dll
d3dx10_34.dll
d3dx10_35.dll
d3dx10_36.dll
d3dx10_37.dll
d3dx10_38.dll
d3dx10_39.dll
d3dx10_40.dll
d3dx10_41.dll
d3dx10_42.dll
d3dx10_43.dll
d3dx9_24.dll
d3dx9_25.dll
d3dx9_26.dll
d3dx9_27.dll
d3dx9_28.dll
d3dx9_29.dll
d3dx9_30.dll
d3dx9_31.dll
d3dx9_32.dll
d3dx9_33.dll
d3dx9_34.dll
d3dx9_35.dll
d3dx9_36.dll
d3dx9_37.dll
d3dx9_38.dll
d3dx9_39.dll
d3dx9_40.dll
d3dx9_41.dll
d3dx9_42.dll
d3dx9_43.dll
d3dxof.dll
dbgeng.dll
dbghelp.dll
dciman32.dll
ddraw.dll
ddrawex.dll
devenum.dll
dhcpcsvc.dll
dinput8.dll
dinput.dll
dispex.dll
dmband.dll
dmcompos.dll
dmime.dll
dmloader.dll
dmscript.dll
dmstyle.dll
dmsynth.dll
dmusic32.dll
dmusic.dll
dnsapi.dll
dplay.dll
dplayx.dll
dpnaddr.dll
dpnet.dll
dpnhpast.dll
dpnlobby.dll
dpwsockx.dll
drmclien.dll
dsound.dll
dssenh.dll
dswave.dll
dwmapi.dll
dxdiagn.dll
dxgi.dll
explorerframe.dll
faultrep.dll
fltlib.dll
fusion.dll
fwpuclnt.dll
gameux.dll
gdi32.dll
gdiplus.dll
glu32.dll
gpkcsp.dll
hal.dll
hid.dll
hlink.dll
hnetcfg.dll
httpapi.dll
iccvid.dll
icmp.dll
ieframe.dll
imagehlp.dll
imm32.dll
inetcomm.dll
inetmib1.dll
infosoft.dll
initpki.dll
inkobj.dll
inseng.dll
iphlpapi.dll
itircl.dll
itss.dll
jscript.dll
kernel32.dll
ktmw32.dll
loadperf.dll
localspl.dll
localui.dll
lz32.dll
mapi32.dll
mapistub.dll
mciavi32.dll
mcicda.dll
mciqtz32.dll
mciseq.dll
mciwave.dll
midimap.dll
mlang.dll
mmcndmgr.dll
mmdevapi.dll
mprapi.dll
mpr.dll
msacm32.dll
mscat32.dll
mscms.dll
mscoree.dll
msctf.dll
msdaps.dll
msdmo.dll
msftedit.dll
mshtml.dll
msi.dll
msimg32.dll
msimsg.dll
msimtf.dll
msisip.dll
msnet32.dll
mspatcha.dll
msrle32.dll
mssign32.dll
mssip32.dll
mstask.dll
msvcirt.dll
msvcp100.dll
msvcp60.dll
msvcp70.dll
msvcp71.dll
msvcp80.dll
msvcp90.dll
msvcr100.dll
msvcr70.dll
msvcr71.dll
msvcr80.dll
msvcr90.dll
msvcrt20.dll
msvcrt40.dll
msvcrtd.dll
msvcrt.dll
msvfw32.dll
msvidc32.dll
mswsock.dll
msxml2.dll
msxml3.dll
msxml4.dll
msxml6.dll
msxml.dll
nddeapi.dll
netapi32.dll
newdev.dll
normaliz.dll
npmshtml.dll
ntdll.dll
ntdsapi.dll
ntprint.dll
objsel.dll
odbc32.dll
odbccp32.dll
ole32.dll
oleacc.dll
oleaut32.dll
olecli32.dll
oledb32.dll
oledlg.dll
olepro32.dll
olesvr32.dll
olethk32.dll
openal32.dll
opengl32.dll
pdh.dll
photometadatahandler.dll
pidgen.dll
powrprof.dll
printui.dll
propsys.dll
psapi.dll
pstorec.dll
qcap.dll
qedit.dll
qmgr.dll
qmgrprxy.dll
quartz.dll
query.dll
rasapi32.dll
rasdlg.dll
regapi.dll
resutils.dll
riched20.dll
riched32.dll
rpcrt4.dll
rsabase.dll
rsaenh.dll
rstrtmgr.dll
rtutils.dll
samlib.dll
scarddlg.dll
sccbase.dll
schannel.dll
scrrun.dll
secur32.dll
security.dll
sensapi.dll
serialui.dll
setupapi.dll
sfc.dll
sfc_os.dll
shdoclc.dll
shdocvw.dll
shell32.dll
shfolder.dll
shlwapi.dll
slbcsp.dll
slc.dll
snmpapi.dll
softpub.dll
spoolss.dll
sti.dll
svrapi.dll
sxs.dll
t2embed.dll
tapi32.dll
traffic.dll
twain_32.dll
unicows.dll
updspapi.dll
url.dll
urlmon.dll
user32.dll
userenv.dll
usp10.dll
uxtheme.dll
vbscript.dll
vcomp.dll
vdmdbg.dll
version.dll
wbemprox.dll
wer.dll
wiaservc.dll
windowscodecs.dll
wined3d.dll
winegstreamer.dll
winemapi.dll
wing32.dll
winhttp.dll
wininet.dll
winmm.dll
winnls32.dll
winscard.dll
winsta.dll
wintab32.dll
wintrust.dll
wlanapi.dll
wldap32.dll
wmi.dll
wmiutils.dll
wnaspi32.dll
ws2_32.dll
wsock32.dll
wtsapi32.dll
wuapi.dll
wuaueng.dll
xapofx1_1.dll
xinput1_1.dll
xinput1_2.dll
xinput1_3.dll
xinput9_1_0.dll
xmllite.dll
xolehlp.dll
xpsprint.dll

295
standard-dlls-mingw32 Normal file
View File

@ -0,0 +1,295 @@
aclui.dll
advapi32.dll
apcups.dll
authz.dll
avicap32.dll
avifil32.dll
bcrypt.dll
bootvid.dll
bthprops.cpl
cap.dll
cfgmgr32.dll
classpnp.sys
clfsw32.dll
clusapi.dll
cmutil.dll
comctl32.dll
comdlg32.dll
connect.dll
credui.dll
crtdll.dll
crypt32.dll
cryptnet.dll
cryptsp.dll
cryptxml.dll
cscapi.dll
ctl3d32.dll
d2d1.dll
d3d8.dll
d3d9.dll
d3dcompiler_37.dll
d3dcompiler_38.dll
d3dcompiler_39.dll
d3dcompiler_40.dll
d3dcompiler_41.dll
d3dcompiler_42.dll
d3dcompiler_43.dll
d3dcompiler.dll
d3dcsxd_43.dll
d3dim.dll
d3drm.dll
d3dx10_33.dll
d3dx10_34.dll
d3dx10_35.dll
d3dx10_36.dll
d3dx10_37.dll
d3dx10_38.dll
d3dx10_39.dll
d3dx10_40.dll
d3dx10_41.dll
d3dx10_42.dll
d3dx10_43.dll
d3dx11_42.dll
d3dx11_43.dll
d3dx8d.dll
d3dx9_24.dll
d3dx9_25.dll
d3dx9_26.dll
d3dx9_27.dll
d3dx9_28.dll
d3dx9_29.dll
d3dx9_30.dll
d3dx9_31.dll
d3dx9_32.dll
d3dx9_33.dll
d3dx9_34.dll
d3dx9_35.dll
d3dx9_36.dll
d3dx9_37.dll
d3dx9_38.dll
d3dx9_39.dll
d3dx9_40.dll
d3dx9_41.dll
d3dx9_42.dll
d3dx9_43.dll
d3dx9d.dll
d3dxof.dll
davclnt.dll
dbgeng.dll
dbghelp.dll
ddraw.dll
dhcpcsvc6.dll
dhcpcsvc.dll
dhcpsapi.dll
dinput8.dll
dinput.dll
dlcapi.dll
dnsapi.dll
dplayx.dll
dpnaddr.dll
dpnet.dll
dpnlobby.def
dpvoice.dll
dsetup.dll
dsound.dll
dssec.dll
dwmapi.dll
dwrite.dll
dxapi.sys
dxgi.dll
dxva2.dll
eappcfg.dll
eapphost.dll
eappprxy.dll
esent.dll
evr.dll
faultrep.dll
fwpuclnt.dll
gdi32.dll
gdiplus.dll
genericui.dll
glaux.dll
glu32.dll
glut32.dll
glut.dll
gpapi.dll
gpedit.dll
gpscript.dll
gptext.dll
hal.dll
hidclass.sys
hid.dll
hidparse.sys
httpapi.dll
icmui.dll
igmpagnt.dll
imagehlp.dll
imm32.dll
iphlpapi.dll
iscsidsc.dll
kernel32.dll
ksproxy.ax
ks.sys
ksuser.dll
ktmw32.dll
lz32.dll
mapi32.dll
mcd.sys
mfcuia32.dll
mf.dll
mfplat.dll
mgmtapi.dll
mprapi.dll
mpr.dll
mqrt.dll
msacm32.dll
mscms.dll
msctf.dll
msdmo.dll
msdrm.dll
mshtml.dll
mshtmled.dll
msi.dll
msimg32.dll
mstask.dll
msvcp60.dll
msvcr100.dll
msvcr80.dll
msvcr90d.dll
msvcr90.dll
msvcrt.dll
msvfw32.dll
mswsock.dll
ncrypt.dll
nddeapi.dll
ndfapi.dll
ndis.sys
netapi32.dll
newdev.dll
normaliz.dll
ntdll.dll
ntdsapi.dll
ntmsapi.dll
ntoskrnl.exe
odbc32.dll
odbccp32.dll
ole32.dll
oleacc.dll
oleaut32.dll
olecli32.dll
oledlg.dll
olepro32.dll
olesvr32.dll
opengl32.dll
p2pcollab.dll
p2p.dll
p2pgraph.dll
pcwum.dll
pdh.dll
pdhui.dll
penwin32.dll
pkpd32.dll
polprocl.dll
powrprof.dll
psapi.dll
quartz.dll
qutil.dll
qwave.dll
rapi.dll
rasapi32.dll
rasdlg.dll
resutils.dll
rpcdce4.dll
rpcdiag.dll
rpchttp.dll
rpcns4.dll
rpcrt4.dll
rstrtmgr.dll
rtm.dll
rtutils.dll
scsiport.sys
secur32.dll
setupapi.dll
shell32.dll
shfolder.dll
shlwapi.dll
slc.dll
slcext.dll
slwga.dll
snmpapi.dll
spoolss.dll
sspicli.dll
svrapi.dll
sxs.dll
t2embed.dll
tapi32.dll
tbs.dll
tdh.dll
tdi.sys
thirdpartyeapdispatcher.dll
txfw32.dll
url.dll
usbcamd2.sys
usbcamd.sys
usbd.sys
usbport.sys
user32.dll
userenv.dll
usp10.dll
uxtheme.dll
vdmdbg.dll
version.dll
videoprt.sys
virtdisk.dll
vssapi.dll
vss_ps.dll
vsstrace.dll
wdsclientapi.dll
wdsclient.dll
wdscore.dll
wdscsl.dll
wdsimage.dll
wdstptc.dll
wdsupgcompl.dll
wdsutil.dll
wecapi.dll
wer.dll
wevtapi.dll
wevtfwd.dll
win32k.sys
win32spl.dll
wininet.dll
winmm.dll
winscard.dll
winspool.drv
winstrm.dll
winusb.dll
wlanapi.dll
wlanui.dll
wlanutil.dll
wldap32.dll
wow32.dll
ws2_32.dll
wsdapi.dll
wsnmp32.dll
wsock32.dll
wst.dll
wtsapi32.dll
x3daudio1_2.dll
x3daudio1_3.dll
x3daudio1_4.dll
x3daudio1_5.dll
x3daudio1_6.dll
x3daudio1_7.dll
x3daudiod1_7.dll
xapofx1_0.dll
xapofx1_1.dll
xapofx1_2.dll
xapofx1_3.dll
xapofx1_4.dll
xapofx1_5.dll
xapofxd1_5.dll
xaudio2.dll
xinput1_1.dll
xinput1_2.dll
xinput1_3.dll

1219
standard-dlls-mingw64 Normal file

File diff suppressed because it is too large Load Diff