Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
b3e9c447
Commit
b3e9c447
authored
May 06, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed wineps.dll to wineps.drv for consistency.
parent
0bb4bddf
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
24 deletions
+16
-24
Makefile.in
dlls/Makefile.in
+6
-13
.cvsignore
dlls/wineps/.cvsignore
+1
-2
Makefile.in
dlls/wineps/Makefile.in
+1
-1
wineps.drv.spec
dlls/wineps/wineps.drv.spec
+0
-0
info.c
dlls/winspool/info.c
+8
-8
No files found.
dlls/Makefile.in
View file @
b3e9c447
...
...
@@ -394,7 +394,7 @@ SYMLINKS_SO = \
winemp3.acm.so
\
winenas.drv.so
\
wineoss.drv.so
\
wineps.d
ll
.so
\
wineps.d
rv
.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.d
ll.so
:
wineps/wineps.dll
.so
$(RM)
$@
&&
$(LN_S)
wineps/wineps.d
ll
.so
$@
wineps.d
rv.so
:
wineps/wineps.drv
.so
$(RM)
$@
&&
$(LN_S)
wineps/wineps.d
rv
.so
$@
wineps16.drv.so
:
wineps.d
ll
.so
$(RM)
$@
&&
$(LN_S)
wineps.d
ll
.so
$@
wineps16.drv.so
:
wineps.d
rv
.so
$(RM)
$@
&&
$(LN_S)
wineps.d
rv
.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.d
ll
.so
:
wineps
wineps/wineps.d
rv
.so
:
wineps
ttydrv/winetty.drv.so
:
ttydrv
x11drv/winex11.drv.so
:
x11drv
wininet/wininet.dll.so
:
wininet
...
...
dlls/wineps/.cvsignore
View file @
b3e9c447
Makefile
rsrc.res
wineps.dll.dbg.c
wineps.spec.def
wineps.drv.dbg.c
wineps16.drv.spec.c
dlls/wineps/Makefile.in
View file @
b3e9c447
...
...
@@ -2,7 +2,7 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
wineps.d
ll
MODULE
=
wineps.d
rv
IMPORTS
=
user32 gdi32 winspool advapi32 kernel32
EXTRAINCL
=
@FREETYPEINCL@
...
...
dlls/wineps/wineps.spec
→
dlls/wineps/wineps.
drv.
spec
View file @
b3e9c447
File moved
dlls/winspool/info.c
View file @
b3e9c447
...
...
@@ -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
,
s
trlen
(
"WINEPS,"
)
+
strlen
(
port
)
+
1
);
sprintf
(
devline
,
"WINEPS,%s"
,
port
);
devline
=
HeapAlloc
(
GetProcessHeap
(),
0
,
s
izeof
(
"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
,
s
trlen
(
"WINEPS,"
)
+
strlen
(
port
)
+
1
);
sprintf
(
devline
,
"WINEPS,%s"
,
port
);
devline
=
HeapAlloc
(
GetProcessHeap
(),
0
,
s
izeof
(
"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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment