Johannes von Rotz | 21 Jan 12:00 2015
Picon

Fix 'make World' on OpenBSD

Hi,

I tried to build CDE on OpenBSD today and had to do some minor 
adjustments to let the make process finish without errors.

Cheers, J.
From 244d467bf7adb486119fc1514cc792c0079b447a Mon Sep 17 00:00:00 2001
From: Johannes von Rotz <jr <at> vrtz.ch>
Date: Wed, 21 Jan 2015 11:54:46 +0100
Subject: [PATCH] Let "make World" run through on OpenBSD

---
 cde/programs/dtcm/dtcm/browser.c | 1 +
 cde/programs/dtcm/dtcm/help.c    | 1 +
 cde/programs/dtlogin/dm.h        | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/cde/programs/dtcm/dtcm/browser.c b/cde/programs/dtcm/dtcm/browser.c
index 94fb735..99d7246 100644
--- a/cde/programs/dtcm/dtcm/browser.c
+++ b/cde/programs/dtcm/dtcm/browser.c
 <at>  <at>  -29,6 +29,7  <at>  <at> 
  */

 #include <EUSCompat.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
(Continue reading)

alx | 25 Dec 22:50 2014

[PATCH] dtcopy: Fix file removal

Hi - this fixes a bug that causes dtfile to leave copies of 
moved/trashed files and directories when these are moved between 
different filesystems.
From e09104c58ef4cc434ef3ae6de35fb16c532d9354 Mon Sep 17 00:00:00 2001
From: alx <alx <at> fastestcode.org>
Date: Thu, 25 Dec 2014 22:06:11 +0100
Subject: [PATCH] dtcopy: Fix file removal
Content-Length: 991
Status: RO

---
 cde/programs/dtfile/dtcopy/fsrtns.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/cde/programs/dtfile/dtcopy/fsrtns.c b/cde/programs/dtfile/dtcopy/fsrtns.c
