1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00
Commit graph

439 commits

Author SHA1 Message Date
Peter Howkins
a34f78b798 convert all Imakefile LinuxDistribution to LinuxArchitecture.
(programs part 2)
2012-05-31 13:47:41 +01:00
Peter Howkins
1d555edb6c Convert all Imakefile LinuxDistribution switches to LinuxArchitecture.
(programs part1)
2012-05-31 13:40:38 +01:00
Peter Howkins
837972cb69 Modify all Imakefile files to use LinuxArchitecture instead of LinuxDistribution
for Linux specific changes. (lib directory)
2012-05-31 12:41:33 +01:00
Peter Howkins
095002b5d9 Addition of LGPL file at top level, deprecation of file copyright, and
modify the user facing copying help text to be LGPL.
2012-05-29 16:54:57 +01:00
Peter Howkins
18831d2cdf Revert previous erroneous change made on master that had already been
done on linux1.
2012-05-29 16:42:30 +01:00
Jon Trulson
262171d25f disable building of dtappbuilder until building right 2012-05-26 21:06:06 -06:00
Jon Trulson
9526740ddd dtsession: fix VU#497553 2012-05-26 19:29:50 -06:00
Jon Trulson
b4f3efb692 DtSvc/dtspcd: fixes for VU#172583 2012-05-26 19:09:33 -06:00
Jon Trulson
a2959aa768 dtspcd: fix symlink vulnerability, a couple warnings 2012-05-26 18:57:11 -06:00
Jon Trulson
70128313e9 tt_isam_record.C/tt_isam_record.C: fix CERT VU#387387 part 3 2012-05-26 18:39:51 -06:00
Jon Trulson
95e6fd42cc tt_isam_record.C: fix CERT VU#387387 part 2 2012-05-26 18:29:26 -06:00
Jon Trulson
e820f21540 tt_isam_record.C: fix CERT VU#387387 2012-05-26 18:28:02 -06:00
Jon Trulson
3231696f03 dm_server.C: fix CERT VU#975403/VU#299816 2012-05-26 18:24:31 -06:00
Jon Trulson
8e4e53f4b9 FileUtils.c: fix CERT VU#575804 2012-05-26 18:14:58 -06:00
Jon Trulson
c0f9270dd3 linux has supported shadow passwords forever... 2012-05-26 17:57:11 -06:00
Jon Trulson
0961da28b9 Several adjustments to installCDE.src:
Do not require the user to be root

 Use -e in echo statments so that embedded \t's etc will display.

 Do not save install log in /tmp with a known name, especially since
 it is supposed to be run as root.  This is a Bad Thing To Do (tm).
 Instead just save the log in the current dir.
