Commit Graph

416 Commits

Author SHA1 Message Date
tron
0c7e4628ee Process GL manual pages with tbl(1). This fixes PR xsrc/29662 by
Tim Rightnour.
2005-03-12 16:01:50 +00:00
christos
7bceae4b09 do the pam dance. 2005-03-02 01:06:15 +00:00
christos
7a46d959f1 The only file that needs to be compiled with -DUSE_PAM is utils.c 2005-02-24 14:54:02 +00:00
christos
c0f3158a18 Add PAM hooks.
XXX: It would be nice if the specific Xservers did not trash
LDADD, so that we could use LDADD += instead of LDADD.os +=
2005-02-24 14:53:15 +00:00
christos
263bcf1fc7 Add pam hooks. 2005-02-24 14:47:38 +00:00
ws
056bceceaa On x86_64, drop use of mmap for the Xserver's own dynamic linker, because:
1. we don't use it on any other port, and
2. it's the sole reason which prevents us from upping the data limit.
2005-02-10 10:39:25 +00:00
rtr
572ebc41a9 + add riva128 submodule patch from Dieter Roelants
+ add riva128.o submodule to md set lists
  should resolve pr#28808
2005-01-21 08:33:11 +00:00
rtr
8c050b7c06 + cleanup removal of -DUSE_NBSD_THREADLIB usage 2005-01-21 05:15:36 +00:00
tsutsui
5ba33512a0 Add ${X11FLAGS.OS_DEFINES} and ${X11FLAGS.EXTENSION} to CPPFLAGS
since xsrc/xfree/xc/programs/Xserver/hw/sun/Imakefile has
$(OS_DEFINES) and $(EXT_DEFINES) in its DEFINES. (untested)
2005-01-19 13:13:43 +00:00
fredb
ca4e569ac8 Remove some redundant assignments. 2005-01-09 21:45:53 +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
nathanw
e676b6dd3c Call the module wsfb_drv, not wsfb, since that's what a vanilla imake
build of xfree would do.
Build the man page.
2004-11-14 02:47:26 +00:00
nathanw
ba1f693b99 Build wsfb. 2004-11-11 20:05:23 +00:00
nathanw
dbd2260f9f Makefile for wsfb reachover. 2004-11-11 20:04:17 +00:00
christos
4216dabbd0 We need libutil now that openpty is used. 2004-11-10 03:21:02 +00:00
rtr
289fb36901 add missing source to deal w/ unresolved symbols 2004-10-13 09:35:41 +00:00
rtr
27badcc1bf + the new files required for the libshadow/liblayer modules 2004-10-07 13:49:24 +00:00
rtr
84a7b90f12 + apply some patches as provided by Nicolas Joly to finish libshadow.a
+ finish liblayer.a -> finishes miext