index c1d1d56..5532aca 100644
--- a/cde/programs/dtfile/dtcopy/fsrtns.c
+++ b/cde/programs/dtfile/dtcopy/fsrtns.c
 <at>  <at>  -387,7 +387,7  <at>  <at>  static int
 EraseObject(char *nameP, int force)
 {
   struct stat src_stat;
-  int rc;
+  int rc = 0;

   if (periodicCallback)
     if (periodicCallback() != 0)
 <at>  <at>  -396,15 +396,15  <at>  <at>  EraseObject(char *nameP, int force)
(Continue reading)

Richard L. Hamilton | 18 Dec 20:15 2014
Picon

Tips for porting to new platform? (Mac)

Are there any notes for getting started to port to a new platform?  I do have an imake from MacPorts (none is
bundled with Apple’s Xquartz.app), but the darwin.cf is ancient.

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Richard L. Hamilton | 29 Nov 20:28 2014
Picon

Other CDE and Motif related goodies out there

If someone gets it working and wants to jazz it up a bit, there’s other goodies out there.

xlockmore - some versions (google for it) included the ability to build with CDE support; I have an extended
action file to invoke that with the appropriate arguments, which adds some much cooler screen savers. 
Some of them need 3D acceleration to not be dogs.

Someone had done some audio utilities, that implemented the Sun keyboard volume keys, and provided a nice
front panel volume control.  The site doesn’t seem to be around anymore (and the relevant pages don’t
seem to be in archive.org), but I’ve got a copy (although so far, I only found the extracted version, not
the original archive file).  Note: all that is very specific to Sun keyboards and/or audio interfaces; but
if someone wanted to use it as a starting point for similar functionality elsewhere, it might be easier
than starting from scratch.

Older versions of the xpat2 multiple solitaire games program included Motif support (which I think was
ripped out at some point).

Someone else had done a digital clock for the front panel; haven’t tried to track that down yet.

There are (or were) perl modules to interact with the calendar; they could be used to automatically insert
entries for holidays every year.

While it wasn’t as pretty as the Sun CDE sdtwinlst, there was something that would list windows; I think I
helped get it working, maybe I still have that somewhere.   Yep, found a site that has it:  http://levana.de/findwindow/find_window.shtml

I have one or two oddities myself, listed at http://www.smart.net/~rlhamil/  (the bottom few entries).
The one I know some people other than me have used is dtwmcmd (sends f. commands to dtwm from the command
line).  I made that because I noticed that dtstyle could restart dtwm, but an action to edit .Xdefaults
(which was presumably a script calling dtpad) could not.  That made me curious enough to reverse-engineer
the mechanism.  So now you can do from a shell script something like
dtwmcmd f.restart -noconfirm
(Continue reading)

Richard L. Hamilton | 24 Nov 17:34 2014
Picon

SPARC build: a little more progress

Using the git code, the wiki Solaris build instructions (minus the /usr/bin/cc -> /usr/bin/gcc link), and
the following PATH
PATH=/usr/gnu/bin:/usr/xpg4/bin:/usr/bin:/opt/solarisstudio/bin
(which avoided the version of sed that was running wild), I got a lot further; until the error sequence
below.  Most of the binaries built, and the ones I can test by just putting the libraries they need in their
proper place appear to work (ugly without resource files, but usable, at least for those I tried, e.g.
dtksh, dtcalc, dtterm - nothing that needs the CDE-specific ToolTalk or RPC services for instance, since
I don’t have them running).

Any idea what to try next would be appreciated.  In the full build output, I did not see any mention of
libtptregexp, which I would have expected  prior to referencing the library as -ltptregexp.

So far, I see no reason to suppose that a SPARC build by someone who had previously succeed at an x86 build
should run into any insurmountable problems.  Whether I do it (with someone else telling me in sufficient
detail how they did their x86 build), or someone else with access to a modern enough SPARC to run Solaris 11
does it, I really think we ought to get it done somehow. :-)  Once the build was straightforward, there’s
no reason it couldn’t be done automatically on a regular basis, and given a test for successful
completion, packaged up, and put in a test repository, assuming someone has the knowledge to create
additional scripts to do that, and an idea for a version numbering convention that accommodates the idea
of a snapshot as of X time (with manual intervention only needed when an official version number change is
agreed-on.  Builds agreed on as acceptably stable could be promoted from a test repo to a “stable”
repo, etc.

Since I do have a T5240 that’s strictly my playtoy (albeit other LDOMs on there will be doing useful work
for me that I don’t want disrupted), in principle I could run automated builds for awhile (not signing up
to do that forever!!); but I will NOT host a repository or anything like that; so there would need to be a
place that I could drop the results.

errors below:

(Continue reading)

Richard L. Hamilton | 22 Nov 15:31 2014
Picon

see command doesn't finish in build

Building on Solaris 11.2 SPARC, per the wiki (i.e. code from git), the following sed command never finishes; eventually it could run the disk out of space making parser.c arbitrarily large.  Off the top of my head, I’m not good enough with sed to see why.  Given the PATH I had set, it appears that /usr/xpg4/bin/sed was the version being used.

including in programs/dtcm/server...
/usr/ccs/bin/yacc -d  parser.y
sed -e "s/yy/yyy/g" -e "\a# linea D" y.tab.c > parser.c
^C

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Murray Blakeman | 20 Nov 05:55 2014

Solaris 11 Dtlogin logindevperm console_user

During my testing I've noticed the following issue.

I may be doing something wrong so please let me know if I'm way off.

Most of this detail is from the following URL (and relevant links within)

http://www.x.org/wiki/Events/XDC2012/XDC2012AbstractAlanCoopersmith/SolarisXorgPrivileges.pdf

Solaris 11 uses "/etc/logindevperm" and "/dev/vt/console_user" to set the permissions of relevant devices.

As I understand it, an "ioctl" call is made by Xorg to the kernel to set the permissions of the devices and the "console".

Normally GDM sends a trigger to Xorg.  Xorg then makes an "ioctl" call to the kernel which sets the permission to the user logged into the console.  Below is an example when logged onto the console via GDM as "murrayb".

$ ls -l /dev/vt
total 0
...<snip>...
crw--w----   1 murrayb  tty      144,  7 Nov 17 00:56 7
...<snip>...
lrwxrwxrwx   1 root     root           1 Nov 17 00:55 active -> 7
lrwxrwxrwx   1 root     root           1 Nov 17 00:55 console_user -> 7

Permissions on all devices listed in "/etc/logindevperm" are also set to the "console_user", including the sound devices.

$ cat /etc/logindevperm | grep /dev/sound
/dev/vt/console_user    0600    /dev/sound/*            # audio devices

When logged into the console via Dtlogin as "murrayb", these are the permissions.

$ ls -l /dev/vt
total 0
...<snip>...
crw-------   1 root     root     270,  7 Nov 18 21:29 7
...<snip>...
lrwxrwxrwx   1 root     root           1 Nov 18 21:29 active -> 7
lrwxrwxrwx   1 root     root           1 Nov 19 15:23 console_user -> 7

This mean that all devices in "/etc/logindevperm" can only be accessed by "root" unless the permissions are changed manually.

The Dtlogin provided with Solaris from Sun/Oracle was obviously patched to send the relevant trigger to Xorg.

The patch used in GDM can be found here (I think this is it)

https://hg.java.net/hg/solaris-desktop~spec-files/file/eb13b6860b6c/patches/gdm-28-logindevperm.diff

I'm trying to locate the relevant patch for Dtlogin but considering it was closed source at the time, it may not be readily available.

Note that when running CDE via "env LANG=C startx /usr/dt/bin/Xsession" the permissions on the relevant files are fine but I noticed that the search folders for DT related files are different.  Not sure why that is.

Regards

Murray





------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Ulrich Wilkens | 20 Nov 03:33 2014
Picon

[PATCH] Fix FreeBSD 10.1 build


This patch fixes build problems on FreeBSD 10.1.

Imake doesn't use the traditional mode of cpp any longer if cpp is
part of clang. The new clang-cpp ignores stringification (#) and
token pasting (##) under some conditions and therefore is no longer
compatible with CDE's build system.

The patch also removes some new dtinfo warnings which occur when
compiled with the new clang version.

And it fixes a build problem under gcc: If <wchar.h> is included,
<stdlib.h> must also be included. Otherwise a macro is undefined.

-- 
Ulrich Wilkens
Email: mail@...

>From 80fbd61dcbbe58dda8d40a8ffae75c451878e42e Mon Sep 17 00:00:00 2001
From: Ulrich Wilkens <mail@...>
Date: Thu, 20 Nov 2014 02:11:47 +0100
Subject: [PATCH] Fix FreeBSD 10.1 build

---
 cde/config/cf/FreeBSD.cf                                     | 1 +
 cde/config/imake/imakemdep.h                                 | 2 +-
 cde/lib/DtTerm/TermPrim/TermPrimBuffer.c                     | 1 +
 cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c                   | 1 +
 cde/lib/DtTerm/TermPrim/TermPrimRenderLineDraw.c             | 1 +
 cde/lib/DtWidget/Editor.c                                    | 1 +
 cde/programs/dthelp/parser/canon1/build/Imakefile            | 3 +--
 cde/programs/dthelp/parser/canon1/eltdef/Imakefile           | 3 +--
 cde/programs/dthelp/parser/canon1/parser/Imakefile           | 3 +--
 cde/programs/dthelp/parser/pass1/build/Imakefile             | 3 +--
 cde/programs/dthelp/parser/pass1/eltdef/Imakefile            | 3 +--
 cde/programs/dthelp/parser/pass1/parser/Imakefile            | 3 +--
 cde/programs/dthelp/parser/pass2/build/Imakefile             | 3 +--
 cde/programs/dthelp/parser/pass2/eltdef/Imakefile            | 3 +--
 cde/programs/dthelp/parser/pass2/parser/Imakefile            | 3 +--
 cde/programs/dtinfo/dtinfo/src/UAS/DtSR/DtSR_BookcaseEntry.C | 2 +-
 cde/programs/dtinfo/dtinfo/src/UAS/DtSR/TextParser.C         | 2 +-
 cde/programs/dtinfo/dtinfogen/infolib/etc/SearchStorage.h    | 2 +-
 18 files changed, 18 insertions(+), 22 deletions(-)

diff --git a/cde/config/cf/FreeBSD.cf b/cde/config/cf/FreeBSD.cf
index 2ef9ba0..ce3e62c 100644
--- a/cde/config/cf/FreeBSD.cf
+++ b/cde/config/cf/FreeBSD.cf
 <at>  <at>  -36,6 +36,7  <at>  <at>  USE_GCC = UseGcc

 #if OSMajorVersion >= 10
 #define CppArgs			-Wno-invalid-pp-token
+#define DirFailPrefix		-
 #else
 #define CppArgs			/**/
 #endif
diff --git a/cde/config/imake/imakemdep.h b/cde/config/imake/imakemdep.h
index 44c5eb0..3a4614c 100644
--- a/cde/config/imake/imakemdep.h
+++ b/cde/config/imake/imakemdep.h
 <at>  <at>  -354,7 +354,7  <at>  <at>  char *cpp_argv[ARGUMENTS] = {
         {"-D__powerpc64__", "1"},
 # endif

-# ifdef __GNUC__
+# if defined(__GNUC__) && !defined(__llvm__)
 	"-traditional",
 # endif
 # ifdef __llvm__
diff --git a/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c b/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c
index 4f992f8..2310f69 100644
--- a/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c
+++ b/cde/lib/DtTerm/TermPrim/TermPrimBuffer.c
 <at>  <at>  -38,6 +38,7  <at>  <at>  static char rcs_id[] = "$XConsortium: TermPrimBuffer.c /main/1 1996/04/21 19:16:

 #define	USE_MEMCPY	/* use memcpy for line movement... */

+#include <stdlib.h>
 #include <wchar.h>
 #include <Xm/Xm.h>
 #include "TermHeader.h"       /* for MIN/MAX */
diff --git a/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c b/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c
index 4e348a1..3f72b64 100644
--- a/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c
+++ b/cde/lib/DtTerm/TermPrim/TermPrimBufferWc.c
 <at>  <at>  -38,6 +38,7  <at>  <at>  static char rcs_id[] = "$XConsortium: TermPrimBufferWc.c /main/1 1996/04/21 19:1

 #define	USE_MEMCPY	/* use memcpy for line movement... */

+#include <stdlib.h>
 #include <wchar.h>
 #include <Xm/Xm.h>
 #include "TermHeader.h"       /* for MIN/MAX */
diff --git a/cde/lib/DtTerm/TermPrim/TermPrimRenderLineDraw.c b/cde/lib/DtTerm/TermPrim/TermPrimRenderLineDraw.c
index 96cfd2a..b623419 100644
--- a/cde/lib/DtTerm/TermPrim/TermPrimRenderLineDraw.c
+++ b/cde/lib/DtTerm/TermPrim/TermPrimRenderLineDraw.c
 <at>  <at>  -33,6 +33,7  <at>  <at>  static char rcs_id[] = "$XConsortium: TermPrimRenderLineDraw.c /main/1 1996/04/2
  * (c) Copyright 1993, 1994 Novell, Inc.                                *
  */

+#include <stdlib.h>
 #include <wchar.h>

 #include "TermHeader.h"
diff --git a/cde/lib/DtWidget/Editor.c b/cde/lib/DtWidget/Editor.c
index d330e09..5f36172 100644
--- a/cde/lib/DtWidget/Editor.c
+++ b/cde/lib/DtWidget/Editor.c
 <at>  <at>  -51,6 +51,7  <at>  <at> 
 */

 #include <ctype.h>
+#include <stdlib.h>

 #if defined(__hpux) || defined(__osf__) || defined(USL)
 # include <wchar.h> 
diff --git a/cde/programs/dthelp/parser/canon1/build/Imakefile b/cde/programs/dthelp/parser/canon1/build/Imakefile
index f93d2a1..139167d 100644
--- a/cde/programs/dthelp/parser/canon1/build/Imakefile
+++ b/cde/programs/dthelp/parser/canon1/build/Imakefile
 <at>  <at>  -63,8 +63,7  <at>  <at>  NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),

 $(CPRODS):  $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.bld context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HELPTAGSRC)/delim.bld delim.dat
