Renamed wineps.dll to wineps.drv for consistency.
This commit is contained in:
parent
0bb4bddff4
commit
b3e9c44741
|
@ -394,7 +394,7 @@ SYMLINKS_SO = \
|
|||
winemp3.acm.so \
|
||||
winenas.drv.so \
|
||||
wineoss.drv.so \
|
||||
wineps.dll.so \
|
||||
wineps.drv.so \
|
||||
winetty.drv.so \
|
||||
wininet.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
|
||||
$(RM) $@ && $(LN_S) winmm/wineoss/wineoss.drv.so $@
|
||||
|
||||
wineps.dll.so: wineps/wineps.dll.so
|
||||
$(RM) $@ && $(LN_S) wineps/wineps.dll.so $@
|
||||
wineps.drv.so: wineps/wineps.drv.so
|
||||
$(RM) $@ && $(LN_S) wineps/wineps.drv.so $@
|
||||
|
||||
wineps16.drv.so : wineps.dll.so
|
||||
$(RM) $@ && $(LN_S) wineps.dll.so $@
|
||||
wineps16.drv.so : wineps.drv.so
|
||||
$(RM) $@ && $(LN_S) wineps.drv.so $@
|
||||
|
||||
winetty.drv.so: ttydrv/winetty.drv.so
|
||||
$(RM) $@ && $(LN_S) ttydrv/winetty.drv.so $@
|
||||
|
@ -1133,7 +1133,6 @@ IMPORT_LIBS = \
|
|||
libw32skrnl.$(IMPLIBEXT) \
|
||||
libwined3d.$(IMPLIBEXT) \
|
||||
libwinedos.$(IMPLIBEXT) \
|
||||
libwineps.$(IMPLIBEXT) \
|
||||
libwininet.$(IMPLIBEXT) \
|
||||
libwinmm.$(IMPLIBEXT) \
|
||||
libwinnls32.$(IMPLIBEXT) \
|
||||
|
@ -1743,11 +1742,6 @@ libwinedos.def: winedos/winedos.spec.def
|
|||
libwinedos.a: 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
|
||||
$(RM) $@ && $(LN_S) wininet/wininet.spec.def $@
|
||||
libwininet.a: wininet/wininet.spec.def
|
||||
|
@ -1921,7 +1915,6 @@ version/version.spec.def: $(WINEBUILD)
|
|||
win32s/w32skrnl.spec.def: $(WINEBUILD)
|
||||
wined3d/wined3d.spec.def: $(WINEBUILD)
|
||||
winedos/winedos.spec.def: $(WINEBUILD)
|
||||
wineps/wineps.spec.def: $(WINEBUILD)
|
||||
wininet/wininet.spec.def: $(WINEBUILD)
|
||||
winmm/winmm.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
|
||||
winmm/winenas/winenas.drv.so: winmm/winenas
|
||||
winmm/wineoss/wineoss.drv.so: winmm/wineoss
|
||||
wineps/wineps.dll.so: wineps
|
||||
wineps/wineps.drv.so: wineps
|
||||
ttydrv/winetty.drv.so: ttydrv
|
||||
x11drv/winex11.drv.so: x11drv
|
||||
wininet/wininet.dll.so: wininet
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
Makefile
|
||||
rsrc.res
|
||||
wineps.dll.dbg.c
|
||||
wineps.spec.def
|
||||
wineps.drv.dbg.c
|
||||
wineps16.drv.spec.c
|
||||
|
|
|
@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
|
|||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = wineps.dll
|
||||
MODULE = wineps.drv
|
||||
IMPORTS = user32 gdi32 winspool advapi32 kernel32
|
||||
EXTRAINCL = @FREETYPEINCL@
|
||||
|
||||
|
|
|
@ -157,12 +157,12 @@ WINSPOOL_SetDefaultPrinter(const char *devname, const char *name,BOOL force) {
|
|||
if (force ||
|
||||
!GetProfileStringA("windows","device","*",qbuf,sizeof(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;
|
||||
|
||||
sprintf(buf,"%s,WINEPS,LPR:%s",devname,name);
|
||||
sprintf(buf,"%s,WINEPS.DRV,LPR:%s",devname,name);
|
||||
WriteProfileStringA("windows","device",buf);
|
||||
if(RegCreateKeyW(HKEY_CURRENT_USER, user_default_reg_key, &hkey) == ERROR_SUCCESS) {
|
||||
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++) {
|
||||
port = HeapAlloc(GetProcessHeap(),0,strlen("LPR:")+strlen(dests[i].name)+1);
|
||||
sprintf(port,"LPR:%s",dests[i].name);
|
||||
devline=HeapAlloc(GetProcessHeap(),0,strlen("WINEPS,")+strlen(port)+1);
|
||||
sprintf(devline,"WINEPS,%s",port);
|
||||
devline=HeapAlloc(GetProcessHeap(),0,sizeof("WINEPS.DRV,")+strlen(port));
|
||||
sprintf(devline,"WINEPS.DRV,%s",port);
|
||||
WriteProfileStringA("devices",dests[i].name,devline);
|
||||
if(RegCreateKeyW(HKEY_CURRENT_USER, user_printers_reg_key, &hkey) == ERROR_SUCCESS) {
|
||||
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);
|
||||
sprintf(port,"LPR:%s",name);
|
||||
|
||||
devline=HeapAlloc(GetProcessHeap(),0,strlen("WINEPS,")+strlen(port)+1);
|
||||
sprintf(devline,"WINEPS,%s",port);
|
||||
devline=HeapAlloc(GetProcessHeap(),0,sizeof("WINEPS.DRV,")+strlen(port));
|
||||
sprintf(devline,"WINEPS.DRV,%s",port);
|
||||
WriteProfileStringA("devices",devname,devline);
|
||||
if(RegCreateKeyW(HKEY_CURRENT_USER, user_printers_reg_key, &hkey) == ERROR_SUCCESS) {
|
||||
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... */
|
||||
ZeroMemory( &dm, sizeof(dm) );
|
||||
strcpy(dm.dmDeviceName,"wineps");
|
||||
strcpy(dm.dmDeviceName,"wineps.drv");
|
||||
dm.dmSpecVersion = DM_SPECVERSION;
|
||||
dm.dmDriverVersion = 1;
|
||||
dm.dmSize = sizeof(DEVMODEA);
|
||||
|
|
Loading…
Reference in New Issue