should resolve pr#27156
2004-10-07 13:47:13 +00:00
rtr
42dc449815 + add arch specific flags for ati driver should resolve pr#25918
XXX
This pr remains in feedback because I never did get confirmation that
this change resolved the problem.  People are free to test it and if
desired request a pull up to 2.0 branch.  I will not be requesting the
pullup.
2004-09-18 06:49:27 +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
lukem
b8d2105c21 Need to prefix relative directories with `${.CURDIR}/' so that
objdir builds in the src tree (i.e, without MAKEOBJDIR{,PREFIX}) work.
2004-08-05 01:28:47 +00:00
lukem
c36b0cda5a Cache .OBJDIRS of LIBDPLIBS commonly used in SUBDIRs,
to speed up recursive makes from this directory (or above).

Note: this uses MAKEOVERRIDES, and may need special treatment
for host platforms that have limits in this area.
2004-08-04 11:10:19 +00:00
lukem
64a063e68b The do-lib-XXX BUILDTARGETS are obsolete now that we use LIBDPLIBS in
lib/**/Makefile.
(We still need to use .WAIT in lib/Makefile to enforce the subdir
dependency ordering.)
2004-08-04 09:38:56 +00:00
lukem
f4b86cdac7 Convert from DPADD/LDADD to LIBDPLIBS (from bsd.lib.mk), which allows
libraries to be linked at other libraries that have been built but
not yet installed.
2004-08-04 08:37:04 +00:00
uch
1c6a48e6b6 newsmips X server configurations. 2004-08-01 18:52:03 +00:00
sketch
8ed1467c3c Remove duplicate .PATH definition. 2004-07-23 16:28:18 +00:00
sekiya
e4c49c37de Build lib*_pic.a only for loadable modules on dlopen() targets. 2004-07-14 13:34:13 +00:00
agc
261a705deb Don't install *_pic.a libraries in DESTDIR for non-MIPS architectures. 2004-07-14 09:44:26 +00:00
lukem
730b098c45 Add the .c and .h files generated from *.psw to DPSRCS.
Add -I. to CPPFLAGS.

This should fix a build problem highlighted by rtr@ in private mail.
2004-07-13 16:15:28 +00:00
sekiya
0a541ba0ea Enable "loadable module" dlopen() scheme. Necessary to crossbuild the XFree86
server on platforms that are not supported by the Metrolink module loader
(i.e., MIPS).

Enabled for sgimips in bsd.x11.mk.
2004-07-13 09:29:45 +00:00
uch
f3970e5667 make Xdreamcast compile again. (work fine.) 2004-07-06 13:41:13 +00:00
lukem
0a3a939b03 Relocate X68kConfig from X11LIBDIR to X11ETCDIR 2004-06-13 11:47:41 +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
64ac75227d Use ${X11ETCDIR} instead of /usr/X11R6/lib/X11 for the location of XF86Config. 2004-05-17 23:50:09 +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
he
dedc7522a7 Drop optmization to -O0 for sh5 for one file to work around an
internal compiler error.
2004-05-14 07:21:24 +00:00
he
7cf5573a11 Drop optmization to -O0 for sh5 for one file to work around an
internal compiler error.
2004-05-13 22:32:47 +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
aadb133a30 BYTE_ORDER is handled by Xarch.h 2004-05-13 09:31:11 +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
ee4b534db0 more stuff to deal with. (maybe rtr feels enthusiastic? (hint hint :)) 2004-04-29 06:08:34 +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
0a6b839847 Install VeraIt.ttf, per PR [xsrc/25373] from FUKAUMI Naoki.
Sort xfont/mi, and cleanup whitespace.
2004-04-29 03:23:44 +00:00
lukem
e2d2459f58 Define XDMCP_NO_IPV6 along with XDMCP, as per the "native" XFree86 4.4 build. 2004-04-29 02:14:52 +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
mhitch
e52720514e The Xprt build needs cfb, and the vax Xserver will soon need the cfb stuff,
so enable building cfb.  Fixes Xprt build failure on vax when building
from src/x11.
2004-04-23 06:23:42 +00:00
mhitch
46aadbda46 XINPUT is also needed by vax. 2004-04-23 05:56:47 +00:00
mrg
d9fb13565a only -D_PC on i386/amd64. from PR#25036. 2004-04-17 06:47:04 +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
drochner
2405f1e72b while there is no pcvt on amd64, wscons emulates it, and xfree86
doesn't like a wscons which doesn't emulate anything, so we have
to use PCVT_SUPPORT to make VT switching work
2004-04-15 15:15:11 +00:00
drochner
dad2483208 whitespace cleanup 2004-04-15 14:55:26 +00:00
drochner
815a909f67 create an .OBJDIR to make it build on a read-only source tree 2004-04-15 14:54:32 +00:00
drochner
403f84395e pass -export-dynamic to the linker, otherwise the dlopen() loader is
pointless
2004-04-15 14:53:40 +00:00
drochner
5f373dba65 use mmap() on amd64 to activate the loader.c hack 2004-04-15 14:52:03 +00:00
lukem
ff5f1b28ec convert from (cd ${foo} && ${MAKE} bar) to ${MAKEDIRTARGET} foo bar 2004-04-13 12:50:34 +00:00
dbj
6eaa37b67d add -DDARWIN_NO_CARBON to HOST_CPPFLAGS so that cross build on macos
will not attempt to use mac specific resource fork font support.
2004-04-12 15:41:27 +00:00
dbj
323c238021 remove DPADD=${LIBZ}, since a host tool should not depend on /usr/lib/libz.a
even if it is using the system libz
2004-04-12 03:11:00 +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
lukem
18923ab6c1 Add -DUSE_X86_ASM -I${X11SRCDIR.xc}/extras/Mesa/src/X86
to the global CPPFLAGS when building on i386.  Fix from Hubert Feyrer.
2004-04-05 12:01:42 +00:00
lukem
9e2ca4378e Add -I${X11SRCDIR.xc}/extras/expat/lib to CPPFLAGS.
Should fix problem Hubert Feyrer was experiencing.
2004-04-04 00:20:45 +00:00
jdc
0b6352e327 Xfree68 server code. Brought over from Xfree 3.
XXX: This does not compile and some extra code needs to be brought across.
2004-03-28 15:31:32 +00:00
jdc
e7d8e3d1a1 Add XFree68 directories. 2004-03-28 15:28:24 +00:00
chris
5d5ac9781d When using dynamic module loading on arm, we need to link in libarm. This
is so we can find icache sync functions.
2004-03-28 15:19:30 +00:00
jdc
abd1c81ab7 Add iplan libraries. 2004-03-28 14:30:38 +00:00
jdc
55817e09ea Add iplan sub-directories. 2004-03-28 14:24:38 +00:00
jdc
3f72c9ae4c Interleaved plane framebuffer support. 2004-03-28 14:06:26 +00:00
soren
7b58653939 PR misc/24247: Remove duplicate ${LIBI386}. 2004-03-27 15:30:03 +00:00
soren
ca9b535c66 PR misc/24247: Fix typo. 2004-03-27 15:27:01 +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
5284eba6e3 + set correct XKB_RULES_DIR path
should resolve pr#24815
2004-03-17 23:19:48 +00:00
perry
1743443686 Add a compile flag, MKTTINTERP, that turns on the bytecode interpreter
when it is set to yes (typically in /etc/mk.conf)

The freetype bytecode interpreter is not on by default because it is
patented in some jurisdictions.
2004-03-17 23:15:30 +00:00
kleink
80b12afa54 Don't override MLINKS for Xsun24; append to it. 2004-03-17 00:18:57 +00:00
matt
3cce4563ce Don't build as fontmodules or install if X11FLAGS.LOADABLE is empty. 2004-03-16 17:40:53 +00:00
rtr
542451dd14 use native libz
patch from Krister Walfridsson via pr#24783
2004-03-15 00:39:31 +00:00
wiz
4fdf521f76 It's extension, not extention. From Miod Vallat (miod at online fr). 2004-03-14 20:11:24 +00:00
matt
2781c357ae Only build newport on sgimips. 2004-03-14 17:01:10 +00:00
matt
9c9d9ff61c Bump XF86 version to 4.4.0 2004-03-14 17:00:30 +00:00
jdc
b79da97fe9 Split Xsun servers so that we can build:
Xsun, XsunMono, Xsun24	on sparc, sparc64
  Xsun, XsunMono		on sun3
2004-03-14 08:08:45 +00:00
matt
63acca1d77 Split drivers between obviously i386-only drivers and not
macppc/sgimips drivers.
2004-03-14 07:26:58 +00:00
rtr
00c7d78b79 + hardcode_libdir_flag_spec="-Wl,-rpath,${X11USRLIBDIR}" - for both *-config
scripts
+ FONTCONFIG_LIBS="-L${X11USRLIBDIR} -lfontconfig" for xft-config

patch from Kouichirou Hiratsuka should resolve pr#24751
2004-03-12 03:59:42 +00:00
rtr
020fb098d7 freetype/Makefile
+ substitute @hardcode_libdir_flag_spec@ with -Wl,-rpath,/usr/X11R6/lib
  + substitute @LIBZ@ with -lz
fontconfig/Makefile
  + substitute @hardcode_libdir_flag_spec@ with -Wl,-rpath,/usr/X11R6/lib

should resolve pr#24747

XXX native built xf 4.4 may suffer from the same problem
2004-03-11 16:13:30 +00:00
rtr
619cc8125d + apply patch from Tom Ivar Helbekkmo (pr24735)
+ add other missing files in addition to patch

should resolve pr#24735
2004-03-11 01:09:35 +00:00
rtr
f52be06c26 Update reachover to build XSUN for sun3 2004-03-10 16:21:16 +00:00
drochner
ee69168070 another try:
-rename the fonts.dir/fonts.scale targets to avoid collision with
 regular files
-allow the rule for "fonts.scale" to be overridden, and do so in
 the Speedo Makefile
2004-03-09 16:30:55 +00:00
rtr
5418651088 Specifically site Speedo as being the only fonts that use a static in-tree
fonts.scale.
2004-03-09 13:25:49 +00:00
drochner
4d1b5ab334 make sure the encodings.dir file is copied over after the
mkfontscale runs, should fix flist mismatch reported by
cgd, kilbi, smb and Jukka Salmi
2004-03-09 11:41:19 +00:00
cgd
5da885fa08 split cleaning: clean .tmp files via CLEANFILES ("make clean"), and
clean ${BDFFILES} and ${PCFFILES} via separate rm -f's during "make
cleandir."  The need to split these into separate rm's comes from the
fact that some cross-compilation host systems can't deal with the
>128kB arg list that a single 'rm' of all these things would cause.
The desire to clean the actual generated fonts only in 'cleandir' came
from lukem during review.
2004-03-08 22:33:00 +00:00
drochner
333cf60a0a mkfontscale must be run before mkfontdir
(can't modern mkfontdir do both at once???)
2004-03-08 09:30:09 +00:00
rtr
4945dfe3ca remove commented out directives not needed 2004-03-07 13:50:25 +00:00
rtr
e1152a4b9b oops missed bump to 1.1 2004-03-06 15:32:33 +00:00
rtr
a0b49b5989 + remove DDB from COPTS (oops)
+ add radeon reachover (doesn't build, so commented out in drm/Makefile
  SUBDIR).
2004-03-06 11:44:41 +00:00