[cdesktopenv-devel] "unable to compile dtterm.ti "

2012-08-15 Thread Isaac
If you've installed CDE on Linux, you probably saw the error message "Unable to compile dtterm.ti" This is usually incorrect. What's really going on is: tic successfully compiles dtterm.ti, placing output in /etc/terminfo/d/dtterm The script looks in /usr/share{,/lib}/terminfo/d/dtterm, and doesn'

[cdesktopenv-devel] [PATCH] Add support for building 32bit SPARC binaries under Linux.

2012-08-15 Thread William Schaub
I tried to build CDE on my SunFire V100 running current Debian testing (wheezy) tonight. Attached is the patch that allows it to build. There is no attempt to look for sparc 64 bit since I can't find any Linux distro that runs on UltraSPARC machines that has a full 64bit userland. it seems th

Re: [cdesktopenv-devel] Dtfile segfault (linux amd64)

2012-08-15 Thread Frederic Koehler
Quite confusing looking. A couple suggestions: 1. Try recompiling CDE without optimizations so you get a complete backtrace and make sure gdb isn't getting confused anywhere [which certainly happens]. (I use this sort of command, perhaps there is a better way to do this) # make CDEBUGFLAGS='-O0

Re: [cdesktopenv-devel] [PATCH] Use $(KORNSHELL) for dtksh as well

2012-08-15 Thread Marcin Cieslak
On Thu, 16 Aug 2012, Ulrich Wilkens wrote: > On 08/15/12 04:39, Jon Trulson wrote: > > On Wed, 15 Aug 2012, Marcin Cieslak wrote: > > > > Applied. > > > > > This patch fails on FreeBSD 9.0 i3386 with: > > ./cdesktopenv-code/cde/programs/dtksh/ksh93/lib/libast.a(hashalloc.o): > In function `has

[cdesktopenv-devel] [EARLY PATCH] FreeBSD: Early support for the installer

2012-08-15 Thread Marcin Cieslak
This is work in progress - please do not merge into master yet. Note to users: please check if you are affected by awk bug in udbParseLib.awk if you can. Just remove this line: DUMMY = $0 and run "make clean all" in "databases" and see if generated files are small and contain only the e

[cdesktopenv-devel] Supported Distributions/Platforms

2012-08-15 Thread Christopher Turkel
Hi all I have updated the supported platforms page: https://sourceforge.net/p/cdesktopenv/wiki/SupportedPlatforms/ The newest additions are Fedora 17 and Archlinux. If you have something working that is not on that list, would you please post it here so I can update the wiki? Include any gotcha

Re: [cdesktopenv-devel] [PATCH] Process SGML and man files

2012-08-15 Thread Marcin Cieslak
On Thu, 16 Aug 2012, Ulrich Wilkens wrote: > Let me make a remark: > > In order to compile the documents dtdocbook also needs the external > program mkcatdefs. This is part of openmotif, but unfortunately it's not > compiled by default. So I stepped into the openmotif code, compiled it > manua

Re: [cdesktopenv-devel] [PATCH] Process SGML and man files

2012-08-15 Thread Ulrich Wilkens
Let me make a remark: In order to compile the documents dtdocbook also needs the external program mkcatdefs. This is part of openmotif, but unfortunately it's not compiled by default. So I stepped into the openmotif code, compiled it manually and copied it to cde/imports/motif/localized/util .

[cdesktopenv-devel] [PATCH] Provide basic font aliases for FreeBSD

2012-08-15 Thread Marcin Cieslak
The following font families (or their aliases) will be used: -adobe-courier-bold-o-normal--*- -adobe-courier-bold-r-normal--*- -adobe-courier-medium-o-normal--*- -adobe-courier-medium-r-normal--*- -adobe-helvetica-bold-o-normal--*- -adobe-helvetica-bold-r-normal--*- -adobe-helvetica-medium-o-norma

Re: [cdesktopenv-devel] [PATCH] Process SGML and man files

2012-08-15 Thread Marcin Cieslak
On Wed, 15 Aug 2012, Jon Trulson wrote: > On Wed, 15 Aug 2012, Ulrich Wilkens wrote: > > > Hmm, I tested the patch on Bsd and linux, on 32 and 64 bit and i didn't got > > this error. > > But anyway, here's the patch again with the last part changed. Now nsgmls > > is > > compiled with -fpermis

[cdesktopenv-devel] dtsession listening on IPv6?

2012-08-15 Thread Marcin Cieslak
Hello, My 64-bit FreeBSD dtsession still does not work as it should. dtsession hangs after startup - it launches dtfile, dtwm and dthelp but no application appears. dtfile can communicate to ttsession (there are some messages shown when running ttsession -t) During my troubleshooting I noticed

[cdesktopenv-devel] [PATCH] Fix compiler warnings in dtsession

2012-08-15 Thread Marcin Cieslak
--- cde/lib/DtSvc/DtUtil2/UserMsg.h |4 +-- cde/programs/dtsession/SmCommun.c |1 + cde/programs/dtsession/SmConMgmt.c |2 +- cde/programs/dtsession/SmGlobals.c | 50 +-- cde/programs/dtsession/SmLock.c |1 + cde/programs/dtsession/SmMa

Re: [cdesktopenv-devel] [PATCH] Use $(KORNSHELL) for dtksh as well

2012-08-15 Thread Ulrich Wilkens
On 08/15/12 04:39, Jon Trulson wrote: > On Wed, 15 Aug 2012, Marcin Cieslak wrote: > > Applied. > This patch fails on FreeBSD 9.0 i3386 with: ./cdesktopenv-code/cde/programs/dtksh/ksh93/lib/libast.a(hashalloc.o): In function `hashalloc': hashalloc.c:(.text+0x1f9): undefined reference to `__va_c