2012-05-26 17:30:53 -06:00
Jon Trulson
9a74b54870 Remove dtinfo and dtksh from the build for now 2012-05-26 17:23:03 -06:00
Jon Trulson
6d78c23be9 Remove -k option from WORLDOPTS 2012-05-26 17:21:45 -06:00
Peter Howkins
de621b906b On the gneeric authenticator use shadow password API if under linux,
allows login on dtlogin.
2012-04-19 17:16:50 +01:00
Peter Howkins
bc96e6f1ff HACK, instant should not stop on non fatal fatals, this allows building
of 'C' locale help files.
2012-04-14 23:18:17 +01:00
Peter Howkins
aa605c16f3 Linux compilation of ttsnoop (Matthew Howkins)
This may contain prexisting 64-bit issues, caused by hammering pointers
into ints.
2012-04-12 19:08:52 +01:00
Peter Howkins
0859109ba0 Linux compilation of dtbuilder (Matthew Howkins) 2012-04-12 17:36:54 +01:00
Peter Howkins
1d97f19166 Linux compilation fixes for dthelp (Matthew Howkins) 2012-04-12 16:21:14 +01:00
Peter Howkins
e60d58be07 Linux compilation of nsgmls (Matthew Howkins) 2012-04-11 18:03:23 +01:00
Peter Howkins
cc1d109aa9 Linux compilation of dtcm (Calendar), (Matthew Howkins) 2012-04-11 17:33:26 +01:00
Peter Howkins
5388cb4314 When compiling libcsa make sure it's linked against Xt at library compile
time. Prevents issues when programs that link against libcsa can't find
Xt symbols even when linked with -lXt
2012-04-11 16:52:34 +01:00
Peter Howkins
09f0b16cf3 Fix segfault on file not copyright file not found. Only fclose() a file
handle that has been successfully fopen()ed.
2012-04-11 15:37:12 +01:00
Peter Howkins
7e9a7df246 Add a MainWindow.h include to prevent missing references. 2012-04-02 15:18:51 +01:00
Peter Howkins
24d74bceee Don't declare 'Chunk' as both public and private, that's just daft. 2012-04-02 15:17:50 +01:00
Peter Howkins
145ffe54dd Don't redeclare forceUpdate() with the wrong prototype. 2012-04-02 15:16:58 +01:00
Peter Howkins
7416482cc3 Add -fpermissive to allow compilation of old C++ on modern GCC 2012-04-02 15:16:05 +01:00
Peter Howkins
7795c597af Use a particulaly unpleasant cast to get a void * into an enumeration type. 2012-04-02 15:15:04 +01:00
Peter Howkins
dcbef994e0 C++ needs variables to have a type, use int as a default. 2012-04-02 15:14:09 +01:00
Peter Howkins
8f43a96122 On linux use \r instead of ^M as the character for a carridge return. 2012-04-02 15:13:13 +01:00
Peter Howkins
5c6f7d5317 -fpermissive to allow GCC to compile old C++ 2012-04-02 14:56:05 +01:00
Peter Howkins
e7de343555 C++ doesn't allow variables to be declared without a type, use 'int' as
a default.
2012-04-02 14:47:47 +01:00
Peter Howkins
830a3572db Do not specify linux architecture specific defines, most of these are defaults
now, and some cause issues on i386 for example.
2012-03-24 17:35:46 +00:00
Peter Howkins
d929f4cf5f Link with C++ linker 2012-03-23 13:49:49 +00:00
Peter Howkins
d2f85af5e5 Don't try to define abs() on linux, stdlib will handle it. 2012-03-23 13:49:24 +00:00
Peter Howkins
cc949fccd2 Exceptionally hacky linux fix. gnu gencat is returning != 0 even when it's
succeeding.
2012-03-22 17:05:45 +00:00
Peter Howkins
1e3b674118 Do not include a couple of missing files under linux. 2012-03-22 16:00:56 +00:00
Peter Howkins
1476da61f7 Change over Linux to using the System V style pty code, it seems at some
point Linuxes pty code is no longer the BSD legacy one by default anymore.
2012-03-20 20:43:06 +00:00
Peter Howkins
aff0d2ff41 Add Freetype include path to build for DtWidget 2012-03-15 11:14:34 +00:00
Peter Howkins
87eee2f1e5 Link with C++ linker 2012-03-14 13:53:28 +00:00
Peter Howkins
939fc535d1 Prototype static function setRealDelArea() before it is used. 2012-03-14 13:52:14 +00:00
Peter Howkins
32e8c91d44 On linux do not include X11/Xlocale.h but locale.h, this prevents
Xlocale.h redefining setlocate() into _Xsetlocale() that it then can't
find and link against.
2012-03-14 13:50:42 +00:00
Peter Howkins
7294970c18 Namespace ostream and endl into std::
Use <iostream> without the .h
2012-03-13 17:54:48 +00:00
Peter Howkins
167fd854e1 namespace ostream into std::ostream for modern C++ 2012-03-13 17:45:34 +00:00
Peter Howkins
4e71617973 Add in -fpermissive for compiling old C++ on gcc 2012-03-13 17:43:43 +00:00
Peter Howkins
585674c817 Include <iostream> without the .h on modern C++ 2012-03-13 17:41:48 +00:00
Peter Howkins
5d76061f5d On linux ostream and endl need prefixing into the std namespace. 2012-03-13 17:40:21 +00:00
Peter Howkins
adf14ccd77 Include <iostream> without the .h on modern C++ 2012-03-13 17:31:56 +00:00
Peter Howkins
3984d5a45b On linux use the system provided libXau rather than one from the imports
directory (that would have linked to the X11 tree).
2012-03-13 17:18:35 +00:00
Peter Howkins
063cffa81d Add a .gitignore to try to reduce the amount of files listed as not
in repository on git status.
2012-03-13 16:44:50 +00:00
Peter Howkins
d1f3e24eac Use C++ linker
Add in freetype headers

