Commit Graph

1099 Commits

Author SHA1 Message Date
mrg
700494939e mkfontscale.c demands a PACKAGE_STRING now. set it to "NetBSD tools version" 2015-07-17 06:40:49 +00:00
christos
fc699016d0 remove lint hack. 2015-07-01 15:38:56 +00:00
matt
e0484516f2 Use LIBISPRIVATE, not MKPRIVATELIB 2015-06-27 17:03:30 +00:00
matt
c79b87282c Don't recreate link if clean or cleandir 2015-06-26 02:43:26 +00:00
matt
808507e589 Make this work without a populated X11 include heirarchy. It's ugly
but it works.
2015-06-25 01:38:09 +00:00
matt
589b128fbc Support building the xorg X11 libraries under MKCOMPAT.
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
rjs
550917d61d Build both xf86-video-radeon drivers for amd64 and i386, just build the
old one for other ports.
2015-05-28 14:36:44 +00:00
rjs
b596b9b9be Add xf86-video-intel-old to the build. 2015-05-21 00:12:10 +00:00
mrg
53e5192712 switch the default method to SNA. 2015-05-14 02:43:33 +00:00
mrg
6cbd5bb34d remove unused file; pointed out by Kamil Rytarowski in private email. 2015-05-05 17:03:18 +00:00
mrg
f3e894d0be libxcb-xkb.so has the wrong version, fix it. patch as provided by
Yorick Hardy in PR 49873.
2015-05-04 23:51:25 +00:00
macallan
372b3c16e6 build Loongson-MMI support only on mips64el 2015-05-02 14:54:18 +00:00
snj
b0b43828ad bring back rpath fixup that was lost in revision 1.11 2015-03-12 08:01:45 +00:00
snj
f88c5c4c4b update for freetype 2.5.5 2015-03-12 07:58:04 +00:00
mrg
3abb44d943 fix the previous; it had a reversed test and was also missing bsd.own.mk
before checking MK* values.
2015-03-01 11:19:08 +00:00
mrg
50e581ea01 add build framework to choose between xf86-video-ati 6.x (UMS/KMS)
and 7.x (KMS only), and switch x86 to the latest (KMS only) version.

