Commit Graph

80 Commits

Author SHA1 Message Date
wiz
3fdf88b87a Revert previous: tsutsui noted that this file is for X11R6.
The one for X11R7 already had HAVE_OPENPTY defined.
2012-07-12 12:43:06 +00:00
wiz
8b21675839 Define HAS_OPENPTY in CPPFLAGS (since this Makefile doesn't use a config.h). 2012-07-12 10:14:04 +00:00
mbalmer
a5ce577b9d Build the updates ssh-askpass program and add the man page to the xbase set. 2011-04-03 13:29:45 +00:00
tsutsui
5668b16a99 Disable USE_PAM on ports which have legacy non-XFree86 servers.
With this change, xinit(1) can properly quit Xserver after
xinitrc script exits.

Tested on dreamcast (-current) and hpcmips (netbsd-5).
2010-10-10 07:03:28 +00:00
mrg
1314a37a1f fix the dependancy list for this. 2010-03-22 00:23:59 +00:00
roy
33d71c82dc Use correct lib 2010-02-04 12:54:55 +00:00
roy
98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
christos
467f2a18c1 turn on paste64. 2009-02-20 16:06:59 +00:00
abs
328961279a Convert more MACHINE tests to MACHINE_ARCH so it is more obvious what
could be sharable per MACHINE_ARCH. Again another selection of mixed
amd64/x86_64 tests cleaned up, including one file which was testing
MACHINE for both!
2009-02-14 13:48:16 +00:00
apb
f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
lukem
d0c116a1ef Implement bin/rgb/rgb_mkdb.sh to build rgb.db using awk(1) and db(1).
Remove tools/rgb; the code isn't portable enough (relies upon <ndbm.h>)

Tested on NetBSD 3.1 and Fedora Core 8
(XXX: although the generated .db file has the correct contents on FC8,
it's also 161MiB instead of 64KiB. I think this is a problem in the
build of the db routines in tools/compat, and we'll need to debug
separately.).

Fixes cross-build fallout from PR 36836
2008-09-05 05:20:39 +00:00
lukem
4beacee691 Cleanup DB scratch files.
MAKEVERBOSE love
2008-09-02 01:39:19 +00:00
rtr
6c4b42c91b - move build of showrgb to x11/bin/showrgb
- build and install rgb to destdir
- use host rgb to generate rgb.db database at build time and install it
- fix set list for above

should resolve pr/36836
2008-09-01 10:37:19 +00:00
ghen
551ca764ea Add X11 support for the Colemak keyboard layout, see http://colemak.com
(it's been included in upstream X.org, too).
2008-05-21 17:09:29 +00:00
lukem
66176dfdff Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)
2008-05-03 14:48:30 +00:00
ad
2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
lukem
dd397e577e Apply variation of fix supplied by Havard Eidnes <he@NetBSD.org>
in PR 24020 on 2007/07/30.
Seems to work for me.
2007-09-17 04:51:04 +00:00
matt
77f975f0e9 Force connection.c to be compiled with -O2 on VAX. 2007-04-21 00:41:19 +00:00
xtraeme
63250365b3 PR misc/26923 sent by Kouichirou Hiratsuka "xterm does not support luit".
Patch applied, thanks.
2006-09-24 07:59:59 +00:00
dbj
8500662e28 rename 2 installed files in xsrc which may have case conflicts in $DESTDIR
/usr/X11R6/bin/xdmx -> /usr/X11R6/bin/dmx
 /usr/X11R6/include/X11/bitmaps/Stipple -> /usr/X11R6/include/X11/bitmaps/Stippler
2006-09-11 22:28:33 +00:00
christos
174556b791 Add setusercontext handling (from Patrick Welche) 2005-12-20 21:30:19 +00:00
he
4c3432768b Convert to using PAM_STATIC_LDADD / PAM_STATIC_DPADD instead of directly
listing the needed libraries.
2005-05-09 16:15:48 +00:00
he
b18483500c For PAM, add -lrpcsvc -lutil -lcrypt to LDADD, and also add in missing
DPADD line.  Fixes build problem for evbsh5 which does static linking only.
2005-05-08 17:47:13 +00:00
rtr
1603c2c13e The last of the changes for missing files in i386 vs xsrc.
+ build libafb for i386 (like xsrc does)
+ hook getconfig into the build
+ add new input driver acecad
+ add new xkb symbols
+ add new font encodings

It should be safe to update the set lists for i386 now.
2005-03-23 01:00:32 +00:00
christos
cc19f24e9f Adjust for the latest XFree86 import. Code now compiles, but libraries
might be incomplete and sets are definitely still broken.
2005-03-19 21:41:58 +00:00
christos
7bceae4b09 do the pam dance. 2005-03-02 01:06:15 +00:00
christos
263bcf1fc7 Add pam hooks. 2005-02-24 14:47:38 +00:00
lukem
3232b96e25 Repeat after me:
1. test before commit
	2. src/ != pkgsrc/

We test MK* and USE_* variables  against "no", not YES.  E.g,
	.if (${USE_PAM} != "no")
2005-01-06 00:45:42 +00:00
manu
0a17789d0d Enable PAM support if USE_PAM is set 2005-01-05 20:19:52 +00:00
jmc
a9a7fc8f81 Always set -DXFREE86 since all it does is add XFree86 as a possible X server to
the stderr list if exec fails for X. This allows xinit to be shared
across MACHINE_ARCH for mipseb and powerpc now
2004-12-08 05:34:50 +00:00
skrll
9fc7f0ee07 Add in VT switching support for NetBSD/cats. 2004-11-29 16:49:18 +00:00
jschauma
297b6b1873 Use NetBSD logo pixmaps in reachover, too. 2004-11-16 14:42:19 +00:00
christos
4216dabbd0 We need libutil now that openpty is used. 2004-11-10 03:21:02 +00:00
lukem
fed2131043 Install the following as executable scripts:
GiveConsole TakeConsole Xsetup_0 Xsession Xwilling
Should fix issue raised by Ian P. Thomas on <netbsd-users>.
2004-08-19 01:30:33 +00:00
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