+	$(CP) $(HELPTAGSRC)/delim.bld delim.dat  /* appl.-specific delim.dat */
 	$(HELPUTILSRC)/context sparse

 $(HELPUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/canon1/eltdef/Imakefile b/cde/programs/dthelp/parser/canon1/eltdef/Imakefile
index 4784b6a..510235b 100644
--- a/cde/programs/dthelp/parser/canon1/eltdef/Imakefile
+++ b/cde/programs/dthelp/parser/canon1/eltdef/Imakefile
 <at>  <at>  -61,8 +61,7  <at>  <at>  $(EPRODS): eltdef  $(HELPIFFILE) $(HELPTSSFILE)

 $(CPRODS):  $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.elt context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HELPTAGSRC)/delim.elt delim.dat
+	$(CP) $(HELPTAGSRC)/delim.elt delim.dat  /* appl.-specific delim.dat */
 	$(HELPUTILSRC)/context

 $(HELPUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/canon1/parser/Imakefile b/cde/programs/dthelp/parser/canon1/parser/Imakefile
index c639066..324c22d 100644
--- a/cde/programs/dthelp/parser/canon1/parser/Imakefile
+++ b/cde/programs/dthelp/parser/canon1/parser/Imakefile
 <at>  <at>  -99,8 +99,7  <at>  <at>  $(HELPTAGSRC)/dthelp_ctag1: parser

 $(CPRODS):  $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.par context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HELPTAGSRC)/delim.par delim.dat