Re: [cdesktopenv-devel] [PATCH 15/16] Modern BSDs don't need union wait

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Marcin Cieslak wrote: > We have > > pid_t > wait3(int *status, int options, struct rusage *rusage); > > on FreeBSD and we don't need (union wait) handling. > Applied. -- Jon Trulson "If the Martian rope-a-dope don't get him, he'll get himself, he'll come in too fast and

Re: [cdesktopenv-devel] [PATCH 14/16] FreeBSD does not need extern char *sys_errlist[]

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Marcin Cieslak wrote: > Add preprocessor directives not to try > to redefine sys_errlist[] or sys_nerr Applied. -- Jon Trulson "If the Martian rope-a-dope don't get him, he'll get himself, he'll come in too fast and punch himself out." - one of my brothers,

Re: [cdesktopenv-devel] [PATCH] Process SGML and man files

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Ulrich Wilkens wrote: > Hmm, I tested the patch on Bsd and linux, on 32 and 64 bit and i didn't got > this error. > But anyway, here's the patch again with the last part changed. Now nsgmls is > compiled with -fpermissive like it's done under linux. You have to patch > here

Re: [cdesktopenv-devel] [PATCH 15/16] Modern BSDs don't need union wait

2012-08-15 Thread Marcin Cieslak
On Wed, 15 Aug 2012, Jon Trulson wrote: > On Wed, 15 Aug 2012, Marcin Cieslak wrote: > > > We have > > > > pid_t > > wait3(int *status, int options, struct rusage *rusage); > > > > on FreeBSD and we don't need (union wait) handling. > > > > Again - doesn't this apply to the other bsd's as wel

Re: [cdesktopenv-devel] [PATCH 14/16] FreeBSD does not need extern char *sys_errlist[]

2012-08-15 Thread Marcin Cieslak
On Wed, 15 Aug 2012, Jon Trulson wrote: > On Wed, 15 Aug 2012, Marcin Cieslak wrote: > > > Add preprocessor directives not to try > > to redefine sys_errlist[] or sys_nerr > > > > There are already definitions: > > > > extern __const char *__const sys_errlist[]; > > extern __const int sys_nerr;

Re: [cdesktopenv-devel] [PATCH 16/16] FreeBSD updates for dtspcd, dtfile and others

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Marcin Cieslak wrote: > * Add libraries where necesary > * Point to Freetype2 includes for dtfile > * Define default manpath Applied. -- Jon Trulson "If the Martian rope-a-dope don't get him, he'll get himself, he'll come in too fast and punch himself out."

Re: [cdesktopenv-devel] [PATCH 15/16] Modern BSDs don't need union wait

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Marcin Cieslak wrote: > We have > > pid_t > wait3(int *status, int options, struct rusage *rusage); > > on FreeBSD and we don't need (union wait) handling. > Again - doesn't this apply to the other bsd's as well? ie use CSRG_BASED rather than __FreeBSD__? > Another good can

Re: [cdesktopenv-devel] [PATCH 14/16] FreeBSD does not need extern char *sys_errlist[]

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Marcin Cieslak wrote: > Add preprocessor directives not to try > to redefine sys_errlist[] or sys_nerr > > There are already definitions: > > extern __const char *__const sys_errlist[]; > extern __const int sys_nerr; > > in > This is probably true of all of the BSD's, so ins