Use system provided -lXdmcp and -Xau instead of trying to compile them
from the imports directory.
2012-03-13 16:15:22 +00:00
Peter Howkins
348f3cd81c Change detector for linux platform to match other Imakefile changes 2012-03-12 21:26:30 +00:00
Peter Howkins
7d770cff75 These days include standard C++ header files without the .h on the end 2012-03-12 16:43:22 +00:00
Peter Howkins
ca8ede6c1f Use C++ linker 2012-03-12 16:27:41 +00:00
Peter Howkins
fb174a8ec3 Undo previous method and use __va_copy instead. 2012-03-12 16:27:08 +00:00
Peter Howkins
0456158e41 On linux use the va_copy() func for variable arugment copying 2012-03-12 16:24:24 +00:00
Peter Howkins
63f6536c72 Initialise varargs list in the same way as OSF 2012-03-12 16:19:32 +00:00
Peter Howkins
71e364de5c Do not bother trying to redefine the putenv() function 2012-03-12 16:16:16 +00:00
Peter Howkins
53f42b5113 CLK_TCK is considered obsolete in GCC, use CLOCKS_PER_SEC instead 2012-03-12 16:05:21 +00:00
Peter Howkins
5949e1c410 Do not redefine strdup() on Linux 2012-03-12 16:03:06 +00:00
Peter Howkins
88cc514fbd Use C++ linker 2012-03-12 15:41:09 +00:00
Peter Howkins
5a09544b16 Linux doesn't allow open() with O_CREAT without permission flags anymore. 2012-03-12 15:39:22 +00:00
Peter Howkins
baf772785b -fpermissive to allow gcc to compile old C++ 2012-03-12 15:19:36 +00:00
Peter Howkins
77ed6f7ee3 -fpermissive to allow GCC to compile old C++ 2012-03-12 15:18:09 +00:00
Peter Howkins
dd2ff6b448 Set untyped variable to int 2012-03-12 15:15:38 +00:00
Peter Howkins
e315d4ba3e Setting const variable with no type to 'int' (likely the default the
old compilers would have used)
2012-03-12 15:14:12 +00:00
Peter Howkins
cbffec168a Use C++ linker 2012-03-12 14:48:23 +00:00
Peter Howkins
a26bc89ad5 Use C++ linker 2012-03-12 14:42:58 +00:00
Peter Howkins
c03c12449d use C++ linker 2012-03-12 14:40:34 +00:00
Peter Howkins
b368679e95 Use C++ linker 2012-03-12 14:37:47 +00:00
Peter Howkins
72d9ef5875 Add linux to list of platforms that use that form of memset() 2012-03-12 14:35:03 +00:00
Peter Howkins
8631b4f7c0 Link with C++ linker 2012-03-12 12:14:03 +00:00
Peter Howkins
eeb7e285f5 On linux use __fds_bits instead of fds_bits 2012-03-12 12:12:41 +00:00
Peter Howkins
a5b6e62764 Link with C++ linker 2012-03-12 12:07:09 +00:00
Peter Howkins
fd23228803 -fpermissive to allow old C++ to compile on gcc 2012-03-12 12:04:55 +00:00
Peter Howkins
7ed2353605 On Linux no access to pre iso C varargs.h 2012-03-12 11:56:11 +00:00
Peter Howkins
ef1755be43 Link with C++ linker 2012-03-12 11:45:18 +00:00
Peter Howkins
44baf5431b Link with C++ linker 2012-03-12 11:33:49 +00:00
Peter Howkins
68027a6aa0 Link with C++ linker 2012-03-12 11:27:37 +00:00
Peter Howkins
b069127485 Linux has the same value for ENOTSUP as another var, therefore protect one
to prevent a duplicate case issue in the switch().
2012-03-12 11:26:01 +00:00
Peter Howkins
12598a4780 Link with C++ linker 2012-03-12 11:19:46 +00:00
Peter Howkins
4d9bb3d348 Link with C++ linker 2012-03-12 11:19:04 +00:00
Peter Howkins
9ad5e31edd Link with C++ linker 2012-03-12 11:17:27 +00:00
Peter Howkins
7d5fcc4400 Link with C++ linker 2012-03-12 11:16:41 +00:00
Peter Howkins
ce390d1290 Link with C++ linker 2012-03-12 11:11:10 +00:00
Peter Howkins
bd368b24a2 Link with C++ linker 2012-03-12 11:01:17 +00:00
Peter Howkins
0e302b6bba Add in freetype directory to inlude path 2012-03-12 10:41:53 +00:00
Peter Howkins
f972ee1646 On Linux when linking against a C++ library the whole program must be linked
with the C++ linker.
2012-03-12 10:38:42 +00:00
Peter Howkins
c35c337aa1 When linking against libtt (a C++ lib) the link stage should use the C++
linker
2012-03-12 00:48:04 +00:00
Peter Howkins
e321b293c1 When linking against C++ libraries gcc insists on using the C++ linker 2012-03-12 00:44:14 +00:00
Peter Howkins
84139c3575 On Linux don't redefine the prototypes to malloc() and realloc() to the wrong
things.
2012-03-12 00:37:58 +00:00
Peter Howkins
86909a64f0 Linux is a unistdh platform not an osfcn.h 2012-03-12 00:35:06 +00:00
Peter Howkins
54e8940874 linux is a unistd.h platform not a osfcn.h 2012-03-12 00:33:44 +00:00
Peter Howkins
50465f5a87 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:32:10 +00:00
Peter Howkins
0ce783f018 Do not redefine prototype of exit() under linux 2012-03-12 00:31:10 +00:00
Peter Howkins
ee22401f76 Add <unistd.h> include for getopt() 2012-03-12 00:29:37 +00:00
Peter Howkins
e2f33fe1dd -fpermissive to allow gcc to compile old C++ 2012-03-12 00:27:41 +00:00
Peter Howkins
e68afb01e6 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:26:40 +00:00
Peter Howkins
a513d54964 -fpermissive to allow gcc to compile old C++ 2012-03-12 00:25:41 +00:00
Peter Howkins
4a6f362ee7 Use socklen_t type for argument for getsockname() 2012-03-12 00:25:04 +00:00
Peter Howkins
a2706176db Add int type to previously untyped variable 2012-03-12 00:23:06 +00:00
Peter Howkins
0ada4a2e39 On linux use a iso C (89) stdarg variable argument function.
Gcc no longer supports old style varargs.h
2012-03-12 00:18:13 +00:00
Peter Howkins
0a9e7d2db9 No easy access to min()/max() macro, rewrite code 2012-03-12 00:14:33 +00:00
Peter Howkins
fc4f30fa88 -fpermissive to allow GCC to compile old C++ 2012-03-12 00:06:34 +00:00
Peter Howkins
13f6ea01d4 No easy access to min() or max() macros, rewrite code to not use them. 2012-03-12 00:04:39 +00:00
Peter Howkins
8b79b425f8 No need to create another version of basename(), there's one available
on Linux
2012-03-11 23:58:53 +00:00
Peter Howkins
5aea241fd1 Linux uses unistd.h not osfcn.h 2012-03-11 23:57:12 +00:00
Peter Howkins
e8fe4970eb Linux also needs cast to char * of NULL 2012-03-11 23:51:05 +00:00
Peter Howkins
3d25ba1ea1 No osfcn.h available on linux 2012-03-11 23:48:57 +00:00
Peter Howkins
a4442878a1 Add in wctype.h for widechars 2012-03-11 23:47:21 +00:00
Peter Howkins
b672c0782a Bodgy support around including X11/Xos_r.h
Undefine index and rindex first to prevent clashes with tt funcs.

