Thread: [Dps-devel] Re: Pswrap and includes
Status: Inactive
Brought to you by:
jch
From: Adam F. <fe...@do...> - 2001-01-10 16:34:07
|
>> > 1) don't include anything to do with dpsops, it doesn't appear to be > required for this example - requires modification to "pswrap" utility > > 2) leave "pswrap" as it is, in this case the Makefile will have to > include an additional -I parameter to explicitly include the path which > contains the psops.h file > > 3) modify the output of "pswrap" to include <DPS/psops.h> - requires > modification to "pswrap" utility > I don't see why psops.h is included at all, it's almost recursive - pswrap actually generates the psops.h file from a psops.psw file (well, not exactly, but you get my point). The only place it should be necessary (if at all) is the psops.c file (again, not exactly the case). |
From: Juliusz C. <Jul...@en...> - 2001-01-18 21:49:31
|
MY> What version of pswrap does XFree86 use? We use a locally modified version of 1.009, as distributed with Adobe's client side libraries. The Adobe code is the same as the one from which the DGS version is derived. The local modifications have mostly to do with integrating the build and installation of the DPS client libraries with the XFree86 build process, and full ANSI-fication. It is quite possible that the changes we are speaking about have something to do with the ANSI-fication. At any rate, unless someone objects, I'm going to send a patch that brings the header back in line with the Adobe implementation (which is what Solaris follows): #include <DPS/dpsfriends.h> #include <string.h> (By the way, the reason the XFree86 version is not derived from DGS is that we cannot use GPLd code in our tree. If there are any fixes that the DGS developers would like to contribute, we will be very glad to include them; please drop a note to fixes at xfree86.org). Regards, Juliusz |
From: Masatake Y. <mas...@is...> - 2001-01-19 07:21:08
|
> (By the way, the reason the XFree86 version is not derived from DGS is > that we cannot use GPLd code in our tree. If there are any fixes that > the DGS developers would like to contribute, we will be very glad to > include them; please drop a note to fixes at xfree86.org). See the DPS directory of DGS. There is no COPYING file. As far as I know, the DPS directory is not GPLd. Further more, I'll introduce your modification for DPS into dgs/DPS. Search your name in the ChangeLog below:) DGS developers improves in some points. I think you can introduce these improvements into your DPS. Some improvements are aimed to leave from imake, but the other are worth to check:) The directory can be packaged separately from DGS itself. Actually it is possible to run "gmake dist " at DPS directory of DGS. Masatake YAMATO dgs/DPS/ChangeLog: Wed Jul 12 20:40:24 2000 Masatake YAMATO <je...@gy...> Following changes come from dgs-0_5_10release. 2000-05-06 Masatake YAMATO <je...@gy...> * (*/Makefile.in): regenerated. * lib/dpstk/Makefile.am (SUFFIXES): Added .h. (.psw.c): Create empty file if there is not PSWRAP command. (.psw.h): New rule. * lib/dps/Makefile.am: (.psw.c): Create empty file if there is not PSWRAP command. (.psw.ah): Likewise. (.psw.h): Likewise. * demos/texteroids/Makefile.am (SUFFIXES): Added .h. (.psw.h): New rule. (.psw.c): Create empty file if there is not PSWRAP command. 2000-02-08 Adam Fedor <fe...@gn...> * lib/dps/Xlibnet.h: Check for __SVR4 and __sun along with SVR4 and sun in #ifdefs * lib/dps/csconndi.c: Likewise. * lib/dps/csfindNX.c: Likewise. * lib/dps/cslibint.c: Likewise. * lib/dps/dpsclient.c: Likewise. (Suggestion from Didier FORT <did...@fe...>). 2000-01-24 Masatake YAMATO <mas...@is...> * lib/dpstk/FontSample.c: Hide the declaration of strstr. This modification comes from DPS.patch in dpsx-0.0.0 by Juliusz Chroboczek <Jul...@en...>. 1999-09-08 SHIRASAKI Yasuhiro <yas...@aw...> * clients/pswrap/lexer.l: remove $ from PS comment handling. 1999-09-07 Masatake YAMATO <mas...@is...> * Use libtool 1.3.3 and regenerate files. 1999-09-05 Masatake YAMATO <mas...@is...> * demos/texteroids/texteroids.c (CheckHit): (main): Correct Adam's `correction of transform from X coordinates'. See the entry, `1999-04-26 Adam Fedor <fe...@gn...>)' 1999-08-25 SHIRASAKI Yasuhiro <yas...@aw...> * lib/dps/XDPS.c.orig, lib/dps/cslibint.[ch]: correct XDPSLIOProcs initializer. * demos/xepsf/xepsf.c, demos/dpsexec/dpsexec.c, demos/texteroids/texteroids.c: main should return int. 1999-08-04 SHIRASAKI Yasuhiro <yas...@aw...> * clients/pswrap/pswfile.c: #include its own header file for output. 1999-08-01 SHIRASAKI Yasuhiro <yas...@aw...> * lib/dps/csconndi.c (MakeUNIXSocketConnection,MakeTCPConnection): Check return value for setsockopt. 1999-08-01 Masatake YAMATO <mas...@is...> Applied another patch sent from SHIRASAKI Yasuhiro<yas...@aw...>. * lib/dps/csconndi.c (MakeUNIXSocketConnection): Use sockaddr_un only. The structure members are changed between 4.4BSD(?) and 4.3BSD. 1999-08-01 Masatake YAMATO <mas...@is...> Applied a patch sent from SHIRASAKI Yasuhiro<yas...@aw...>. * demos/xepsf/Makefile.am (xepsf_LDADD): Change the order of linking libraries. * clients/makepsres/makepsres.c: Added __FreeBSD__ to a if-defined list. 1999-04-26 Adam Fedor <fe...@gn...> * demos/texteroids/texteroids.c (CheckHit): Correct transform from from X coordinates (ITransform). (main): Likewise. Mon Mar 8 20:24:14 1999 Masatake YAMATO <mas...@to...> * clients/pswrap/lexer.l (yywrap): Remove '#if 0' and '#endif'. Use YY_START and INITIAL instead of yybgin and yysvec. The #if block might be introduced in dgs-0.5.0. The reason might be yybgin and yysvec doesn't portable enough. * include/DPS/dpsconfig.h: Checked i386 and __i386__. These modification came from BALATON Zoltan's<ba...@ei...> client patch. Mon Mar 8 02:21:17 1999 Masatake YAMATO <mas...@to...> * clients/pswrap/Makefile.am (EXTRA_DIST): Added lex and yacc files. These files are not needed to build because generated C files are added to the distribution by automake. However generated C files are referred to check dependences by make. (CLEANFILES): Don't remove gen_sources. (pswrap_SOURCES): Put '\' after pswsemantics.c. 1998-02-07 Thomas Tanner <ta...@gm...> * Use autoconf/automake/libtool |