+	$(CP) $(HELPTAGSRC)/delim.par delim.dat  /* appl.-specific delim.dat */
 	$(HELPUTILSRC)/context

 $(HELPUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/pass1/build/Imakefile b/cde/programs/dthelp/parser/pass1/build/Imakefile
index 7a7b587..bbf6b43 100644
--- a/cde/programs/dthelp/parser/pass1/build/Imakefile
+++ b/cde/programs/dthelp/parser/pass1/build/Imakefile
 <at>  <at>  -63,8 +63,7  <at>  <at>  NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),

 $(CPRODS):  $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.bld context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HELPTAGSRC)/delim.bld delim.dat
+	$(CP) $(HELPTAGSRC)/delim.bld delim.dat  /* appl.-specific delim.dat */
 	$(HELPUTILSRC)/context sparse

 $(HELPUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/pass1/eltdef/Imakefile b/cde/programs/dthelp/parser/pass1/eltdef/Imakefile
index 3f4a673..c0a6257 100644
--- a/cde/programs/dthelp/parser/pass1/eltdef/Imakefile
+++ b/cde/programs/dthelp/parser/pass1/eltdef/Imakefile
 <at>  <at>  -61,8 +61,7  <at>  <at>  $(EPRODS): eltdef  $(HELPIFFILE) $(HELPTSSFILE)

 $(CPRODS):  $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.elt context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HELPTAGSRC)/delim.elt delim.dat