Should be fixed by namespacing local funcs
2012-03-11 23:44:52 +00:00
Peter Howkins
c3dc5b47a1 -fpermissive to allos GCC to compile old C++ 2012-03-11 23:40:39 +00:00
Peter Howkins
5948300301 On Linux initialise tt_strings as () rather than (NULL) 2012-03-11 23:38:55 +00:00
Peter Howkins
b195aa51c8 -fpermissive to allow GCC to compile old C++ 2012-03-11 23:34:37 +00:00
Peter Howkins
7d5d17251d -fpermissive to allow gcc to compile old C++ 2012-03-11 23:33:09 +00:00
Peter Howkins
233ae141c1 -fpermissive to allow gcc to compile old C++ 2012-03-11 23:32:08 +00:00
Peter Howkins
42b737ba2a On linux it seems that _XTyname() only takes one argument, no buffer required. 2012-03-11 19:12:51 +00:00
Peter Howkins
b89d6294c6 Add in -fpermissive to handle old pre standard C++ 2012-03-11 19:00:31 +00:00
Peter Howkins
d0dc9dbe86 On linux no generic.h available, and can use the C++ style delete array 2012-03-11 18:16:10 +00:00
Peter Howkins
67affa6f31 Add linux to list of platforms that are object to those definitions 2012-03-11 18:15:12 +00:00
Peter Howkins
c5e2bbdd1e Bodgy fix to not being able to find RADIXCHAR define, use '.' instead.
Come back to this later.
2012-03-11 18:08:03 +00:00
Peter Howkins
b985680de6 Do not re-prototype strdup() 2012-03-11 18:04:30 +00:00
Peter Howkins
94eb7100d3 Do not re-prototype strdup() 2012-03-11 18:02:24 +00:00
Peter Howkins
1483f41a69 Due to glibc not have a 'constant' stderr reference, on linux set the error
reporting var at runtime.
2012-03-11 17:46:01 +00:00
Peter Howkins
2d1fd47470 On Linux do not re prototype strdup() 2012-03-11 17:33:41 +00:00
Peter Howkins
56683a700b Add in extra args required for open() on Linux 2012-03-11 16:33:18 +00:00
Peter Howkins
f4a6262757 Also use internal __fds_bits instead of fds_bits 2012-03-11 16:17:39 +00:00
Peter Howkins
034813b328 On linux do not prototype strdup() 2012-03-11 16:16:00 +00:00
Peter Howkins
b2b6d0d386 Undefine SVR4 whilst including #include <X11/Xos_r.h> to prevent sys/byteorder.h
missing header error.
2012-03-11 16:14:04 +00:00
Peter Howkins
bcfc468cdc Use internal __fds_bit variable on Linux, this doesn't seem great. 2012-03-11 16:05:20 +00:00
Peter Howkins
6f6dbbb73b Add a default empty LinuxMachineDefines to the linux conf, makes imake (and many others compile) 2012-03-11 16:00:15 +00:00
Peter Howkins
10b463d278 Add in exctra freetype include directory 2012-03-11 15:56:24 +00:00
Peter Howkins
546683e176 GCC no longer supports <varargs.h>, change to <stdarg.h> 2012-03-11 14:21:26 +00:00
Peter Howkins
c884521619 Add GNU LGPL headers to all .c .C and .h files 2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa Initial import of the CDE 2.1.30 sources from the Open Group. 2012-03-10 18:21:40 +00:00