Commit Graph

366 Commits

Author SHA1 Message Date
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
rtr
2a5927e586 + drm (sub)loadable module
+ mga dri lkm
2004-03-06 11:36:05 +00:00
rtr
473a0a3bea userland part of dri for mga and radeon cards
XXX
	+ common components need to be separated in the future
	+ only mga & radeon provided for now
	+ necessary to rename libmga_drv.so.n.n -> mga_drv.so by hand
	  see dri/Makefile for comment.
2004-03-06 10:30:26 +00:00
rtr
b02cb79e1a + update reachover Xserver/* for xf4.4 2004-03-06 03:31:05 +00:00
rtr
c6d0689a6a + update reachover include/* for xf4.4 2004-03-06 03:14:23 +00:00
rtr
e5713759fc + update reachover share/* for xf4.4 2004-03-06 03:13:06 +00:00
rtr
628862865b + update reachover bin/* for xf4.4 2004-03-06 03:09:36 +00:00
rtr
9db533ef43 + update reachover lib/* for xf4.4
XXX font/Makefile needs to be re-examined, but builds for now.
2004-03-06 03:05:39 +00:00
rtr
61ba4636ab + update reachover host tools for xf4.4 2004-03-06 02:55:20 +00:00
rtr
ba6b26100c + the non-loadable version of libcfb.a needs cfbcmap. 2004-03-04 01:06:57 +00:00
rtr
2b884e11d4 + cfbcmap.c is only for libcfb.a (8)
+ use correct cfbmodule.c's for 8,16,24,32 libcfb respectively.

Resolves (remaining?) problems with xf86cfg.
2004-03-03 16:11:45 +00:00
skrll
5df6f3ecad Correct the defines to mfbbltO.c
xf86cfg can now load libxf1bpp.a
2004-03-03 14:32:53 +00:00
rtr
32fad750c1 + put common CPPFLAGS in one file
+ add -DFONTMODULE -DMODNAME=${LIB} for xtt modules
+ add required include paths for FONTMODULE, MODNAME
Fix as per changes in pr by Kouichirou Hiratsuka

This should resolve pr#24032
2004-03-03 08:38:09 +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
rtr
29dc39116b Always -UDDXTIME we'd get rid of it in source but native needs it. 2004-02-24 15:17:48 +00:00
rtr
e1bbf3c9e0 + pre-build and install libexpat before lib/*
+ link libfontconfig w/ libexpat.

Should resolve pr#24527.
2004-02-23 05:47:47 +00:00
uwe
bf04b0ee5f Enable Xhpc on hpcsh. 2004-02-22 18:30:34 +00:00
rtr
39401ac035 SRCS+= GetTimeInMillis.c for special combinations of XFree86 server is
being built with other servers.
2004-02-21 08:35:28 +00:00
rtr
36f1e88d93 MKMAN=no was there ever a Xmacppc.man? 2004-02-21 08:33:23 +00:00
rtr
12cdb6c3cf move libos.a down in the link line so its version of GetTimeInMillis() is
not the one linked (instead we get the version from libxnest.a and libxvfb.a)
appropriately.
2004-02-21 08:32:34 +00:00
sekiya
6b0d2196d3 Add sgimips as a valid XFree86 server target. 2004-02-21 01:51:43 +00:00
rtr
afb68f3457 compile correct path to 'Cards' file into xf86config
this is into response to (not so)recent post I can't find and should
resolve the described problem i.e. Cards file wasn't found.
2004-02-18 04:59:56 +00:00
chris
f1d5c4b47a Add cross build glue for cats. 2004-02-13 16:56:19 +00:00
mhitch
756f7c1000 Xamiga needs FORCE_SEPARATE_PRIVATE. 2004-02-13 04:49:00 +00:00
lukem
d2b90882d5 generate usr/X11R6/man/whatis.db 2004-02-09 07:59:01 +00:00
lukem
78f3b1bf18 use uname=${BINOWN} gname=${BINGRP} instead of uname=root gname=wheel 2004-02-09 06:52:34 +00:00
lukem
d51a64d931 clean up temporary files 2004-02-09 05:58:24 +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
dfbe2402b8 fix dependency on xf86Build.h, and add some comments 2004-02-09 04:18:24 +00:00
lukem
dfdc761429 more explanation of the requirements 2004-02-09 00:47:16 +00:00
lukem
c3af380567 no need to determine XSERVERINCDIR here 2004-02-09 00:28:25 +00:00
lukem
96457165ec add DPSRCS entry for .h file created with BUILDSYMLINKS 2004-02-09 00:25:05 +00:00
lukem
c874e04b84 * add xf86PciIds.h to DPSRCS to fix parallel make issue
* there's no need to find the .OBJDIR of this directory for includes
  as -I. suffices.
2004-02-08 23:27:38 +00:00
lukem
7c22253779 remove ${STRINGS_FILES} explicitly (${.TARGET} changed) 2004-02-08 22:13:10 +00:00
lukem
0f8e01e903 When building multiple targets with a single series of commands
(e.g, a command builds multiple files), use a timestamp file for
synchronization so that "make -j" doesn't run those commands
multiple times in parallel which could result in data corruption.
2004-02-08 21:57:04 +00:00
lukem
70f9fd7e61 Build makestrs earlier.
This isn't strictly necessary for build requirements, but does serve
to highlight that makestrs & pswrap are both needed early in the build.
2004-02-08 21:53:53 +00:00
lukem
add50bbb4c makestrs is used to generate files for the "includes" path, so it can't
rely upon ${DESTDIR}${X11INCDIR} being populated.
Fixes problem observed using make -j.
2004-02-08 21:52:30 +00:00
lukem
f38d4e7c68 remove stuff rtr did recently 2004-02-08 21:30:47 +00:00
lukem
7571144c87 add TNF copyright. remove unnecessary cruft 2004-02-08 21:25:09 +00:00
rtr
e620708b1d add X -> Xdreamcast default symlink 2004-02-07 12:46:48 +00:00
rtr
0aed830d75 Xdreamcast now builds so turn it on. 2004-02-07 12:28:13 +00:00
rtr
2e1bb1e734 place a seconf libcfb on the link line after libcfb16.a since it refs
libcfb.a symbols.  This lets Xdreamcast build.
2004-02-07 12:27:33 +00:00
rtr
cd87f297eb + Xdreamcast reachover, by default turned off.
+ sorting of various XSERVER_ entries in Makefiles
+ addition of Xpmax Xdreamcast Xmacppc XSERVER_ entries
+ consistent use of != "no" instead of == "yes" changes
2004-02-07 08:30:34 +00:00
lukem
8d125fd0e6 Cache XSERVERLIB determination in Makefile.serverlib rather than
in 111 separate places.  Speeds up empty "cleandir" from 27.17s to 13.75s.
2004-02-07 06:52:04 +00:00
rtr
81ec90969f Re add ${MAKESTRS} and ${GENMATYPES} targets with updated paths into objdir. 2004-02-07 05:47:19 +00:00
lukem
cb53a4d3d5 don't need .PATH here 2004-02-07 05:23:56 +00:00
rtr
ae158be0af move gen_matypes to x11/tools as per discussion with lukem and request
in post http://mail-index.NetBSD.org/tech-x11/2004/02/04/0001.html
2004-02-07 04:19:29 +00:00
rtr
e062d16f1e remove MAKESTRS target 2004-02-07 04:15:33 +00:00
rtr
1655ce4df5 Move host too makestrs to x11/tools as per discussion with lukem and
request in post http://mail-index.NetBSD.org/tech-x11/2004/02/04/0001.html
2004-02-07 04:02:01 +00:00
fredb
4d26570c37 Fix typo. 2004-02-06 16:41:28 +00:00
mrg
261537f309 only build xlibi18n if MKPIC != no. 2004-02-06 14:55:48 +00:00