+	$(CP) $(HELPTAGSRC)/delim.elt delim.dat  /* appl.-specific delim.dat */
 	$(HELPUTILSRC)/context

 $(HELPUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/pass1/parser/Imakefile b/cde/programs/dthelp/parser/pass1/parser/Imakefile
index e583464..db1cc93 100644
--- a/cde/programs/dthelp/parser/pass1/parser/Imakefile
+++ b/cde/programs/dthelp/parser/pass1/parser/Imakefile
 <at>  <at>  -99,8 +99,7  <at>  <at>  $(HELPTAGSRC)/dthelp_htag1: parser

 $(CPRODS):  $(HELPUTILSRC)/context $(HELPTAGSRC)/delim.par context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HELPTAGSRC)/delim.par delim.dat
+	$(CP) $(HELPTAGSRC)/delim.par delim.dat  /* appl.-specific delim.dat */
 	$(HELPUTILSRC)/context

 $(HELPUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/pass2/build/Imakefile b/cde/programs/dthelp/parser/pass2/build/Imakefile
index 29b1930..f3c5f2c 100644
--- a/cde/programs/dthelp/parser/pass2/build/Imakefile
+++ b/cde/programs/dthelp/parser/pass2/build/Imakefile
 <at>  <at>  -59,8 +59,7  <at>  <at>  NormalProgramTarget(build,$(OBJS),delim.h $(LOCAL_LIBRARIES),$(LOCAL_LIBRARIES),

 $(CPRODS):  $(SDLUTILSRC)/context $(HTAG2SRC)/delim.bld context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HTAG2SRC)/delim.bld delim.dat
+	$(CP) $(HTAG2SRC)/delim.bld delim.dat   /* appl.-specific delim.dat */
 	$(SDLUTILSRC)/context sparse

 $(SDLUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/pass2/eltdef/Imakefile b/cde/programs/dthelp/parser/pass2/eltdef/Imakefile
index 8a245de..96da155 100644
--- a/cde/programs/dthelp/parser/pass2/eltdef/Imakefile
+++ b/cde/programs/dthelp/parser/pass2/eltdef/Imakefile
 <at>  <at>  -58,8 +58,7  <at>  <at>  $(EPRODS): eltdef  $(SDLIFFILE)

 $(CPRODS):  $(SDLUTILSRC)/context $(HTAG2SRC)/delim.elt context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HTAG2SRC)/delim.elt delim.dat
+	$(CP) $(HTAG2SRC)/delim.elt delim.dat   /* appl.-specific delim.dat */
 	$(SDLUTILSRC)/context

 $(SDLUTILSRC)/context:
diff --git a/cde/programs/dthelp/parser/pass2/parser/Imakefile b/cde/programs/dthelp/parser/pass2/parser/Imakefile
index 478758b..701fe36 100644
--- a/cde/programs/dthelp/parser/pass2/parser/Imakefile
+++ b/cde/programs/dthelp/parser/pass2/parser/Imakefile
 <at>  <at>  -90,8 +90,7  <at>  <at>  $(HTAG2SRC)/dthelp_htag2: parser

 $(CPRODS):  $(SDLUTILSRC)/context $(HTAG2SRC)/delim.par context.dat
 	$(RM) $(CPRODS) $(CTRASH)
-	/* get application-specific delim.dat */
-	$(CP) $(HTAG2SRC)/delim.par delim.dat
+	$(CP) $(HTAG2SRC)/delim.par delim.dat   /* appl.-specific delim.dat */
 	$(SDLUTILSRC)/context

 $(SDLUTILSRC)/context:
diff --git a/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/DtSR_BookcaseEntry.C b/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/DtSR_BookcaseEntry.C
index e4c0439..d2cc898 100644
--- a/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/DtSR_BookcaseEntry.C
+++ b/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/DtSR_BookcaseEntry.C
 <at>  <at>  -116,7 +116,7  <at>  <at>  DtSR_BookcaseSearchEntry::~DtSR_BookcaseSearchEntry()
 void
 DtSR_BookcaseSearchEntry::search_zones(UAS_SearchZones& search_zones)
 {
-    if (! bcases().length() > 0) {
+    if (! (bcases().length() > 0)) {
 #ifdef DEBUG
 	fprintf(stderr, "search_zones tried on empty BookcaseEntry list\n");
 #endif
diff --git a/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/TextParser.C b/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/TextParser.C
index 67af02c..9c02b12 100644
--- a/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/TextParser.C
+++ b/cde/programs/dtinfo/dtinfo/src/UAS/DtSR/TextParser.C
 <at>  <at>  -50,7 +50,7  <at>  <at>  StringParser::brute_force(const char* text_in, int n_of_pats,
     else if (patterns == NULL || *patterns == '\0')
 	return NULL;

-    if (! n_of_pats > 0)
+    if (! (n_of_pats > 0))
 	return NULL;

     char** pat_tbl = new char*[n_of_pats + 1];
diff --git a/cde/programs/dtinfo/dtinfogen/infolib/etc/SearchStorage.h b/cde/programs/dtinfo/dtinfogen/infolib/etc/SearchStorage.h
index bdfcd08..dcbabff 100644
--- a/cde/programs/dtinfo/dtinfogen/infolib/etc/SearchStorage.h
+++ b/cde/programs/dtinfo/dtinfogen/infolib/etc/SearchStorage.h
 <at>  <at>  -23,7 +23,7  <at>  <at> 
 /* $XConsortium: SearchStorage.h /main/3 1996/07/18 16:49:38 drk $ */

 #ifndef SRCH_STOR_HDR
-#define SCRH_STOR_HDR
+#define SRCH_STOR_HDR

 #include <stdio.h>

--

-- 
1.7.11.5

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Steven Edwards | 18 Nov 08:54 2014
Picon

OS X and Autotools

Hi,
I couldn't find any information on if anyone else is working on either of these but I've started hacking on it in my local tree and am making pretty good progress. 

I don't want to waste a bunch of time so if anyone has a branch somewhere with support for either Mac OS X or a gnu style configure system, please reach out to me. Otherwise I hopefully will have something worth sharing in a few days.

Thanks
--
Steven Edwards

"There is one thing stronger than all the armies in the world, and that is an idea whose time has come." - Victor Hugo
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel
Picon

XView

Hi folks,

Apologies if this is a little too off topic, but I thought it might at least be
of interest to some list members. I'm currently working on a 64 bit port of the
XView libraries and clients (http://xview.xenu.tk/cgi-bin/view). This is based
on a version of XView that includes as many of the third-party modifications
were made to Sun's original release of the code as can be found.

My work so far has been to ANSI'fy the olgx library, which is the graphics layer
used by clients such as the olwm and olvwm window managers. I'm currently
ANSI'fying and cleaning up olwm. The hard task is going to be making the
variable argument lists in the xview library itself work on 64 bit systems,
since they rely on typedef that results in code assuming 32 bit pointers ...

Longer term, I'm going to suggest to the maintainer of the XView repository that
we include the SlingShot and UIT libraries that sat on top of XView to provide
extra widgets and a C++ API. I already have cleaned up version of SlingShot, but
it currently awaits the 64 bit version of XView to see what further work is
needed.

Cheers,

Chris

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Murray Blakeman | 17 Nov 06:01 2014

Re: [PATCH] OpenIndiana and Solaris port

On 17/11/2014 11:48 Someone wrote:
I haven’t attempted a build yet - but assuming it’s reasonably similar to Sun’s CDE (Solaris 10 and earlier) in terms of how it starts the X server, have you looked in /var/dt/Xerrors?  

When starting the Xvnc session the following entries appear in /var/dt/Xerrors.

/usr/openwin/bin/xset:  bad font path element (#2), possible causes are:
    Directory does not exist or has wrong permissions
    Directory missing fonts.dir
    Incorrect font server address or syntax

Mon Nov 17 12:39:24 2014
error (pid 3949): cannot read "C" message catalog. Using default language.

Then after entering username and password and pressing "Enter" the following appears in Xerrors and the vnc session closes.

No protocol specified
lpstat: No destinations added.

These entries don't appear when I log onto the console directly.

Kind regards and thanks for your help.

Murray
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@...
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Gmane