Commit Graph

46 Commits

Author SHA1 Message Date
christos e3bc441d7b Don't install xterm setuid anymore:
- pty ownership is handled by ptm(4)
- utmp updating is handled by utmp_update(8)
2004-06-09 20:37:41 +00:00
lukem b817247988 Use MKPRIVATELIB=yes instead of providing an empty libinstall:: target and
setting NOLINT, NOPIC, NOPROFILE (etc)
2004-05-23 02:24:50 +00:00
lukem 10cfcae8fc Radically overhaul X11 configuration:
*	End user modifiable configuration has moved from
		/usr/X11R6/lib/X11/<someprog>
	to
		/etc/X11/<someprog>
	This is consistent with our own policies as well as other projects.

	The files & directories that were moved have _NOT_ been marked
	`obsolete', as they contain user configuration and therefore we
	don't want the automatic "obsolete file removal" mechanism to
	remove them.

    *	The /etc/font/* and /etc/X11/* configuration files are installed
	with 'configinstall' (not 'install'), using CONFIGFILES and
	CONFIGSYMLINKS.
	This is so that a normal 'make build' in src/x11 will not
	trash your configuration.

    *	A 'distribution' target has been added to src/x11 to perform
	'make configinstall' in the appropriate subdirectories.
	(Should we consider making 'configinstall' a first-class target?)

    * 	The xdm pixmaps have have been moved to /usr/X11R6/include/X11/pixmaps
	where the other pixmaps are.
	(I don't consider these pictures end-user configuration).


IMPORTANT NOTE:

    *	These changes require an up to date xsrc, and 'make cleandir' should
	be performed in src/x11 before a build for the changes to fully take
	effect.
2004-05-16 10:25:13 +00:00
mhitch 64c96922cf Now that the missing libm functions are available on the vax, build
glxgears and glxinfo.  This will fix the checkflist failure on the vax
build.
2004-05-13 21:10:36 +00:00
lukem 7c51496531 Use /var/db/xdm (instead of /usr/X11R6/lib/X11/xdm) as the default authDir. 2004-05-12 03:58:47 +00:00
lukem 7e0102df65 Add some #defines missed in the upgrade to XFree86 4.4.x 2004-04-29 05:58:54 +00:00
lukem d2df9b79b4 Sync to changes made in XFree86 4.4 and add -DXFREE86_FT2 appropriately. 2004-04-29 05:18:25 +00:00
lukem 7497e851b4 Add -DARC4_RANDOM to the global CPPFLAGS and X11EXTRAMANDEFS.
Remove -DDEV_RANDOM, since ARC4_RANDOM takes precedence anyway.
2004-04-29 01:30:17 +00:00
lukem 8a1597d78b Fix up botches in X userland from upgrade from XFree86 4.3.0 -> 4.4.0.
(All paths are relative to usr/X11R6)

* Obsolete:
	bin/fontconfig-config

* Add directories:
	lib/X11/locale/zh_CN.UTF-8
	lib/X11/xkb/geometry/ibm

* Rename include/freetype2/ft2build.h to include/ft2build.h and obsolete former

* Add files:
	fonttosfnt(1) program & man page
	include/expat.h
	lib/X11/app-defaults/XClock-color
	lib/X11/fonts/TTF/Vera*.ttf
	some font encodings
	zn_CN.UTF-8 locale
	some font encodings
	various xkb config files
	lib/X11/xedit/lisp/progmodes/patch.lsp
	Xfontcache(3) and various links
	XDGA(3) and various links
	XRes(3) and various links
	Xss(3) and various XScreenSaver*(3) links

* Add some more TODO items

* Clean up lib/expat build now that the version is hard coded.
2004-04-28 14:17:55 +00:00
mrg b358d09aa4 - -DXFREE86 if we build an XFree86 server.
- use /dev/urandom & hexdump to generate cookies.

mostly as-is from PR#25239.

XXX  the #ifdef XFREE86 line in xinit.c is simply for an error message to
XXX  include the text "XFree86     XFree86 displays" in an array of char *,
XXX  that is used to display an error message.  i think nearly all the
XXX  netbsd servers need to optionally be added to this list....
2004-04-24 03:42:07 +00:00
rtr 3c42c3d0f0 -DHAS_MKSTEMP for auth.c to enable mkstemp()
patch from Nicolas Joly

Should resolve pr#25199
2004-04-16 12:58:06 +00:00
mrg 9a6b10ea6b mirror change in Imakefiles: provide DEFAULTVT=vt05 for amd64 as well. 2004-04-05 12:21:04 +00:00
lukem f6c0266f4d Add -I${X11SRCDIR.xc}/lib/xtrans, -I${X11SRCDIR.xc}/lib/GL/glx, (etc)
as appropriate.
Based on fix from Hubert Feyrer, cross-checked with the native Imakefiles.
2004-04-05 12:03:25 +00:00
fredb 158d2f19f3 Enable IPv6 in XFree86 4.4.0 reachover build. Usage is describe
in "/usr/X11R6/lib/X11/doc/RELNOTES". Note particularly that "tcp",
as in "X -nolisten tcp" or "xhost +tcp/host:0", now means *both*
IP transport protocols. Use "inet" or "inet6", instead, to specify
only one or the other.

XDMCP support for IPv6 -- such as it is -- is disabled, just as
it is in the native, out-of-the-box build. XDM-AUTHORIZATION-1
does not really support IPv6 addresses, in any case. (It is
possible to build "xdm" with -DIPv6, but that presumes support
for IPv6-mapped IPv4 addresses in the default installation, for
one thing, and there are unexplored issues with all that.)
2004-03-26 21:29:54 +00:00
rtr 628862865b + update reachover bin/* for xf4.4 2004-03-06 03:09:36 +00:00
rtr 0b1ca8966d DEFAULTVT=vt05 to Xservers.ws generation for i386 only (as native does)
XXX should this be given vtXX for other MACHINE's?

should resolve pr#24619
2004-03-01 14:56:51 +00:00
lukem d8b3c89d68 consistently provide a tools/<tool>/Makefile.<tool> for inclusion
wherever the appropriate definitions are used throughout the tree
2004-02-09 04:30:05 +00:00
lukem 3bffc7c9c8 Use
FILES+=			SshAskpass.ad
	FILESNAME_SshAskpass.ad=SshAskpass-default.ad
instead of
	FILES+=			SshAskpass-default.ad
because of an obscure bug with "make -j" where it doesn't find
SshAskpass-default.ad in the .PATH correctly, probably because
of the rule created for it from BUILDSYMLINKS by <bsd.files.mk>.

This is not the correct long-term solution, and is a temporary
workaround for PR 24020.
2004-01-29 01:00:42 +00:00
lukem 9bd8d033a9 Don't bother installing:
./usr/X11R6/lib/X11/etc/sun.termcap
	./usr/X11R6/lib/X11/etc/sun.terminfo
	./usr/X11R6/lib/X11/etc/xterm.termcap
	./usr/X11R6/lib/X11/etc/xterm.terminfo
2004-01-19 00:30:01 +00:00
minoura c173c06b42 Build & install XKB data files for the X680x0 keyboard.
Missing files in the previous.
2004-01-14 13:01:50 +00:00
minoura 786e145c78 Build & install XKB data files for the X680x0 keyboard. 2004-01-14 12:49:09 +00:00
rtr f8c6e245c3 FILES= ldblarrow rdblarrow 2004-01-05 13:08:57 +00:00
rtr 5538078997 LDADD+= -lXext -lX11 since Xfontcache is now shared 2004-01-05 08:22:59 +00:00
lukem b5b40b6c35 Define CHOOSERPATH to /usr/X11R6/libexec/chooser, and use appropriately. 2004-01-02 17:19:51 +00:00
lukem ac0037bc31 Don't bother with local (custom) version of rstartd.cpp; go back to
using server.cpp from the xsrc/xfree dist directory, because I've
modified the latter to allow a separate BINDIR from LIBDIR.
2004-01-02 16:38:14 +00:00
lukem 4c6d23c4a8 Provide custom version of rstartd.cpp that supports a BINDIR
(for rstartd.real) separate to the LIBDIR (for the configuration)
and install rstartd.real into /usr/X11R6/libexec.
(Installing binaries under /usr/X11R6/lib/X11 (which may be a
symlink to /etc/X11) is Bad.0

Override BINDIR after the .include of <bsd.own.mk>, so that rstartd.real
is installed in the correct location.
2004-01-02 16:32:12 +00:00
rtr 9bff69894e Use arc4random in genauth.c 2003-12-20 01:22:39 +00:00
lukem 26be73f2a5 use X11FLAGS.OS_DEFINES 2003-11-17 05:18:20 +00:00
lukem a9c9ec0e6e Support MAKEVERBOSE 2003-11-08 13:57:29 +00:00
lukem 06b22cf0b9 Use '${DESTDIR}${somepathvar}' instead of '${DESTDIR}/${somepathvar}'.
Suggested by Matt Thomas.
2003-09-30 06:41:29 +00:00
lukem 5906faf133 Explicitly add -I/path/to/dist/src so that any yacc-generated .c files
in the .OBJDIR compile correctly.

(Something I changed in the last commit must have broken this.
Or make(1) changed.  Or something else borked.  In any case, it's fixed now.)
2003-09-23 11:04:45 +00:00
lukem e2d7cbd438 Explicitly do the NOLINT/NOPIC/NOPROFILE/libinstall:: dance in each Makefile.
XXX: really need a single knob in bsd.lib.mk to enable this.  we could
use it in many many places in the tree
2003-09-23 11:02:46 +00:00
lukem a57640993c need -lstdc++ -lm for -lGLU.
(even though the latter is linked against the former two, that technique
doesn't help for static programs nor does it appear to work consistently)
2003-09-23 11:01:20 +00:00
lukem 9c437ec754 Change `LNFILES' to `BUILDSYMLINKS', to more accurately describe its purpose.
Per discussion with Simon Gerraty.
2003-09-20 06:20:41 +00:00
lukem 35ad9c6a4a Add more utils from config/*:
ccmakedep cleanlinks gccmakedep makedepend makeg makestrs mergelib
	mkdirhier mkhtmlindex revpath rman

Even though this build doesn't need them, other programs that use
imake (et al) may need them.
2003-09-15 08:31:01 +00:00
lukem bfebf9d8fd don't build glx* on vax until libm has some missing stuff added 2003-09-14 22:33:31 +00:00
lukem 6a44df7639 add ssh-askpass and xsystrace (from xsrc/local/programs) 2003-09-14 06:42:23 +00:00
lukem 37d0fff499 use FILES{,DIR} instead of INCS{,DIR} for bitmaps 2003-09-14 06:36:59 +00:00
lukem 85672e8877 Don't rely upon -lXmuu's internal dependancy upon -lXt -lSM -lICE and
link these explicitly.  Why:
    -	on my main system i get intermittent link errors with ICE and Xt
    	missing various libc symbols with the implicit link of these libs
    -	it also works for static linking
2003-09-13 21:50:50 +00:00
lukem e214d537fb Rework to include <bsd.x11.mk> before all other <bsd.*.mk> _except_
<bsd.own.mk>, as we now set BINDIR,LIBDIR,MANDIR in <bsd.x11.mk>
rather than using a hierarchy of Makefile.inc files just to include
x11/Makefile.inc to get those variables.
2003-09-13 20:17:57 +00:00
lukem b8a9db92ee do not need bsd.own.mk or bsd.x11.mk here 2003-09-13 07:21:52 +00:00
lukem 8db3794467 do not need bsd.own.mk or bsd.x11.mk here 2003-09-13 07:11:36 +00:00
lukem 2854e6f642 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-12 04:43:18 +00:00
lukem fd2c85e985 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-12 02:49:56 +00:00
lukem ad067916f5 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-12 02:39:49 +00:00
lukem 98ad6e84d6 Imakeicide-II: reach-over makefile infrastructure to build XFree86 4.x
(from /usr/xsrc) using bsd-style Makefiles.
Why?
    -	sane cross building
    -	easy builds from read only source
    -	non-root building
    -	imake is evil
nuff said.
2003-09-11 18:37:05 +00:00