Renamed wineps.dll to wineps.drv for consistency.

This commit is contained in:
Alexandre Julliard 2005-05-06 20:04:27 +00:00
parent 0bb4bddff4
commit b3e9c44741
5 changed files with 16 additions and 24 deletions

View File

@ -394,7 +394,7 @@ SYMLINKS_SO = \
winemp3.acm.so \ winemp3.acm.so \
winenas.drv.so \ winenas.drv.so \
wineoss.drv.so \ wineoss.drv.so \
wineps.dll.so \ wineps.drv.so \
winetty.drv.so \ winetty.drv.so \
wininet.dll.so \ wininet.dll.so \
winmm.dll.so \ winmm.dll.so \
@ -936,11 +936,11 @@ winenas.drv.so: winmm/winenas/winenas.drv.so
wineoss.drv.so: winmm/wineoss/wineoss.drv.so wineoss.drv.so: winmm/wineoss/wineoss.drv.so
$(RM) $@ && $(LN_S) winmm/wineoss/wineoss.drv.so $@ $(RM) $@ && $(LN_S) winmm/wineoss/wineoss.drv.so $@
wineps.dll.so: wineps/wineps.dll.so wineps.drv.so: wineps/wineps.drv.so
$(RM) $@ && $(LN_S) wineps/wineps.dll.so $@ $(RM) $@ && $(LN_S) wineps/wineps.drv.so $@
wineps16.drv.so : wineps.dll.so wineps16.drv.so : wineps.drv.so
$(RM) $@ && $(LN_S) wineps.dll.so $@ $(RM) $@ && $(LN_S) wineps.drv.so $@
winetty.drv.so: ttydrv/winetty.drv.so winetty.drv.so: ttydrv/winetty.drv.so
$(RM) $@ && $(LN_S) ttydrv/winetty.drv.so $@ $(RM) $@ && $(LN_S) ttydrv/winetty.drv.so $@
@ -1133,7 +1133,6 @@ IMPORT_LIBS = \
libw32skrnl.$(IMPLIBEXT) \ libw32skrnl.$(IMPLIBEXT) \
libwined3d.$(IMPLIBEXT) \ libwined3d.$(IMPLIBEXT) \
libwinedos.$(IMPLIBEXT) \ libwinedos.$(IMPLIBEXT) \
libwineps.$(IMPLIBEXT) \
libwininet.$(IMPLIBEXT) \ libwininet.$(IMPLIBEXT) \
libwinmm.$(IMPLIBEXT) \ libwinmm.$(IMPLIBEXT) \
libwinnls32.$(IMPLIBEXT) \ libwinnls32.$(IMPLIBEXT) \
@ -1743,11 +1742,6 @@ libwinedos.def: winedos/winedos.spec.def
libwinedos.a: winedos/winedos.spec.def libwinedos.a: winedos/winedos.spec.def
$(DLLTOOL) -k -l $@ -d winedos/winedos.spec.def $(DLLTOOL) -k -l $@ -d winedos/winedos.spec.def
libwineps.def: wineps/wineps.spec.def
$(RM) $@ && $(LN_S) wineps/wineps.spec.def $@
libwineps.a: wineps/wineps.spec.def
$(DLLTOOL) -k -l $@ -d wineps/wineps.spec.def
libwininet.def: wininet/wininet.spec.def libwininet.def: wininet/wininet.spec.def
$(RM) $@ && $(LN_S) wininet/wininet.spec.def $@ $(RM) $@ && $(LN_S) wininet/wininet.spec.def $@
libwininet.a: wininet/wininet.spec.def libwininet.a: wininet/wininet.spec.def
@ -1921,7 +1915,6 @@ version/version.spec.def: $(WINEBUILD)
win32s/w32skrnl.spec.def: $(WINEBUILD) win32s/w32skrnl.spec.def: $(WINEBUILD)
wined3d/wined3d.spec.def: $(WINEBUILD) wined3d/wined3d.spec.def: $(WINEBUILD)
winedos/winedos.spec.def: $(WINEBUILD) winedos/winedos.spec.def: $(WINEBUILD)
wineps/wineps.spec.def: $(WINEBUILD)
wininet/wininet.spec.def: $(WINEBUILD) wininet/wininet.spec.def: $(WINEBUILD)
winmm/winmm.spec.def: $(WINEBUILD) winmm/winmm.spec.def: $(WINEBUILD)
winnls/winnls32.spec.def: $(WINEBUILD) winnls/winnls32.spec.def: $(WINEBUILD)
@ -2087,7 +2080,7 @@ winmm/winejack/winejack.drv.so: winmm/winejack
msacm/winemp3/winemp3.acm.so: msacm/winemp3 msacm/winemp3/winemp3.acm.so: msacm/winemp3
winmm/winenas/winenas.drv.so: winmm/winenas winmm/winenas/winenas.drv.so: winmm/winenas
winmm/wineoss/wineoss.drv.so: winmm/wineoss winmm/wineoss/wineoss.drv.so: winmm/wineoss
wineps/wineps.dll.so: wineps wineps/wineps.drv.so: wineps
ttydrv/winetty.drv.so: ttydrv ttydrv/winetty.drv.so: ttydrv
x11drv/winex11.drv.so: x11drv x11drv/winex11.drv.so: x11drv
wininet/wininet.dll.so: wininet wininet/wininet.dll.so: wininet

View File

@ -1,5 +1,4 @@
Makefile Makefile
rsrc.res rsrc.res
wineps.dll.dbg.c wineps.drv.dbg.c
wineps.spec.def
wineps16.drv.spec.c wineps16.drv.spec.c

