Commit Graph

454 Commits

Author SHA1 Message Date
bjh21 fde4cf0a9d NetBSD.cf unconditionally turns on XKB_ALWAYS_USES_SOFT_REPEAT. Do the same
here so that auto-repeat works in, e.g., Xsun.  This should solve
PR port-sparc/28908.
2005-05-20 12:53:22 +00:00
martin bc2f09f761 Add the assembler files. 2005-05-15 19:32:21 +00:00
martin 4f8a6aa79a We need ${X11FLAGS.EXTENSION} here, because it carries what xsrc calls
GlxExtraDefines - and those are very important on 64 bit archs at least
(-D__GLX_ALIGN64)
2005-05-14 19:27:56 +00:00
jmc f0bd734d23 Need a .WAIT before going into bin 2005-05-09 20:02:21 +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 a95064d0f6 For PAM, add the rpcsvc, util, and crypt libraries. Fixes build problem
for ports doing static linking, such as evbsh5.
2005-05-08 19:21:01 +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
martin f16b608ac7 Do not create a X symlink for Xsun on sparc64 - this overwrites the
symlink we already created for XFree86.
2005-05-06 22:55:09 +00:00
martin 5a8e44133b Build the xf8_32wid module on sparc64. 2005-05-06 22:54:06 +00:00
macallan 93548a84e7 added missing files cg6_cursor.c, cg6_accel.c and missing include path for xaa 2005-05-03 20:52:50 +00:00
tron d1aaf206df We don't need to link hardware independent X11 servers with the "i386"
library under NetBSD-i386.
2005-04-09 18:00:01 +00:00
tron 095cd4d0fa NetBSD-vax needs the "fb" library to build the "Xdmx" server. 2005-04-05 14:04:55 +00:00
martin 216c7eb47d Add atimisc, r128 and radeon modules to the sparc64 build 2005-04-03 16:04:30 +00:00
minoura 38b3ea7295 fb is required to build successfully on x68k. 2005-03-28 13:05:03 +00:00
martin cadae0e841 Now that I found out the right conditionals, handle DRI for this driver. 2005-03-26 10:22:27 +00:00
rtr c6b047ea8b + do not install getconfig 2005-03-24 05:27:18 +00:00
rtr 739e0b7a2b + fix up the rest of the reachover to build XFree86 for sparc64 2005-03-24 05:24:20 +00:00
martin 858199a6b7 Adapt recent changes to the sparc64 configuration from xsrc:
Build XFree86 server and add all sun* framebuffer drivers.
2005-03-23 11:09:58 +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
rtr b519187821 + install DMX manpages
XXX we install manpages from all over the place, after things are pulled
    up to the netbsd-3 branch we would be doing well to re-organize.  I
    would do it now but we already have enough things to pullup/keep track of
2005-03-22 22:34:24 +00:00
rtr 80843b35d1 + getconfig scripts and configs 2005-03-22 21:43:24 +00:00
rtr 247dcd3422 + update .PATH for sparc clip.S
+ enable MIEXT_* by default since it is required by Xdmx and all archs
  build it

This makes -m sparc build src/x11
2005-03-22 19:47:59 +00:00
tron b3f8122938 Include missing source files in X11 server module build. This fixes e.g.
crashed when running Mozilla. Thanks to Steve Woodford for analyzing this
and sending me a patch.
2005-03-22 15:00:37 +00:00
rtr 697d48d199 + libdmx dso
+ dmx example utils
2005-03-22 04:18:48 +00:00
tron 4e82d87220 Remove obsolete definition for "codeconv" modules which no longer exist. 2005-03-21 14:38:48 +00:00
tron 5313df498e Backout last change, "-fno-strict-aliasing" is now enable via "bsd.x11.mk". 2005-03-21 14:11:00 +00:00
tron 1d12c069e3 Compile this library with "-fno-strict-aliasing" to fix PR xsrc/29743
for the reachover build.
2005-03-21 13:55:25 +00:00
tron 2fd9f219f6 Remove broken "MLINKS" assignment. 2005-03-21 13:16:34 +00:00
tron 95b5dcbdd0 The minor version of this library was bumped. 2005-03-21 09:03:12 +00:00
rtr 4bce42ca29 + build and install the libxtt.a module
+ remove obsolete xtt modules
2005-03-21 01:26:02 +00:00
rtr a15a1d2d27 add missing freetype headers 2005-03-21 00:55:04 +00:00
rtr f5c509d2f2 + add missing source files for dmx
+ add bits to turn on building of Xdmx
2005-03-21 00:49:17 +00:00
rtr 73a83dc1c1 Xdmx server 2005-03-21 00:19:19 +00:00
rtr 04dbca463d add dmx headers 2005-03-20 23:58:11 +00:00
rtr 54561084d0 add missing source files 2005-03-20 23:52:05 +00:00
lukem 09f1052592 Revert previous; it's unnecessary in light of Christos' fix to
pswfile.c rev 1.2.  It also may have a  make -j  race.

Explicitly use  -f ${.TARGET:.c=.h}  in .psw.c; it can't hurt and
it mirrors what XFree86 does.
2005-03-20 23:49:06 +00:00
rtr 5f073846f4 pswrap tool usage change 2005-03-20 23:11:19 +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
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