This is a ugly fix, at least it correct the fault with unable to load libntdll.dll.so when starting wine from a installed Redhat RPM. This spec is made for Redhat 9.
--- old.spec 2003-05-09 03:29:21.000000000 +0200 +++ wine-20030508-1rh8winehq.spec 2003-05-10 08:17:28.000000000 +0200 @@ -54,7 +54,8 @@ --with-x \ --libdir=%{_libdir}/wine \ --includedir=%{_includedir}/wine \ - --sysconfdir=%{_sysconfdir}/wine + --sysconfdir=%{_sysconfdir}/wine \ + --with-nptl
%{__make} depend %{__make} @@ -67,7 +68,7 @@ includedir=%{?buildroot:%{buildroot}}%{_includedir}/wine \ libdir=%{?buildroot:%{buildroot}}%{_libdir}/wine \ sysconfdir=%{?buildroot:%{buildroot}}%{_sysconfdir}/wine \ - dlldir=%{?buildroot:%{buildroot}}%{_libdir}/wine/wine \ + dlldir=%{?buildroot:%{buildroot}}%{_libdir}/wine \ LDCONFIG=/bin/true
install -c -m 0644 dlls/*.def $RPM_BUILD_ROOT%{_libdir}/wine @@ -103,22 +104,22 @@ rm -f documentation/samples/config.rh
# Install link to windows applications replacements -ln -sf %{_libdir}/wine/wine/start.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/command/start.exe -ln -sf %{_libdir}/wine/wine/notepad.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/notepad.exe -ln -sf %{_libdir}/wine/wine/regedit.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/regedit.exe -ln -sf %{_libdir}/wine/wine/rundll32.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/rundll32.exe -ln -sf %{_libdir}/wine/wine/wcmd.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/cmd.exe -ln -sf %{_libdir}/wine/wine/control.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/control.exe -ln -sf %{_libdir}/wine/wine/winhelp.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/help.exe -ln -sf %{_libdir}/wine/wine/notepad.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/notepad.exe -ln -sf %{_libdir}/wine/wine/progman.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/progman.exe -ln -sf %{_libdir}/wine/wine/regsvr32.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/regsvr32.exe -ln -sf %{_libdir}/wine/wine/winemine.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/winmine.exe -ln -sf %{_libdir}/wine/wine/winver.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/winver.exe -ln -sf %{_libdir}/wine/wine/uninstaller.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/uninstaller.exe -ln -sf %{_libdir}/wine/wine/winhelp.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/winhelp.exe -ln -sf %{_libdir}/wine/wine/winhelp.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/winhlp32.exe - +ln -sf %{_libdir}/wine/start.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/command/start.exe +ln -sf %{_libdir}/wine/notepad.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/notepad.exe +ln -sf %{_libdir}/wine/regedit.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/regedit.exe +ln -sf %{_libdir}/wine/rundll32.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/rundll32.exe +ln -sf %{_libdir}/wine/wcmd.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/cmd.exe +ln -sf %{_libdir}/wine/control.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/control.exe +ln -sf %{_libdir}/wine/winhelp.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/help.exe +ln -sf %{_libdir}/wine/notepad.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/notepad.exe +ln -sf %{_libdir}/wine/progman.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/progman.exe +ln -sf %{_libdir}/wine/regsvr32.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/regsvr32.exe +ln -sf %{_libdir}/wine/winemine.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/winmine.exe +ln -sf %{_libdir}/wine/winver.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/winver.exe +ln -sf %{_libdir}/wine/uninstaller.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/uninstaller.exe +ln -sf %{_libdir}/wine/winhelp.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/winhelp.exe +ln -sf %{_libdir}/wine/winhelp.exe.so $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/winhlp32.exe +ln -f $RPM_BUILD_ROOT/%{_libdir}/wine/ntdll.dll.so $RPM_BUILD_ROOT/%{_libdir}/wine/libntdll.dll.so for i in shell.dll shell32.dll winsock.dll wnsock32.dll; do touch $RPM_BUILD_ROOT%{_datadir}/wine-c/windows/system/$i done @@ -202,10 +203,7 @@ %attr(0775, root, wine) %dir "%{_datadir}/wine-c/My Documents" %attr(0775, root, wine) %dir "%{_datadir}/wine-c/Program Files" %attr(0775, root, wine) %dir "%{_datadir}/wine-c/Program Files/Common Files" -%{_libdir}/wine/wine -%{_libdir}/wine/*.so -%{_libdir}/wine/*.so.1 -%{_libdir}/wine/*.a +%{_libdir}/wine/* %{_bindir}/* %{_mandir}/man?/* %{_datadir}/wine-c/windows/command/*.exe @@ -227,31 +225,31 @@ %files devel %defattr(-,root,root) %{_includedir}/* -%{_libdir}/wine/*.def +#%{_libdir}/wine/*.def
%changelog -* Thu May 08 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030508-1 +* Thu May 08 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030508-1 - Add libraries definition files to devel package - Update to 20030508
-* Tue Apr 08 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030408-1 +* Tue Apr 08 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030408-1 - Update to 20030408
-* Tue Mar 18 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030318-1 +* Tue Mar 18 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030318-1 - Update to 20030318
-* Thu Mar 11 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030219-2 +* Thu Mar 11 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030219-2 - Fix the symlinks in wine-c.
-* Wed Feb 19 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030219-1 +* Wed Feb 19 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030219-1 - Update to 20030129 - Various fixes in RPM build process
-* Fri Jan 17 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030115-1 +* Fri Jan 17 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030115-1 - Update to 20030115 - fix to build problem
-* Thu Nov 7 2002 Vincent Béron vberon@mecano.gme.usherb.ca 20021031-1 +* Thu Nov 7 2002 Vincent Béron vberon@mecano.gme.usherb.ca 20021031-1 - Update to 20021031 - Tweaks here and there
Knut J Bjuland a écrit:
This is a ugly fix, at least it correct the fault with unable to load libntdll.dll.so when starting wine from a installed Redhat RPM. This spec is made for Redhat 9.
Thanks for it. I'll have access to a RH9 box on Sunday night or Monday, so I'll be able to incorporate your changes, compile a version then and check what else breaks.
Vincent
On Sat, May 10, 2003 at 09:27:25AM +0200, Knut J Bjuland wrote:
%changelog -* Thu May 08 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030508-1 +* Thu May 08 2003 Vincent Béron vberon@mecano.gme.usherb.ca 20030508-1
- Add libraries definition files to devel package
- Update to 20030508
You claim your attachment is text/plain, 8bit, iso-8859-1, 6.0K but to me it looks like it is utf-8 instead of iso-8859-1 Can you please configure your mail program to work consistently?
Thanks Jörg
-- Joerg Mayer jmayer@loplof.de We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology.
"Joerg Mayer" jmayer@loplof.de wrote:
On Sat, May 10, 2003 at 09:27:25AM +0200, Knut J Bjuland wrote:
%changelog -* Thu May 08 2003 Vincent BИron vberon@mecano.gme.usherb.ca 20030508-1 +* Thu May 08 2003 Vincent Bц╘ron vberon@mecano.gme.usherb.ca 20030508-1
- Add libraries definition files to devel package
- Update to 20030508
You claim your attachment is text/plain, 8bit, iso-8859-1, 6.0K but to me it looks like it is utf-8 instead of iso-8859-1 Can you please configure your mail program to work consistently?
As far as I can see that's not the attachment but the edited version of the document is in utf-8.
-- Dmitry.