View File

@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = wineps.dll MODULE = wineps.drv
IMPORTS = user32 gdi32 winspool advapi32 kernel32 IMPORTS = user32 gdi32 winspool advapi32 kernel32
EXTRAINCL = @FREETYPEINCL@ EXTRAINCL = @FREETYPEINCL@

View File

@ -157,12 +157,12 @@ WINSPOOL_SetDefaultPrinter(const char *devname, const char *name,BOOL force) {
if (force || if (force ||
!GetProfileStringA("windows","device","*",qbuf,sizeof(qbuf)) || !GetProfileStringA("windows","device","*",qbuf,sizeof(qbuf)) ||
!strcmp(qbuf,"*") || !strcmp(qbuf,"*") ||
!strstr(qbuf,"WINEPS") !strstr(qbuf,"WINEPS.DRV")
) { ) {
char *buf = HeapAlloc(GetProcessHeap(),0,strlen(name)+strlen(devname)+strlen(",WINEPS,LPR:")+1); char *buf = HeapAlloc(GetProcessHeap(),0,strlen(name)+strlen(devname)+strlen(",WINEPS.DRV,LPR:")+1);
HKEY hkey; HKEY hkey;
sprintf(buf,"%s,WINEPS,LPR:%s",devname,name); sprintf(buf,"%s,WINEPS.DRV,LPR:%s",devname,name);
WriteProfileStringA("windows","device",buf); WriteProfileStringA("windows","device",buf);
if(RegCreateKeyW(HKEY_CURRENT_USER, user_default_reg_key, &hkey) == ERROR_SUCCESS) { if(RegCreateKeyW(HKEY_CURRENT_USER, user_default_reg_key, &hkey) == ERROR_SUCCESS) {
RegSetValueExA(hkey, "Device", 0, REG_SZ, buf, strlen(buf) + 1); RegSetValueExA(hkey, "Device", 0, REG_SZ, buf, strlen(buf) + 1);
@ -209,8 +209,8 @@ static BOOL CUPS_LoadPrinters(void)
for (i=0;i<nrofdests;i++) { for (i=0;i<nrofdests;i++) {
port = HeapAlloc(GetProcessHeap(),0,strlen("LPR:")+strlen(dests[i].name)+1); port = HeapAlloc(GetProcessHeap(),0,strlen("LPR:")+strlen(dests[i].name)+1);
sprintf(port,"LPR:%s",dests[i].name); sprintf(port,"LPR:%s",dests[i].name);
devline=HeapAlloc(GetProcessHeap(),0,strlen("WINEPS,")+strlen(port)+1); devline=HeapAlloc(GetProcessHeap(),0,sizeof("WINEPS.DRV,")+strlen(port));
sprintf(devline,"WINEPS,%s",port); sprintf(devline,"WINEPS.DRV,%s",port);
WriteProfileStringA("devices",dests[i].name,devline); WriteProfileStringA("devices",dests[i].name,devline);
if(RegCreateKeyW(HKEY_CURRENT_USER, user_printers_reg_key, &hkey) == ERROR_SUCCESS) { if(RegCreateKeyW(HKEY_CURRENT_USER, user_printers_reg_key, &hkey) == ERROR_SUCCESS) {
RegSetValueExA(hkey, dests[i].name, 0, REG_SZ, devline, strlen(devline) + 1); RegSetValueExA(hkey, dests[i].name, 0, REG_SZ, devline, strlen(devline) + 1);
@ -319,8 +319,8 @@ PRINTCAP_ParseEntry(char *pent,BOOL isfirst) {
port = HeapAlloc(GetProcessHeap(),0,strlen("LPR:")+strlen(name)+1); port = HeapAlloc(GetProcessHeap(),0,strlen("LPR:")+strlen(name)+1);
sprintf(port,"LPR:%s",name); sprintf(port,"LPR:%s",name);
devline=HeapAlloc(GetProcessHeap(),0,strlen("WINEPS,")+strlen(port)+1); devline=HeapAlloc(GetProcessHeap(),0,sizeof("WINEPS.DRV,")+strlen(port));
sprintf(devline,"WINEPS,%s",port); sprintf(devline,"WINEPS.DRV,%s",port);
WriteProfileStringA("devices",devname,devline); WriteProfileStringA("devices",devname,devline);
if(RegCreateKeyW(HKEY_CURRENT_USER, user_printers_reg_key, &hkey) == ERROR_SUCCESS) { if(RegCreateKeyW(HKEY_CURRENT_USER, user_printers_reg_key, &hkey) == ERROR_SUCCESS) {
RegSetValueExA(hkey, devname, 0, REG_SZ, devline, strlen(devline) + 1); RegSetValueExA(hkey, devname, 0, REG_SZ, devline, strlen(devline) + 1);
@ -1747,7 +1747,7 @@ static void WINSPOOL_GetDefaultDevMode(
/* fill default DEVMODE - should be read from ppd... */ /* fill default DEVMODE - should be read from ppd... */
ZeroMemory( &dm, sizeof(dm) ); ZeroMemory( &dm, sizeof(dm) );
strcpy(dm.dmDeviceName,"wineps"); strcpy(dm.dmDeviceName,"wineps.drv");
dm.dmSpecVersion = DM_SPECVERSION; dm.dmSpecVersion = DM_SPECVERSION;
dm.dmDriverVersion = 1; dm.dmDriverVersion = 1;
dm.dmSize = sizeof(DEVMODEA); dm.dmSize = sizeof(DEVMODEA);