Re: [cdesktopenv-devel] running rpcbind without -i (insecure)

2012-08-15 Thread Frederic Koehler
On Wed, Aug 15, 2012 at 1:25 PM, Jon Trulson wrote: > In IRC yesterday, kpedersen mentioned he had made CDE run under Fedora > 17. He said he had to install the tirpc (Transport Independant RPC) > package, as fedora does not include the rpc facility in their glibc > anymore. I was a little puzzle

Re: [cdesktopenv-devel] [PATCH] Process SGML and man files

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Ulrich Wilkens wrote: > This patches allow to process the SGML files and man pages in the doc > directory on FreeBSD. > The two large files *.lcx are needed to translate locales. These files > are just a copy from the linux version followed by s/Linux/FreeBSD/g for > example

Re: [cdesktopenv-devel] running rpcbind without -i (insecure)

2012-08-15 Thread Jon Trulson
On Wed, 15 Aug 2012, Marcin Cieslak wrote: >>> Jon Trulson wrote: >> This message is in MIME format. The first part should be readable text, >> while the remaining parts are likely unreadable without MIME-aware tools. >> >> --8323329-905150771-1345051536=:12267 >> Content-Type: TEXT/PLAIN; f

Re: [cdesktopenv-devel] running rpcbind without -i (insecure)

2012-08-15 Thread Marcin Cieslak
>> Jon Trulson wrote: > This message is in MIME format. The first part should be readable text, > while the remaining parts are likely unreadable without MIME-aware tools. > > --8323329-905150771-1345051536=:12267 > Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII > > In IRC yesterda

[cdesktopenv-devel] [PATCH 15/16] Modern BSDs don't need union wait

2012-08-15 Thread Marcin Cieslak
We have pid_t wait3(int *status, int options, struct rusage *rusage); on FreeBSD and we don't need (union wait) handling. Another good candidate for one #ifdef from imake templates. We have already OPT_BSD_WAIT in ToolTalk's tt_options.h --- cde/programs/dtudcexch/exportbdf.c |2

[cdesktopenv-devel] [PATCH 16/16] FreeBSD updates for dtspcd, dtfile and others

2012-08-15 Thread Marcin Cieslak
* Add libraries where necesary * Point to Freetype2 includes for dtfile * Define default manpath --- cde/programs/dtaction/Imakefile |4 cde/programs/dtcm/dtcm/Imakefile |2 +- cde/programs/dtfile/Imakefile |2 +- cde/programs/dtsearchpat

[cdesktopenv-devel] [PATCH 14/16] FreeBSD does not need extern char *sys_errlist[]

2012-08-15 Thread Marcin Cieslak
Add preprocessor directives not to try to redefine sys_errlist[] or sys_nerr There are already definitions: extern __const char *__const sys_errlist[]; extern __const int sys_nerr; in Actually we should have something like NeedSysErrlist in imake definitions to get rid of those #ifdefs. ---

[cdesktopenv-devel] running rpcbind without -i (insecure)

2012-08-15 Thread Jon Trulson
In IRC yesterday, kpedersen mentioned he had made CDE run under Fedora 17. He said he had to install the tirpc (Transport Independant RPC) package, as fedora does not include the rpc facility in their glibc anymore. The tirpc runtime seems to already be installed on all of the ubuntu/kubuntu sys

Re: [cdesktopenv-devel] [PATCH] Process SGML and man files

2012-08-15 Thread Marcin Cieslak
>> Ulrich Wilkens wrote: > diff --git a/cde/programs/nsgmls/parser_inst.m4 > b/cde/programs/nsgmls/parser_inst.m4 > index 4c09cb2..a325156 100644 > --- a/cde/programs/nsgmls/parser_inst.m4 > +++ b/cde/programs/nsgmls/parser_inst.m4 > @@ -26,6 +26,7 @@ > #undef SP_DEFINE_TEMPLATES > > #includ

Re: [cdesktopenv-devel] [PATCH] const char maze: unbreak ToolTalk build

2012-08-15 Thread ch...@chriswareham.net
On 15 August 2012 at 03:13 Marcin Cieslak wrote:> >> Marcin Cieslak wrote: > > Follow up to de82eebdd56c02ae200bf2d9ec60df053919e7e7 > > --- > > cde/lib/tt/lib/db/tt_db_client.C | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/cde/lib/tt/lib/db/tt_db_client.C > > b/cd