(if someone can make x86 install both radeon_drv.so.[67] and leave
the default symlink to .7, that would be nice.  renaming it so that
it's easier to choose via xorg.conf is a little more tricky..)
2015-03-01 07:46:04 +00:00
snj
8914368806 don't install X11/Xaw/Print.h and X11/Xaw/PrintSP.h. they haven't been
included upstream since libXaw 1.0.5 (released in 2008) and are useless
in this Xprint-less world.
2015-02-26 04:11:32 +00:00
snj
985294594e update for 1.5.0 2015-02-25 20:01:39 +00:00
jmcneill
889ad2c6eb Build and install Mesa GBM buffer management library (libgbm). 2015-02-23 00:09:30 +00:00
jmcneill
c9ca8f87ce install xcb/xkb.h 2015-02-21 17:17:16 +00:00
snj
af0aff5a20 don't install Xtransdnet.c or Xtransos2.c, which were last part of xtrans
1.2.1.
2015-02-19 20:57:36 +00:00
lneto
bfd43003e4 lua(4): small fixes in kernel Lua
* fixed hex parsing
* restored lua_isnumber
* removed unwanted macros from luaconf.h
* restored <stdarg.h> include in ldebug.c
* removed doubles from unions
* removed unused functions
2015-02-19 04:46:22 +00:00
christos
a230e8e5ec remove LINTFLAGS 2015-02-09 20:41:01 +00:00
christos
cf8359160b - use CPPFLAGS instead of CFLAGS for things that the c-preprocessor handle.
- add LUA_C89_NUMBERS for "long long" and don't depend on _NETBSD_SOURCE
  for defining this.
2015-02-09 16:47:17 +00:00
christos
0f74422800 Packages always build lib first even if it is built as part of the first
pass in the library builds. If we want to change this, we should change it
everywhere.
2015-02-09 16:44:53 +00:00
ryoon
ebab6362c5 In recent freetype2 installation, ft2build.h should be located
under include/freetype2.

This change should fix non pkg-config build that uses freetype2,
for example, pkgsrc/lang/openjdk8.

netbsd-7 has also this problem.
2015-02-09 16:27:29 +00:00
lneto
c4f5e3dda4 lua: fixed LUA_ROOT, LUA_PATH_DEFAULT and LUA_CPATH_DEFAULT
* reverted from r1.8 (mbalmer)
2015-02-04 04:47:57 +00:00
jmcneill
260df337ea libxcb is 1.10 now, fix pkgconfig version xcb.mk 2015-02-03 21:31:31 +00:00
lneto
730082507e lua: updated from 5.3 work3 to 5.3.0
* improved the overall kernel Lua patch; fixed coercion
* updated lua/syslog
* updated luapmf and luasystm Makefiles
2015-02-02 14:03:05 +00:00
lneto
28a92413eb imported Lua 5.3.0 2015-02-02 02:01:06 +00:00
nat
56f278b796 Fixes segfaults and crashing in applications that use libGLU.
Minor version bump.

This commit was approved by wiz@
2015-01-29 22:51:55 +00:00
wiz
cf9e532f07 Fix PKG_CONFIG version after freetype2-2.5.3 import.
From Leonardo Taccari on tech-x11.
2015-01-26 08:47:25 +00:00
snj
2b183af5b6 update for 2.99.917 2015-01-16 21:35:34 +00:00
christos
27f32661d6 no need for the X headers anymore. 2015-01-08 03:47:32 +00:00
joerg
72e6048ca0 Reorganise the way xorg is build. Move build of makestrs into src/tools
as it is needed for the "includes" phase. Make it symlink all necessary
headers in obj to decouple it from "includes" itself, breaking the
dependency cycle. Move the do-x11 target between do-lib and do-build, so
that libraries can get the benefit of build_install (correct .WAIT
behavior) and everything else like "includes" uses the plain SUBDIR
entry in external/mit.
2015-01-07 20:42:01 +00:00
joerg
8fa1a38636 Don't bail out on the broken inline functions that use static variables. 2015-01-05 20:06:06 +00:00
gson
e8e618c179 Test for ${MKDEBUG} using the same construct as in other places, so that
we get consistent behavior when the value is neither "no" nor "yes".
2015-01-05 18:51:10 +00:00
christos
152cf5a6f1 Prevent .y.c from regenerating c files from yacc.
XXX: Why are we compiling glcpp-parse.c both here and in the gallium
subdirectory?
2015-01-05 16:26:48 +00:00
mrg
0e4eb59327 sets.subr:
support machine=<xxx>, machine_arch=<xxx>, machine_cpu=<xxx> tags.

dri7: build Mesa 7 r300_dri.so for x86 platforms.
2015-01-05 03:45:31 +00:00
joerg
f4ce1f311d Make a number of clang warnings non-fatal, too many changes with little
gain.
2015-01-05 01:34:42 +00:00
christos
604eca013c don't regenerate y-> 2015-01-04 01:26:31 +00:00
mrg
fbfbb2ece8 move xorg-server.pc's SDK_REQUIRED_MODULES into the local Makefile. 2014-12-30 22:07:21 +00:00
christos
009d886c38 - consistently install symlinks (like we do for everything else)
- add missing debug libs
2014-12-23 17:50:42 +00:00
christos
931324ada5 - Don't install absolute symlinks
- Add missing debug symlinks
2014-12-23 17:49:59 +00:00
christos
2024ec5d62 we need to handle make includes 2014-12-19 05:21:51 +00:00
christos
9a6d622ac9 - Explain what's going on a bit better
- Fix a conditional
- Don't include bsd.lib.mk if we are not building libraries
  (otherwise we end up with an empty library name that installed
   bogus library files lib.a etc.)
2014-12-19 05:03:30 +00:00
mrg
5de6651586 fix build problem with radeon_*.c files. 2014-12-18 10:08:52 +00:00
mrg
9dbcad6d0b update sets and reachover makefiles for mesa 10.3.5. 2014-12-18 06:24:27 +00:00
mrg
5b7bfa533c switch over to the separate glu sources. 2014-12-16 06:10:12 +00:00
mrg
c85d70d977 delete tools/glsl, is hasn't been used for a while.
move Makefile.glsl into libGL.
2014-12-15 00:20:29 +00:00
mrg
c6ef549192 enable __GLX_ALIGN64 on sparc*. probably more need it.
fixes crashes seen when using newer Mesa libGL.so.
2014-12-08 06:33:26 +00:00
lneto
789f0f4f81 lua(4): fixed Lua stack size 2014-11-30 19:00:46 +00:00
joerg
153b8c97fc Restrict workaround to GCC 4.8 as intended. 2014-11-21 01:11:50 +00:00
jmcneill
54d9119f96 compile xftrender.c to workaround a crash in XftGlyphSpecRender on earm with gcc 4.8.4 2014-11-20 02:00:19 +00:00
tron
cf47292001 Fix build with "USE_SSP" set to "yes". 2014-11-11 11:30:55 +00:00
snj
a8efcf820f a single -DHAVE_GETLINE will suffice. 2014-11-06 18:58:18 +00:00
christos
15a09d9090 adjust to newer sources 2014-11-05 18:01:16 +00:00
prlw1
4d61fdd14f Install fbpict.h
(e.g., new xf86-video-intel assumes it exists if RENDER is defined)
2014-11-05 14:30:00 +00:00
skrll
899022eaca Fix SHLIB_MAJOR to match xorg and fix linking against libxcb-sync which
broke kwin for me.
2014-10-01 09:30:58 +00:00
riastradh
103f4fccb9 Switch default accelmethod back to UXA until we import a stabler SNA. 2014-09-11 17:26:30 +00:00
christos
4e7b74dc34 change to no-deprecated-declarations 2014-08-25 11:48:01 +00:00
apb
4a34c3a382 Fix error in previous. The sed command really wants one long line. 2014-08-25 10:25:53 +00:00
apb
497135b74d Avoid splitting sed programs over multiple lines with
<backslash><newline><indentation>.  Use multiple -e options instead.
2014-08-24 18:27:16 +00:00
christos
cfc621d8dd Depending on whitespace eating behavior is non portable (our make was
not compliant until today -- it ate all whitespace). Fix commands so
that they don't depend on that.
2014-08-24 16:39:21 +00:00
mrg
32b1e939d3 fix the sources list to match the upstream Makefile.am.
fixes problems reported by jdbaker.

XXX: pullup-7.
2014-08-24 06:13:36 +00:00
macallan
feeca9ec0c mention NV_TEST_FOR_KERNEL_DRIVER and explain why it isn't enabled for now 2014-08-13 22:48:15 +00:00
mrg
b7bc265a64 put KMS support under our X11DRI definition. 2014-08-11 08:25:58 +00:00
joerg
83376f9f86 This is unlikely to ever work with LLVM's IAS due to the amount of macro
use. Disable it on ARM.
2014-08-10 19:11:08 +00:00
jmcneill
3d54b5f121 add missing COMPOSITE define 2014-08-10 14:50:21 +00:00
jmcneill
cc873f1290 use CLOCK_MONOTONIC instead of gettimeofday 2014-08-10 14:43:03 +00:00
jmcneill
710ef731ea define HAS_PIXMAN_GLYPHS=1 and HAS_PIXMAN_TRIANGLES=1 as the configure script would do 2014-08-10 14:17:19 +00:00
jmcneill
aa38d0e3ca USE_SSSE3 not USE_SSE3 2014-08-10 14:10:37 +00:00
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
rjs
2e4645adef Link against radeon_libdrm.
Re-enable building kms bits, ok mrg@.
2014-08-04 01:25:23 +00:00
mrg
3b01e49a4e disable KMS for now; it breaks UMS + (old) radeondrm. 2014-07-27 23:24:19 +00:00
mrg
fba17c9a56 enable KMS on x86. 2014-07-26 08:05:15 +00:00
mrg
1d2c654a12 link against libdrm_radeon, from @riastradh 2014-07-26 08:04:54 +00:00
riastradh
5a9462d149 Fix source lists for radeon dri modules. 2014-07-22 18:14:25 +00:00
lneto
e40402f997 imported Lua 5.3 work3 2014-07-20 23:17:27 +00:00
lneto
6953723d32 lua(4): fixed ldblib.c
* for some reason it wasn't added on my last commit
2014-07-19 19:37:31 +00:00
lneto
4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
lneto
7bdc78426d lua(4): added debug library 2014-07-19 17:21:24 +00:00
lneto
5df591ffe3 lua(4): preventing division by zero
* note: we should raise an error instead of return INTMAX_MAX
2014-07-19 17:11:52 +00:00
nakayama
b3a62eb9c7 The placeholder name in fontconfig.pc.in has been changed. 2014-07-16 14:05:04 +00:00
riz
a62a43a0df clang doesn't like -Wno-tautological-undefined-compare, use
-Wno-tautological-compare instead.
2014-07-14 00:22:46 +00:00
martin
d7dd422243 whitespace cleanup 2014-07-13 18:28:13 +00:00
joerg
4a53625b5d Disable more warnings for clang build to deal with xsrc changes. 2014-07-13 16:35:49 +00:00
nakayama
59061db534 Restore package names to PACKAGE_STRING. 2014-07-12 20:31:04 +00:00
mrg
45c10c8efc note about missing HAVE_GCC_VECTOR_EXTENSIONS (only used in test apps). 2014-07-12 04:32:59 +00:00
mrg
700eb93e95 add comments for un-done stuff. 2014-07-11 19:40:52 +00:00
mrg
925e6883dc add new xkb/symbols/eu for xkeyboard-config 2.12. 2014-07-11 19:19:16 +00:00
mrg
3b6b803068 update for xkeyboard-config 2.12. 2014-07-11 19:14:09 +00:00
riastradh
f31abfff58 Update reachover makefiles for MesaLib 7.11.2.
With the new GL shader compiler, glsl-compile is no longer needed as
a tool, but the shader compiler is now duplicated in several
libraries, so (XXX) external/mit/xorg/tools/glsl should be turned
into a proper library that libGL and libmesa can link against.
2014-07-09 20:22:55 +00:00
riastradh
8e2e60345a Update glxinfo/glxgears reachover makefiles for mesa-demos update. 2014-07-08 22:29:12 +00:00
wiz
03f9b192f3 Update default pkgsrc font path references. 2014-06-20 08:08:58 +00:00
mrg
ac641cb906 remove remaining makefile support for GCC < 45 that i found. 2014-06-14 20:49:36 +00:00
wiz
5fcc88689f Also look in new pkgsrc default path, /usr/pkg/share/fonts.
Noted by tsutsui.
2014-06-05 10:45:39 +00:00
riastradh
c1c5dda87a libdrm_intel needs libpciaccess (kinda spuriously, but whatever). 2014-06-03 13:51:52 +00:00
christos
538614fe8f Put back MKLINT=no for now
- unnamed unions [c99]
    - __builtin_offsetof [gcc]
    - typeof [gcc]
2014-04-21 21:57:03 +00:00
rjs
c5389c7a73 The SNA code builds with gcc 4.8 on i386 so enable it again.
ok riastradh@
2014-04-07 17:06:47 +00:00